How do I turn off mouse acceleration? [duplicate]

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!


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