Skip to content

xbindkeys

.xbindkeysrc

# For the benefit of emacs users: -*- shell-script -*-
###########################
# xbindkeys configuration #
###########################
#
# Version: 1.8.7
#
# If you edit this file, do not forget to uncomment any lines
# that you change.
# The pound(#) symbol may be used anywhere for comments.
#
# To specify a key, you can use 'xbindkeys --key' or
# 'xbindkeys --multikey' and put one of the two lines in this file.
#
# The format of a command line is:
#    "command to start"
#       associated key
#
#
# A list of keys is in /usr/include/X11/keysym.h and in
# /usr/include/X11/keysymdef.h
# The XK_ is not needed.
#
# List of modifier:
#   Release, Control, Shift, Mod1 (Alt), Mod2 (NumLock),
#   Mod3 (CapsLock), Mod4, Mod5 (Scroll).
#

# The release modifier is not a standard X modifier, but you can
# use it if you want to catch release events instead of press events

# By defaults, xbindkeys does not pay attention with the modifiers
# NumLock, CapsLock and ScrollLock.
# Uncomment the lines above if you want to pay attention to them.

#keystate_numlock = enable
#keystate_capslock = enable
#keystate_scrolllock= enable

# Examples of commands:

#"xdotool mousemove_relative 30 0"
#    m:0x0 + c:114
#    Right

#"xdotool mousemove_relative 0 30"
#    m:0x0 + c:116
#    Down
#
#"xdotool mousemove_relative 0 -30"
#    m:0x0 + c:111
#    Up

#"xdotool mousemove_relative -- -30 0"
#    m:0x0 + c:113
#    Left

"~/bin/l.sh"
    m:0x8 + c:25
    Alt + w

"xbindkeys_show" 
  control+shift + q

"~/bin/scratchpad.sh"
    m:0x8 + c:32
    Alt + o

"~/bin/cmus.sh"
    m:0x40 + c:58
    Mod4 + m

"~/bin/screenshot.sh"
    m:0x0 + c:107
    Print

"~/bin/record-screen.sh"
    m:0x8 + c:27
    Alt + r

"~/bin/annotateShot.sh"
    m:0x0 + c:78
    Scroll_Lock

"~/bin/inc-volume.sh"
    m:0x8 + c:35
    Alt + bracketright

"~/bin/dec-volume.sh"
    m:0x8 + c:34
    Alt + bracketleft

"~/bin/t"
    m:0x8 + c:31
        Alt + i

"cmus-remote -r && ~/bin/cmus-song-info.sh"
    m:0x40 + c:34
    Mod4 + bracketleft

"cmus-remote -n && ~/bin/cmus-song-info.sh"
    m:0x40 + c:35
    Mod4 + bracketright

"cmus-remote -u"
    m:0x40 + c:65
    Mod4 + space

"~/bin/cmus-song-info.sh"
    m:0x40 + c:51
    Mod4 + backslash

"cmus-remote -k +5 && ~/bin/progressbar.sh"
    m:0x40 + c:60
    Mod4 + period

"cmus-remote -k -5 && ~/bin/progressbar.sh"
    m:0x40 + c:59
    Mod4 + comma

"~/bin/cmus.sh"
    m:0x8 + c:58
    Alt + m

"~/bin/shownote.sh"
    m:0x8 + c:57
    Alt + n

#"~/bin/book.sh"
#    m:0x40 + c:44
#    Mod4 + j

"~/bin/showNoteShots.sh"
    m:0x8 + c:24
    Alt + q

#"xfce4-session-logout"
#    m:0x9 + c:26
#        Shift+Alt + e

# 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
#
## set directly keycode (here control+alt+mod2 + f with my keyboard)
#"xterm"
#  alt + c:0x29 + m:4 + mod2
#
## Control+Shift+a  release event starts rxvt
#"rxvt"
#  release+control+shift + a
#
## Control + mouse button 2 release event starts rxvt
#"rxvt"
#  Control + b:2 + Release

Comments