How to Disable Mouse Acceleration in Ubuntu 16.04

Last Updated on March 23, 2018

I don’t really understand why the option to adjust mouse acceleration is not available in Ubuntu. The distro which claims to be the easiest to use among the gazillions of others in the ground.

It is such a simple thing and useful thing to add in Settings but release after release, it has been missing in all of the Ubuntu versions. Of course, being a Linux based distro, Ubuntu has all the nitty gritty config files which we can change to our liking.

ubuntu mouse acceleration

The frustration on the first paragraph isn’t to make to make you feel like Ubuntu is not a usable distro in itself. In fact, it is actually the one I use day to day. This issue of Mouse acceleration is, however quite frustrating to me. Upon digging a few old documents and forums like Reddit, I did find the fix for this.

Disable Mouse Acceleration in Ubuntu 16.04

To change the mouse acceleration in Ubuntu 16.04, all we have to do is add some text to the mouse config .conf file inside the usr/share/x11/xorg.conf.d folder. Let us get to the steps for doing so:

  • While on the desktop, press Ctrl + Alt + T to open the Terminal.
  • In the terminal, type sudo gedit /usr/share/X11/xorg.conf.d/90-mouse.conf and press Enter. This will open the 90-mouse.conf file in gedit (the text editor) in super user mode.
  • In the opened file, copy and paste the following code and save the file.
Section "InputClass"
    Identifier "mouse"
    MatchIsPointer "on"
    Option "AccelerationProfile" "-1"
    Option "AccelerationScheme" "none"
  • Restart your PC and enjoy the usable mouse again.

In the above steps, what I did was to edit the 90-mouse.conf file inside the X11 server which manages the display on Ubuntu and similar distros. The option named AccelerationScheme sets the mouse acceleration to none which in turn disables the acceleration. You will, of course, see the changes working only after a restart.