1 # For the benefit of emacs users: -*- shell-script -*-
2 ###########################
3 # xbindkeys configuration #
4 ###########################
6 # The pound(#) symbol may be used anywhere for comments.
8 # To specify a key, you can use 'xbindkeys --key' or
9 # 'xbindkeys --multikey' and put one of the two lines in this file.
11 # The format of a command line is:
16 # A list of keys is in /usr/include/X11/keysym.h and in
17 # /usr/include/X11/keysymdef.h
18 # The XK_ is not needed.
21 # Release, Control, Shift, Mod1 (Alt), Mod2 (NumLock),
22 # Mod3 (CapsLock), Mod4, Mod5 (Blue Fn).
25 # The release modifier is not a standard X modifier, but you can
26 # use it if you want to catch release events instead of press events
28 # By default, xbindkeys does not pay attention to the modifiers
29 # NumLock, CapsLock and ScrollLock.
30 # Uncomment the lines above if you want to pay attention to them.
32 #keystate_numlock = enable
33 #keystate_capslock = enable
34 #keystate_scrolllock= enable
36 ###############################################################
37 # NEW as of Sept 2010:
38 # Make keyboard active in current window with Fn+Return
39 # (you need the /home/user/.kbdactive script, of course!)
40 ###############################################################
42 "/home/user/.kbdactive"
46 ###############################################################
48 "wmctrl -r :ACTIVE: -b toggle,fullscreen"
52 "wmctrl -r :ACTIVE: -b toggle,fullscreen"
56 # the enter key is KP_Enter instead of Return (thanks, rebhana!)
57 # some applications don't accept KP_Enter in place of Return, hence:
59 "xvkbd -xsendevent -text '\r'"
62 # debernardis and rebhana suggest TAB and Esc
64 "xvkbd -xsendevent -text '\t'"
67 "xvkbd -xsendevent -text '\e'"
70 # F1-F12 mapped to Shift+Fn + keys from upper row (thanks, rebhana):
72 "xvkbd -xsendevent -text "\[F1]""
75 "xvkbd -xsendevent -text "\[F2]""
78 "xvkbd -xsendevent -text "\[F3]""
81 "xvkbd -xsendevent -text "\[F4]""
84 "xvkbd -xsendevent -text "\[F5]""
87 "xvkbd -xsendevent -text "\[F6]""
90 "xvkbd -xsendevent -text "\[F7]""
93 "xvkbd -xsendevent -text "\[F8]""
96 "xvkbd -xsendevent -text "\[F9]""
99 "xvkbd -xsendevent -text "\[F10]""
102 "xvkbd -xsendevent -text "\[F11]""
105 "xvkbd -xsendevent -text "\[F12]""
108 # Examples of commands:
110 # specify a mouse button
114 ##################################
115 # End of xbindkeys configuration #
116 ##################################