Advertisement
marcoshalano

xbindkeysrc for Logitech M560 mouse

Oct 14th, 2015
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.79 KB | None | 0 0
  1. ###########################
  2. # xbindkeys configuration #
  3. ###########################
  4.  
  5. # This configurations are optimized for a Logitech M560 mouse using Ubuntu.
  6.  
  7. # Back with tilt wheel (left)
  8. "xte 'keydown Alt_L' 'key Left' 'keyup Alt_L'"
  9. b:6
  10.  
  11. # Forward with tilt wheel (right)
  12. "xte 'keydown Alt_L' 'key Right' 'keyup Alt_L'"
  13. b:7
  14.  
  15. # Show all Windows with square button on top. With you use 'S' instead 'W' you can show all workspaces.
  16. "xte 'keydown Super_L' 'key W' 'keyup Super_L'"
  17. b:2 + release
  18.  
  19. # Open in a new tab with the first button on the left
  20. "xte 'keydown Control_L' 'mouseclick 1' 'keyup Control_L'"
  21. b:10 + release
  22.  
  23. # Re-open closed tab with the second button on the left
  24. "xte 'keydown Control_L' 'keydown Shift_L' 'key T' 'keyup Shift_L' 'keyup Control_L'"
  25. b:11
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement