From c3d29f2e1206c1b9f038e3f8adf2325996b14d0a Mon Sep 17 00:00:00 2001 From: Kjetil Orbekk Date: Sun, 24 Apr 2022 10:21:39 -0400 Subject: add mouse button bindings --- xbindkeys/.xbindkeysrc | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) (limited to 'xbindkeys') diff --git a/xbindkeys/.xbindkeysrc b/xbindkeys/.xbindkeysrc index 90bd105..a4bd883 100644 --- a/xbindkeys/.xbindkeysrc +++ b/xbindkeys/.xbindkeysrc @@ -38,18 +38,6 @@ #keystate_scrolllock= enable # Examples of commands: - -"xbindkeys_show" - control+shift + q - -# set directly keycode (here control + f with my keyboard) -"xterm" - c:41 + m:0x4 - -# specify a mouse button -"xterm" - control + b:2 - #"xterm -geom 50x20+20+20" # Shift+Mod2+alt + s # @@ -65,6 +53,19 @@ #"rxvt" # Control + b:2 + Release +"xdotool mousedown 1" + KP_End +"xdotool mouseup 1" + Release+KP_End +"xdotool mousedown 2" + KP_Down +"xdotool mouseup 2" + Release+KP_Down +"xdotool mousedown 3" + KP_Next +"xdotool mouseup 3" + Release+KP_Next + ################################## # End of xbindkeys configuration # ################################## -- cgit v1.2.3