Ubuntu: Disable laptop touchpad when wacom tablet is plugged?


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.


Create/edit this file

gksudo gedit /etc/udev/rules.d/01-touchpad.rules  

Add this content

ACTION=="remove", SUBSYSTEM=="hid", RUN+="/sbin/modprobe psmouse"  ACTION=="add", SUBSYSTEM=="hid", RUN+="/sbin/rmmod psmouse"   ACTION=="remove", ATTRS{idVendor}=="056a", RUN+="/sbin/modprobe psmouse"  ACTION=="add", ATTRS{idVendor}=="056a", RUN+="/sbin/rmmod psmouse"  

You can find all information here: http://wiki.ubuntuusers.de/Touchpad in the section "Touchpad in Abhängigkeit einer Maus ein- und ausschalten".

Another way to solve the problem making use of phyton-scrips and synclient and examination of the content of mouse file in /proc/bus/input/devices is described here: http://wiki.ubuntuusers.de/Skripte/Touchpad-Verwaltung

Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Next Post »