| Author |
Message |
snvv
|
|
Post subject: Automatically switch off touchpad, if a mouse is plugged
Posted: 04.09.2011, 15:03
|
|

Joined: 2010-09-13
Posts: 268
Status: Offline
|
|
In system settings I can find touchpad under lost and found.
Then the problem is when I select "Automatically switch off touchpad, if a mouse is plugged" it does not work.
Usually I use a mouse and that touchpad is very annoying.
Is there an other way to take it off the way when I use the mouse?
Thank you |
|
|
| |
|
|
|
 |
alexk
|
|
Post subject: RE: Automatically switch off touchpad, if a mouse is plugged
Posted: 04.09.2011, 17:54
|
|

Joined: 2010-10-01
Posts: 145
Location: Bay state
Status: Offline
|
|
| I'm not on a laptop currently but I believe some laptops have this as a BIOS option as well. The relevant KDE package for this is kde-config-touchpad, which I assume you're using. There's also tpconfig and gpointing-device-settings. |
|
|
| |
|
|
|
 |
snvv
|
|
Post subject:
Posted: 25.10.2011, 17:00
|
|

Joined: 2010-09-13
Posts: 268
Status: Offline
|
|
I don't have access to bios thanks to HP
But I did managed to "solve" the problem using the following script
Code:
#!/bin/sh
#!/bin/bash
if [ $(synclient -l | grep TouchpadOff | gawk -F '= ' '{ print $2 }') -eq 0 ]; then
synclient TouchpadOff=1
else
synclient TouchpadOff=0
fi
ctrl+shift+spacebar and the mouse goes off and on.
Regards
snvv |
|
|
| |
|
|
|
 |
Lat
|
|
Post subject:
Posted: 03.11.2011, 02:03
|
|

Joined: 2010-09-19
Posts: 145
Status: Offline
|
|
| I thought all laptops had a button to switch off and on the touchpad |
|
|
| |
|
|
|
 |
snvv
|
|
Post subject:
Posted: 04.11.2011, 12:14
|
|

Joined: 2010-09-13
Posts: 268
Status: Offline
|
|
Mine has a "button" on the top left side of touchpad (integrated in touchpad) that does not work.
HP has drivers only for opensuse.
No other distribution utilizes that "key".
Any way ctrl+shift+space bar is quite easy to use. |
|
|
| |
|
|
|
 |
DonKult
|
|
Post subject:
Posted: 04.11.2011, 13:48
|
|
Team Member

Joined: 2010-09-02
Posts: 417
Status: Offline
|
|
|
snvv wrote:
Mine has a "button" on the top left side of touchpad (integrated in touchpad) that does not work.
Does the key generates a keycode? (run 'xev' and press the key to see the info)
Have you choosen the right keyboard (dpkg-reconfigure keyboard-configuration)?
If the key has a keycode you can assign it run your script if you want.
I have to add that i have an Acer which has such a key and sends keycodes but is handled correctly anyway - after choosing the correct keyboard configuration! The more interesting is the wlan-killbutton as it doesn't send keycodes and works, too…
Oh, and if you want it really to work automatically on mouse-plugged in/out have a look at udev and it's rules. It shouldn't be hard to write rules to run your script. |
_________________ MfG. DonKult
"I never make stupid mistakes. Only very, very clever ones." ~ The Doctor
|
| |
|
|
|
 |
detaos
|
|
Post subject:
Posted: 04.11.2011, 18:05
|
|
Team Member

Joined: 2010-08-26
Posts: 165
Location: floating in the ether
Status: Offline
|
|
|
Lat wrote:
I thought all laptops had a button to switch off and on the touchpad
i did too ... then my current laptop showed up ... it does NOT have a button to disable the touchpad. |
_________________ #aptosid-art ftw!
(what would cleary do?)
|
| |
|
|
|
 |
dpt
|
|
Post subject:
Posted: 05.11.2011, 13:38
|
|

Joined: 2010-09-11
Posts: 281
Location: New Delhi
Status: Offline
|
|
Why should one want to disable touchpad of a laptop?
I do not have enable/disable button on ACERs,3 of them including of kids.
Never felt the need. |
_________________ In a lunatic asylum, everyone thinks that he is the doctor.
|
| |
|
|
|
 |
slam
|
|
Post subject:
Posted: 05.11.2011, 16:54
|
|
Team Member

Joined: 1970-01-01
Posts: 606
Location: w3
Status: Offline
|
|
|
|
|
 |
|
|