I want to disable the touchpad of my Lenovo x240. If I use the settings GUI the mouse buttons get disabled, too.
How can I disable the touchpad mouse cursor movement, and keep the mouse buttons active?
Related, but I want to disable mouse movements completely:
Drivers for Lenovo Thinkpad S540 Touchpad (erratic mouse cursor)
I use Ubuntu 14.04 with xserver-xorg-input-synaptics version 1.7.4
Best Answer
Open gedit and copy-paste the following lines into it:
Then save it as
/usr/local/bin/DisableTouchPad.sh
In a terminal type:
To activate it type:
and test whether this works.
To make this change permanent, go to the dash, open "Startup Applications", click add, in the command type:
/usr/local/bin/DisableTouchPad.sh
and in the Name and Comment type anything that will remind you what this was about. Click add again.Presto: a disabled touchpad with the buttons still enabled!