From 5e4d77a5bda22d9457945cecf810b5b416660cce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20=27Necoro=27=20Neumann?= Date: Thu, 23 Apr 2015 15:18:57 +0200 Subject: Set keymap using setxkbmap --- .xinitrc | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/.xinitrc b/.xinitrc index b3c0314..0b1ebbf 100644 --- a/.xinitrc +++ b/.xinitrc @@ -2,11 +2,15 @@ session=$1 -# -# XKB is not set here anymore -- instead we use the standard altgr_intl -# with some more options -# set the following in X11: "terminate:ctrl_alt_bksp,grp:menu_toggle,compose:rwin,caps:escape" -# +# xdotool needs this set by setxkbmap +# as a fallback this should also be set in the X11 config +if (( $+commands[setxkbmap] )); then + setxkbmap \ + -layout us,de \ + -variant altgr-intl,deadgraveacute \ + -option \ + -option terminate:ctrl_alt_bksp,grp:menu_toggle,compose:rwin,caps:escape +fi # set IM to XIM, so it reads .XCompose export GTK_IM_MODULE=xim -- cgit v1.2.3