A Pen by Cory LaViska on CodePen.
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
| # put this file under /usr/share/X11/xorg.conf.d/50-marblemouse.conf | |
| # Large button left : normal click | |
| # Both large buttons : middle click | |
| # Large button right : right-click | |
| # Small button left : browser back | |
| # Small button left+ball : scroll (verticaly or horizontally) | |
| # Small button right : browser forward | |
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
| # https://wiki.archlinux.org/index.php/Logitech_Marble_Mouse | |
| # append this to /usr/lib/X11/xorg.conf.d/10-libinput.conf | |
| Section "InputClass" | |
| Identifier "Marble Mouse" | |
| MatchProduct "Logitech USB Trackball" | |
| Driver "libinput" | |
| Option "ScrollMethod" "button" | |
| Option "ScrollButton" "8" | |
| Option "MiddleEmulation" "on" |
Related Setup: https://gist.github.com/hofmannsven/6814278
Related Pro Tips: https://ochronus.com/git-tips-from-the-trenches/