.xbindkeysrc 2.3 KB

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