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 been having several issues with my touchpad since upgrading to 12.04LTS. I believe it is an issue with the Elantech driver. I have found that the following commands fix my problem, however, the changes seem to be reverted when I reboot.

modprobe -r psmouse
modprobe psmouse proto=imps

Is there a way I can make these changes permanent?

share|improve this question
up vote 8 down vote accepted

If you are using a generic synaptic touchpad, but it fails to respond to tapping or scrolling actions under a new installation, you can run the following two commands to immediately make it work:

modprobe -r psmouse
modprobe psmouse proto=imps

To make this change permanent, create a file such as touchpad.conf under /etc/modprobe.d/, and put the following line in it:

options psmouse proto=imps
share|improve this answer

Login as a super user (root) and open /etc/rc.local using nano or some other editor as shown below.

nano /etc/rc.local

and add the lines to the file

modprobe -r psmouse
modprobe psmouse proto=imps

Save Ctrl+O and Exit Ctrl+X and restart your system. It is done!

share|improve this answer


Save your listed commands as a shell script (*.sh) and set that script to run before LightDM by doing the following:

sudo nano /etc/lightdm/lightdm.conf

Add this line to the bottom of lightdm.conf

display-setup-script=/home/[your username]/Scripts/

Or whatever your script is called and wherever it is located.

P.S. Don't forget to make your script executable!


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.