Finally! After some search and suffering all the wrong clicking and shit, found the way, and tested it worked for Enable/Disable touchpad on my laptop with Ubuntu 14.04 LTS.
- Find out what is the xinput <id> of the touchpad
- Terminal# xinput list
- Go to System Settings > Keyboard > Shortcuts > Custom Shortcuts
- Add 2 shortcuts naming
- Disable Touchpad
- Name: "Disable Touchpad"
- xinput set-prop 12 "Device Enabled" 0
- Enable Touchpad
- Name: "Enable Touchpad"
- xinput set-prop 12 "Device Enabled" 1
- Then select the key combination for activating the shortcut
Reference
No comments:
Post a Comment