Linux Touchpad On/Off
synclient Touchpad=0
*Tap on
*Scroll on
*Click on
*Move on
synclient Touchpad=1
*Tap off
*Scroll off
*Click off
*Move off
synclient Touchpad=2
*Tap off
*Scroll off
*Click on
*Move on
Written by Kohei Yamada
Related protips
4 Responses
Nice tip for people who doesn't have other methods (e.g.: DE settings, hardware button). Unfortunately works only with Synaptics touchpads.
Hi, thank you for comment.
However this tweak is only loading synaptics in xorg.conf, almost touchpad will load synaptics even if using other touchpads.
@iberianpig I guess you are correct. I only remember a Dell laptop with an Alps touchpad which didn't seem to work with this. Ended up using another way. However, it seems people have been using synclient for that too: http://askubuntu.com/questions/141479/dell-inspiron-n5110-keyboard-touchpad
I use this in Ubuntu:
Off:
xinput set-int-prop "SynPS/2 Synaptics TouchPad" "Device Enabled" 8 0
On:
xinput set-int-prop "SynPS/2 Synaptics TouchPad" "Device Enabled" 8 1
This two command in a shell (touchpadOn.sh and touchpadOff.sh) just to be more easy to execute.