[ltp] Ubuntu on an X220

James Macpherson linux-thinkpad@linux-thinkpad.org
Wed, 15 Jun 2011 12:58:59 -0400


On 06/15/11 12:56, Jeffrey L. Taylor wrote:
> 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'
works a treat,

Nice work Jeffrey!

Cheers,

J