1

I have ubuntu 16.04. I want to add

sudo modprobe -r psmouse && sudo modprobe psmouse proto=imps

to my startup applications.

I added it succesfully but it isn't running with the startup.

I think because of the password requirement.

Please help me as I want it to run along with start of my laptop.

Is there any other way or is there a way to fulfill my above requirements? Please let me know....

Pilot6
  • 90,100
  • 91
  • 213
  • 324

1 Answers1

0
sudo modprobe -r psmouse && sudo modprobe psmouse proto=imps

stops psmouse and starts it with proto=imps option.

Startup applications is a wrong way to set options for kernel modules.

The correct way to achieve the desired result is to use modprobe.d config files.

Run in a terminal

sudo tee /etc/modprobe.d/psmouse.conf <<< "options psmouse proto=imps"

and reboot.

That will create the psmouse.conf file and psmouse will start with the desired option.

Pilot6
  • 90,100
  • 91
  • 213
  • 324