diff options
author | René 'Necoro' Neumann <necoro@necoro.net> | 2015-04-23 15:18:57 +0200 |
---|---|---|
committer | René 'Necoro' Neumann <necoro@necoro.net> | 2015-04-23 15:18:58 +0200 |
commit | 5e4d77a5bda22d9457945cecf810b5b416660cce (patch) | |
tree | c411ac74687399bb792b522deff79a0fc159fe33 | |
parent | 60208cb75cd116381fed0a731ce4ac63602c3d94 (diff) | |
download | dotfiles-5e4d77a5bda22d9457945cecf810b5b416660cce.tar.gz dotfiles-5e4d77a5bda22d9457945cecf810b5b416660cce.tar.bz2 dotfiles-5e4d77a5bda22d9457945cecf810b5b416660cce.zip |
Set keymap using setxkbmap
-rw-r--r-- | .xinitrc | 14 |
1 files changed, 9 insertions, 5 deletions
@@ -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 |