How to activate / deactivate the touchpad from the terminal

There is an option to disable the touchpad from the terminal, when all applets and workarounds fail. This method was tested in Ubuntu but it should work on other distros as well.

César Bernardo Benavidez Silva is one of the Winners from our weekly competition: «Share what you know about Linux«. Congratulations! Anxious about take part and make your contribution to the community, as did César?

Hello friends, I bring you this dedicated post, for those who, like me, have difficulties with the touchpad of their laptop, with Ubuntu 12.04 LTS operating system.

The problem I have is that the touchpad of my laptop is very sensitive and when I write a document I always have problems touching the touchpad and disasters are generated in the text that I write.

I have tried some scripts, pressing the default key of my computer to activate / deactivate the touchpad, with programs like «touchpad-indicator» and I have had no results. However, looking for some information for that, I found two commands that allow you to activate or deactivate the touchpad.

The commands are as follows:

To deactivate the touchpad:

sudo modprobe -r psmouse

To activate the Touchpad:

sudo modprobe psmouse

That's all for now, I hope it will be useful for those who have the same problem as me, or failing that - as some people have told me - who after installing Ubuntu cannot use their touchpad.

Greetings and I hope this information is useful to you.


Add as preferred source in Google