Ubuntu – Mouse speed too fast – I can change it with xinput, but how can I make the change persistent

mousexinput

The mouse speed on my computer is too fast. I am running Ubuntu 16.04.

I followed the instructions here:
Mouse speed too fast

And it worked, except every time I restart my computer I now need to re run that command. If it helps I am dual booting with windows 10 which means I restart my computer quite frequently. Where can I set the default value for the xinput prop so I get the settings I want on startup?

Best Answer

You can put that command mentioned here Mouse speed too fast at the end of ~/.profile will run the command automatically when you login into your system.

Run sudo nano ~/.profile to be able to edit it. Add the command at the end, save the file and exit. It should work correctly.

For further information about running a command on startup:

How to run a command at login?

Related Question