Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a dm3t laptop and when im using the keyboard I frequently accidentally touch it and cause some mouse event. How can I make a shortcut key that toggles the mousepad on and off?

share|improve this question

If you are using Synaptics Touchpad, you can toggle the touchpad on and off by using synclient. To turn the pad off, run synclient TouchpadOff=1, and to turn it back on use synclient TouchpadOff=0.

You can set up keyboard shortcuts by System > Preferences > Keyboard Shortcuts.

If you're not sure if you are using Synaptics Touchpad, run xinput list, and one of the entries will mention Synaptics if you are.

share|improve this answer

You could use Touchfreeze

By using the following command you can install it from terminal

sudo apt-get install touchfreeze

This application automatically disables touchpad temporarily when you type something and also enables it back after you stopped typing. It has a GUI and some configuration options like a customizable switch-delay.

So you'll need no shortcut-key.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.