commandlinefu.com is the place to record those command-line gems that you return to again and again.
You can sign-in using OpenID credentials, or register a traditional username and password.
Subscribe to the feed for:
xinput set-prop 13 "Device Enabled" 0
how to disable touchpad, and
xinput set-prop 13 "Device Enabled" 1
how to enable again
There are 3 alternatives - vote for the best!
This command toggles the touchpad on and off, when it's on, the right side scroll strip (annoying) and the tap-clicking are disabled, you can change this by changing occurances of 2 in the command to 0. this whole command can then be given a keyboard shortcut so that the touchpad is disableable without using a special fn key (which linux doesn't recognize on some computers) or a seperate button.
If you can do better, submit your command here.
You must be signed in to comment.