summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.xinitrc14
1 files 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