Disable mouse acceleration in Ubuntu 15.10

I did a few quick google searches, and it looks like the most recent discussion about this was back in 2012.

How might I go about disabling mouse acceleration in Ubuntu 15.10? I tried installing gpointing-device-settings but there were many errors.

I'm looking for a persistent setting.


Solution 1:

You can make it nice and simple simply by running:

xset m 00

Which will completely turn off mouse acceleration.

!#/bin/bash
xset m 00

Save the file as a .sh script - make it executable with chmod +x filename, add it as a startup program in the Startup Applications program, and you're good to go!

Solution 2:

The following (stolen from r/linux_gaming) seems to work:

sudo vim /usr/share/X11/xorg.conf.d/90-mouse.conf

and paste inside this:

Section "InputClass"
    Identifier "mouse"
    MatchIsPointer "on"
    Option "AccelerationProfile" "-1"
    Option "AccelerationScheme" "none"
EndSection