How to Disable Mouse Acceleration in Ubuntu 16.04

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"
EndSection
  • 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.

(source)

7 Comments

  1. Kyle October 12, 2016
    • utkarsh October 12, 2016
      • Kyle October 16, 2016
        • utkarsh October 16, 2016
  2. akmal August 20, 2019
    • Utkarsh August 20, 2019
  3. w4v3g0d November 15, 2019

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.