Xorg: Difference between revisions
Appearance
imported>Makefu m Makefu moved page Disabling mouse acceleration to Xorg: will become new Xorg Page |
imported>Makefu m add heading |
||
| Line 1: | Line 1: | ||
== Disabling mouse acceleration == | |||
To disable mouse acceleration for a touchpad, it's as simple as | To disable mouse acceleration for a touchpad, it's as simple as | ||
Revision as of 15:02, 11 March 2019
Disabling mouse acceleration
To disable mouse acceleration for a touchpad, it's as simple as
services.xserver.libinput.enable = true; services.xserver.libinput.accelProfile = "flat";
But to disable it for a mouse, it's a bit more wordy -
services.xserver.libinput.enable = true;
services.xserver.config = ''
Section "InputClass"
Identifier "mouse accel"
Driver "libinput"
MatchIsPointer "on"
Option "AccelProfile" "flat"
Option "AccelSpeed" "0"
EndSection
'';