How to replace libinput with evdev for sane mouse control

by Hund | 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"
EndSection

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

Meta

Comments

There's no comments for this post. Use this e-mail form if you would like to leave a /public/ comment on this post. Or simply send me a private e-mail message if you have any feedback, or just want to say hello.