Skip to content

Instantly share code, notes, and snippets.

@rszeto
Created September 30, 2017 21:33
Show Gist options
  • Save rszeto/216909b0d3ce4128cb764608d7e012cc to your computer and use it in GitHub Desktop.
Save rszeto/216909b0d3ce4128cb764608d7e012cc to your computer and use it in GitHub Desktop.
Mouse bindings for Logitech M705 on Ubuntu
# Scroll left --> Ctrl+Shift+Tab
"xte 'keydown Control_L' 'keydown Shift_L' 'key Tab' 'keyup Shift_L' 'keyup Control_L'"
b:6
# Scroll right --> Ctrl+Tab
"xte 'keydown Control_L' 'key Tab' 'keyup Control_L'"
b:7
# Bottom side button --> Alt+Tab
"xte 'keydown Alt_L' 'key Tab' 'usleep 100000' 'keyup Alt_L'"
b:8
# Top side button --> Ctrl+W
"xte 'keydown Control_L' 'key w' 'keyup Control_L'"
b:9
# Thumb button --> Middle click
"xte 'mouseclick 2'"
b:10 + Release
@ensbar
Copy link

ensbar commented Jun 8, 2018

nice

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