Skip to content

Instantly share code, notes, and snippets.

@cnelsonsic
Created September 18, 2013 01:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cnelsonsic/6603068 to your computer and use it in GitHub Desktop.
Save cnelsonsic/6603068 to your computer and use it in GitHub Desktop.
Enable scrolling in both axes for a Logitech Trackman Marble Mouse trackball.
#!/bin/bash
# Add this to your desktop startup manager, or drop it into ~/.config/autostart
xinput set-int-prop "Logitech USB Trackball" "Evdev Wheel Emulation Button" 8 8
xinput set-int-prop "Logitech USB Trackball" "Evdev Wheel Emulation" 8 1
xinput set-prop "Logitech USB Trackball" "Evdev Wheel Emulation Axes" 6 7 4 5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment