How to replace libinput with evdev for sane mouse control

January 23, 2022

I try to be pragmatic and open to new things, but some things are just hard to embrace. Especially when they’re bad. One of these things are libinput.

I tried giving libinput a chance, but I couldn’t come close to finding some sane mouse settings for it. I strongly dislike silly things like mouse acceleration. If I want to quickly move my mouse cursors across the screen, I’ll just quickly move my arm…

Thankfully, it’s possible to go back to evdev, and it’s not that difficult either. You just have to install the package for it. In Fedora the package is named xorg-x11-drv-evdev.

Then create a file named something like /etc/X11/xorg.conf.d/50-mouse-acceleration.conf, with the following content:

Section "InputClass"
        Identifier "My Mouse"
        MatchIsPointer "yes"
        Driver "evdev"
        Option "AccelerationScheme" "none"

Save the file, restart and enjoy your sane mouse settings. I personally set my mouse settings using xset. I keep my profile flat with xset m 0/0.


No Comments

Use the e-mail form, if you wish to leave feedback for this post. Markdown is supported. [Terms of service]