# # Version: 0.1.3 # # If you edit this, do not forget to uncomment any lines that you change. # The pound(#) symbol may be used anywhere for comments. # # 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 (on my keyboard): # Control, Shift, Mod1 (Alt), Mod2 (NumLock), # Mod3 (CapsLock), Mod4, Mod5 (Scroll). # # Another way to specifie a key is to use 'xev' and set the # keycode with c:nnn or the modifier with m:nnn where nnn is # the keycode or the state returned by xev # # This file is created by xbindkey_config # The structure is : # # Remark # "command" # m:xxx + c:xxx # Shift+... #keystate_numlock = enable #keystate_scrolllock = enable #keystate_capslock = enable #Xkill "xkill &" m:0x14 + c:9 Control+Mod2 + Escape #Take screenshot of whole screen and save it in the home directory "scrot --quality 100 ~/`date +%Y%m%d%H%M%S`.png" m:0x10 + c:111 Mod2 + Print #Take screenshot of current window (with border) and save in in the home directory "import -quality 100 -frame -window `xprop -root _NET_ACTIVE_WINDOW | sed 's/_NET_ACTIVE_WINDOW(WINDOW): window id # //' | sed 's/^0x0$/root/'` ~/`date +%Y%m%d%H%M%S`.png" m:0x18 + c:111 Alt+Mod2 + Print #Take screenshot of current window (without border) and save it in the home directory "import -quality 100 -window `xprop -root _NET_ACTIVE_WINDOW | sed 's/_NET_ACTIVE_WINDOW(WINDOW): window id # //' | sed 's/^0x0$/root/'` ~/`date +%Y%m%d%H%M%S`.png" Alt+Control+Mod2 + Print # # End of xbindkeys configuration