1 ########################### 2 # xbindkeys configuration # 3 ########################### 4 # 5 # If you edit this file, do not forget to uncomment any lines 6 # that you change. 7 # The pound(#) symbol may be used anywhere for comments. 8 # 9 # To specify a key, you can use 'xbindkeys --key' or 10 # 'xbindkeys --multikey' and put one of the two lines in this file. 11 # 12 # The format of a command line is: 13 # "command to start" 14 # associated key 15 # 16 # 17 # A list of keys is in /usr/include/X11/keysym.h and in 18 # /usr/include/X11/keysymdef.h 19 # The XK_ is not needed. 20 # 21 # List of modifier: 22 # Release, Control, Shift, Mod1 (Alt), Mod2 (NumLock), 23 # Mod3 (CapsLock), Mod4, Mod5 (Scroll). 24 # 25 26 # The release modifier is not a standard X modifier, but you can 27 # use it if you want to catch release events instead of press events 28 29 # By defaults, xbindkeys does not pay attention with the modifiers 30 # NumLock, CapsLock and ScrollLock. 31 # Uncomment the lines above if you want to pay attention to them. 32 33 #keystate_numlock = enable 34 #keystate_capslock = enable 35 #keystate_scrolllock= enable 36 37 # Examples of commands: 38 39 #"xbindkeys_show" 40 # control+shift + q 41 42 # set directly keycode (here control + f with my keyboard) 43 #"xterm" 44 # c:41 + m:0x4 45 46 # specify a mouse button 47 #"xterm" 48 # control + b:2 49 50 #"xterm -geom 50x20+20+20" 51 # Shift+Mod2+alt + s 52 # 53 ## set directly keycode (here control+alt+mod2 + f with my keyboard) 54 #"xterm" 55 # alt + c:0x29 + m:4 + mod2 56 # 57 ## Control+Shift+a release event starts rxvt 58 #"rxvt" 59 # release+control+shift + a 60 # 61 ## Control + mouse button 2 release event starts rxvt 62 #"rxvt" 63 # Control + b:2 + Release 64 65 # Control brightness 66 "xbacklight -inc 1" 67 XF86MonBrightnessUp 68 69 "xbacklight -dec 1" 70 XF86MonBrightnessDown 71 72 # Control volume 73 "pactlraisevolume 1" 74 XF86AudioRaiseVolume 75 76 "pactl set-sink-volume @DEFAULT_SINK@ -1%" 77 XF86AudioLowerVolume 78 79 "pactl set-sink-mute @DEFAULT_SINK@ toggle" 80 XF86AudioMute 81 82 83 # Control media 84 # (need playerctl installed) 85 "playerctl play-pause" 86 XF86AudioPlay 87 88 "playerctl previous" 89 XF65AudioPrev 90 91 "playerctl next" 92 XF86AudioNext 93 94 95 ################################## 96 # End of xbindkeys configuration # 97 ##################################