I want to disable automatically the laptop touchpad when I plug in a Wacom CTH-470L graphic tablet. I read here an answer about a touchpad-indicator, but it isn't available to 12.10.
I have also tried the gpointing-device-settings
, but it doesn't provide such an option. Besides, there is a bug with this package regarding setting persistence after reboot.
I'm aware of the «Disable touchpad while typing» feature of the «Mouse and Touchpad» settings, but this is not what I'm looking for.
paste the lines
ACTION=="remove", SUBSYSTEM=="hid", RUN+="/sbin/modprobe psmouse" ACTION=="add", SUBSYSTEM=="hid", RUN+="/sbin/rmmod psmouse"
and save. There must be synclient present in your system, if not, do sudo apt-get install gpointing-device-settings Quoted http://wiki.ubuntuusers.de/Touchpad
– diamy27 Jan 14 '13 at 06:05ACTION=="remove", ATTRS{idVendor}=="056a", RUN+="/sbin/modprobe psmouse" ACTION=="add", ATTRS{idVendor}=="056a", RUN+="/sbin/rmmod psmouse"
since idVendor 056a is for Wacom. If not, replace HID with the aproppriate clue from the output of udevadm command. (you'll have to unplug the tablet first, then enter the udevadm monitor --environment command, and then plug the tablet again in order to get the udev events displayed.) – diamy27 Jan 15 '13 at 15:00ACTION=="remove", ATTRS{idVendor}=="056a", RUN+="synclient touchpadoff=0"
andACTION=="add", ATTRS{idVendor}=="056a", RUN+="synclient touchpadoff=1"
– diamy27 Jan 15 '13 at 15:27