I have written a post using app indicator to switch on/off laptop touchpad on Ubuntu panel. This simple tutorial will show you how to enable/disable touchpad using the command line way in Ubuntu.

It’s very easy, just open terminal from the dash(or Ctrl+Alt+T):

  • To disable the touchpad, execute:
    synclient TouchpadOff=1
  • To re-enable the touchpad, execute:
    synclient TouchpadOff=0

That’s it, enjoy!