Advertisement
m1s3rys1gn4l

How To Disable Mouse Acceleration With libinput

Dec 4th, 2020
580
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.84 KB | None | 0 0
  1. Procedure
  2. Open a terminal window (CTRL+ALT+t) and install libinput with its tools on your system:
  3.  
  4. sudo apt-get install xserver-xorg-input-libinput libinput-tools
  5. Create a startup config file in /usr/share/X11/xorg.conf.d/ with the following command:
  6.  
  7. sudo nano /usr/share/X11/xorg.conf.d/95-mouse-accel.conf
  8. Paste the configuration to force the libinput "flat" profile on start-up:
  9.  
  10. Section "InputClass"
  11. Identifier "My Mouse"
  12. Driver "libinput"
  13. MatchIsPointer "yes"
  14. Option "AccelProfile" "flat"
  15. EndSection
  16. Press CTRL+o to save the file, then CTRL+x to exit nano.
  17.  
  18. Restart your machine. Alternatively, you can just restart your X server:
  19.  
  20. In Ubuntu:
  21.  
  22. sudo service lightdm restart
  23. In Linux Mint:
  24.  
  25. sudo service mdm restart
  26. Now you should have no mouse acceleration at all. Yay!
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement