[null, {"document_url": "http://www.webupd8.org/2016/08/how-to-completely-disable-mouse.html", "unformatted_src": "https://2.bp.blogspot.com/-fnco67TcFQE/VmhJnENlvcI/AAAAAAAAXJw/B0o9jOM0GmY/s400/mouse.jpg", "src": "https://2.bp.blogspot.com/-fnco67TcFQE/VmhJnENlvcI/AAAAAAAAXJw/B0o9jOM0GmY/s400/mouse.jpg", "formatted_filename": "mouse", "alt_text": "mouse", "rendered_width": 400, "rendered_height": 250}, null, null]

How To Completely Disable Mouse Acceleration In Linux

Author: Andrew | Posted: August 19, 2016 | Updated: 2017-02-21T13:36:24Z Some desktop environments don't provide a way to change the mouse acceleration (GNOME and Unity for instance), and even for those that do (like Cinnamon), you can't completely turn it off. Here's how to completely disable mouse acceleration in Linux (for Xorg).
Disabling mouse acceleration is useful for FPS gaming. Mouse acceleration makes the pointer movement depend on the speed with which you move the mouse, accelerating as you move it faster. So moving the mouse across the same distance can have different results, based on movement speed. In FPS games, this can make aiming difficult.

With mouse acceleration disabled, the movement of the pointer is the same as the movement of the mouse, and it doesn't change based on the movement speed. As a result, your aim should be more accurate in first-person shooters.

To completely disable mouse acceleration, create a file called "50-mouse-acceleration.conf" in xorg.conf.d. The path to xorg.conf.d can vary depending on the Linux distribution you use. For instance, in Ubuntu, Linux Mint, and derivatives, it's /usr/share/X11/xorg.conf.d/. On Arch Linux, it's /etc/X11/xorg.conf.d/.

To open an empty 50-mouse-acceleration.conf file in /usr/share/X11/xorg.conf.d/ with Nano (command line text editor; should be installed by default in most Linux distributions), use the following command:
And in this file, paste the following:

Then save the file (to save the file in Nano, use Ctrl + o, then press Enter; to exit, use Ctrl + x). Note that the section just needs an identifier, but the actual name doesn't matter, so you don't have to replace "My Mouse" with anything.
Once you're done, restart the session (logout/login). That's it!
Using this, the Touchpad acceleration is left unchanged.


via Arch Linux wiki; image from Wikipedia

Tagged with: customization games linux mouse tweaks ubuntu



