jbromley /.xbindkeysrc

Bind multimedia keys, hibernate key, and print screen keys (for screen shots). You need to have the appropriate toggle_sound, volume_{up,down} scripts for this to work correctly.
# For the benefit of emacs users: -*- shell-script -*-
###########################
# xbindkeys configuration #
###########################
#
# Version: 1.8.2
#
# 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

"/usr/local/bin/toggle_sound"
  XF86AudioMute

"/usr/local/bin/volume_down"
  XF86AudioLowerVolume

"/usr/local/bin/volume_up"
  XF86AudioRaiseVolume

"/usr/local/bin/hibernate"
  XF86Sleep

"/usr/bin/eject"
  XF86Eject

"/usr/bin/mocp -G"
  XF86AudioPlay

"/usr/bin/mocp -r"
  XF86AudioPrev
  
"/usr/bin/mocp -f"
  XF86AudioNext

"/usr/bin/mocp -s"
  XF86AudioStop

"/usr/bin/scrot &"
  Print

"/usr/bin/scrot -b -s &"
  Alt + Print

##################################
# End of xbindkeys configuration #
##################################