From 7ddbbcbf1b966dec381e4045937ff43ea6ff37fa Mon Sep 17 00:00:00 2001 From: Samir Benmendil Date: Tue, 4 Dec 2012 08:42:25 +0100 Subject: [PATCH] add xbindkeysrc --- Makefile | 2 +- xbindkeysrc | 38 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 39 insertions(+), 1 deletion(-) create mode 100644 xbindkeysrc diff --git a/Makefile b/Makefile index 52f1c84..a9d1cb5 100644 --- a/Makefile +++ b/Makefile @@ -2,7 +2,7 @@ APATH := $(realpath .) RPATH := $(subst $(wildcard ~/),,$(APATH)) FILES := bin -DOTFILES := aliases bash* conky* flexget vim* zsh* +DOTFILES := aliases bash* conky* flexget vim* xbindkeysrc zsh* .PHONY: install $(FILES) $(DOTFILES) install: $(FILES) $(DOTFILES) diff --git a/xbindkeysrc b/xbindkeysrc new file mode 100644 index 0000000..4d38bc1 --- /dev/null +++ b/xbindkeysrc @@ -0,0 +1,38 @@ +# For the benefit of emacs users: -*- shell-script -*- +########################### +# xbindkeys configuration # +########################### +# +# Version: 1.8.5 +# +# 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). +# +# Don't forget to activate it on startup by placing 'xbindkeys' +# before the line that starts your DE in '~/.xinitrc' + +# 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 + +"qdbus --literal org.kde.kglobalaccel /component/kwin invokeShortcut Expose" + b:10 + +"qdbus --literal org.kde.kglobalaccel /component/kwin invokeShortcut ShowDesktopGrid" + b:13 + +################################## +# End of xbindkeys configuration # +################################## -- 2.48.1