Option to turn off touch pad when a mouse is attached
Bug #92175 reported by
Jens Askengren
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gnome-volume-manager |
New
|
Undecided
|
Unassigned | ||
gnome-volume-manager (Ubuntu) |
Won't Fix
|
Wishlist
|
Unassigned |
Bug Description
Binary package hint: gnome-volume-
It would be great if gnome-volume-
Today i'ts possible to specify a command to run when a mouse is plugged in. I use:
synclient TouchpadOff=1
But the touchpad will remain turned off when you remove the mouse.
Changed in gnome-volume-manager: | |
importance: | Undecided → Wishlist |
status: | New → Won't Fix |
To post a comment you must log in.
I attached this script as the one to be executed when mouse is connected:
#!/bin/sh status status
mouse=`lsusb | grep Mouse`
if [ "$mouse" != "" ]; then
`synclient TouchpadOff=1`
echo "off" > /tmp/touchpad_
else
`synclient TouchpadOff=0`
echo "on" > /tmp/touchpad_
fi
File "/tmp/touchpad_ status" is updated only when mouse is connected (either hot or cold plugged).
There is no reaction form this script when mouse is disconnected.
It seems that gnome-volume- manager notices only connections of USB mouse not disconnedctions.