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.
You can make it nice and simple simply by running:
Which will completely turn off mouse acceleration.
Save the file as a
.sh
script - make it executable withchmod +x filename
, add it as a startup program in theStartup Applications
program, and you're good to go!The following (stolen from r/linux_gaming) seems to work:
and paste inside this:
There is a GUI for this, gpointing-device-settings:
This program has several features missed in the standard
gnome-mouse-properties
configuration dialog, like advanced touchpad scrolling settings. If all you need is to adjust acceleration settings, usegnome-mouse-properties
instead.If you seek for CLI way,
xinput
will be to your usage.I find the pointer acceleration extremely annoying. Even when it's set to "low"
Edited as the link is dead.
Find you input devices
List current properties for the relevant id
Change the mouse pointer speed (non persistent)
Setting Device Accel Constant Deceleration to 1.5 gives a slightly faster mouse.
To make the changes permanent, add the changes to a file and executed them automatically at login. Some options can be added to the x-server config.
More details here: https://www.x.org/wiki/Development/Documentation/PointerAcceleration/
install package xserver-xorg-input-libinput:
and reboot.
Solution found there : https://ubuntuforums.org/showthread.php?t=1734400&s=ca88cf7a66bc549b9b504f155e287f53&p=10995493#post10995493
For me it's :
If it's working, put this command into a script to be executed at each session start.
A much better way to do this and one which resists to sleep, hibernation, etc is this:
First run
This will give you a list of devices, which looks like this:
Find you device's name and take note (mine is
A4Tech USB Mouse
).Create a file in
/etc/X11/Xsession.d/
called99disablemouseaccel
Paste the following contents inside it:
Now save it. These commands will be run whenever an X session starts.