[ltp] Ubuntu on an X220

Jeffrey L. Taylor linux-thinkpad@linux-thinkpad.org
Wed, 15 Jun 2011 11:56:04 -0500


Quoting Yves Dorfsman <yves@zioup.com>:
[snip]
> TLDR: I hate the touchpad and can't easily disable it.
> 

I hate the touchpad also.  Someone on this list pointed out xinput.  I've
added the following aliases.  Check "xinput list" for the device name on your
system.  Note: IDs change on reboot, don't use.

HTH,
  Jeffrey

alias touchpad_off='xinput set-prop '\''SynPS/2 Synaptics TouchPad'\'' '\''Device Enabled'\'' 0'
alias touchpad_on='xinput set-prop '\''SynPS/2 Synaptics TouchPad'\'' '\''Device Enabled'\'' 1'