How to disable the mouse acceleration.
First, check your current settings.
1 2 3 |
xset q | grep -A 1 Pointer Pointer Control: acceleration: 2/1 threshold: 4 |
Change set the acceleration to zero and test your mouse in your current user session.
1 2 3 4 5 |
xset m 0/1 4 xset q | grep -A 1 Pointer Pointer Control: acceleration: 0/1 threshold: 4 |
Make your changes persistent, otherwise your changes will be lost after a reboot.
1 2 3 4 5 6 7 8 9 10 11 |
cd /usr/share/X11/xorg.conf.d sudo nano 80-mouse-accel-disable.conf Section "InputClass" Identifier "My Mouse" MatchIsPointer "yes" Option "AccelerationProfile" "-1" Option "AccelerationScheme" "none" Option "AccelSpeed" "-1" EndSection |
Source:
http://www.webupd8.org/2016/08/how-to-completely-disable-mouse.html