Created
January 23, 2026 00:30
-
-
Save askvictor/1de488a5675760e423e795be779f4b10 to your computer and use it in GitHub Desktop.
My Logitech Trackball setup on Linux/Ubuntu/PopOS
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $ cat /etc/X11/xorg.conf.d/99-trackball.conf | |
| Section "InputClass" | |
| Identifier "Trackball Configuration" | |
| MatchProduct "Logitech USB Trackball" | |
| Driver "libinput" | |
| Option "NaturalScrolling" "true" | |
| Option "ScrollMethod" "button" | |
| Option "ScrollButton" "8" | |
| Option "ButtonMapping" "1 2 3 4 5 6 7 2 8" | |
| EndSection | |
| $ gsettings set org.gnome.desktop.peripherals.trackball scroll-wheel-emulation-button 8 | |
| $ gsettings set org.gnome.desktop.peripherals.mouse natural-scroll true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment