Skip to content

Instantly share code, notes, and snippets.

@hyOzd
Created October 30, 2017 18:47
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hyOzd/12faee52ffb5ef80569b0bf22d9fb2e6 to your computer and use it in GitHub Desktop.
Save hyOzd/12faee52ffb5ef80569b0bf22d9fb2e6 to your computer and use it in GitHub Desktop.
Logitech Trackman Marble trackball scroll wheel emulation configuration for Linux Mint, right small button is configured for wheel emulation
# place in : /usr/share/X11/xorg.conf.d/
Section "InputClass"
Identifier "Marble Mouse"
MatchProduct "Logitech USB Trackball"
Option "EmulateWheel" "true"
Option "EmulateWheelButton" "9"
Option "XAxisMapping" "6 7"
Option "YAxisMapping" "4 5"
Option "Emulate3Buttons" "true"
EndSection
@hyOzd
Copy link
Author

hyOzd commented Feb 19, 2018

Log-out and login for effect.

@hyOzd
Copy link
Author

hyOzd commented Jun 4, 2018

On ubuntu 18.04 this is required. Not sure above files is required. Haven't tried:

xinput --set-prop "Logitech USB Trackball" "libinput Scroll Method Enabled" 0 0 1
xinput --set-prop "Logitech USB Trackball" "libinput Button Scrolling Button" 8

@coughingmouse
Copy link

Thanks!

xinput --set-prop "Logitech USB Trackball" "libinput Scroll Method Enabled" 0 0 1
xinput --set-prop "Logitech USB Trackball" "libinput Button Scrolling Button" 8

This code works well for me on Ubuntu 18.04 LTE.

@sonaraf
Copy link

sonaraf commented Apr 11, 2020

It works even on Debian 10 together with previous/next navigation! Change 8 to 9 for little left button, 5 for right great button, 6 for left great button. Enjoy!

On ubuntu 18.04 this is required. Not sure above files is required. Haven't tried:

xinput --set-prop "Logitech USB Trackball" "libinput Scroll Method Enabled" 0 0 1
xinput --set-prop "Logitech USB Trackball" "libinput Button Scrolling Button" 8

@Poki-san
Copy link

On ubuntu 18.04 this is required. Not sure above files is required. Haven't tried:

xinput --set-prop "Logitech USB Trackball" "libinput Scroll Method Enabled" 0 0 1
xinput --set-prop "Logitech USB Trackball" "libinput Button Scrolling Button" 8

Manjaro KDE Plasma Works!!!

thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment