I attached this script as the one to be executed when mouse is
connected:
#!/bin/sh
mouse=`lsusb | grep Mouse`
if [ "$mouse" != "" ]; then
`synclient TouchpadOff=1`
echo "off" > /tmp/touchpad_status
else
`synclient TouchpadOff=0`
echo "on" > /tmp/touchpad_status
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.
--
Option to turn off touch pad when a mouse is attached
https://bugs.launchpad.net/bugs/92175
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs