http://bugzilla.opensuse.org/show_bug.cgi?id=1209594 http://bugzilla.opensuse.org/show_bug.cgi?id=1209594#c28 --- Comment #28 from Stefan Dirsch <sndirsch@suse.com> --- Created attachment 865746 --> http://bugzilla.opensuse.org/attachment.cgi?id=865746&action=edit keytable Changes to the original became minimal: @@ -11,7 +11,7 @@ keyboard_map_systemd=/usr/share/systemd/kbd-model-map function setkeyboard { - echo "Command: localectl set-keymap $1" + echo "Command: localectl set-keymap $1 $2" # xorg.conf.d snippet is only written if a valid snippet is already # available, so create an us sample if neccessary if [ ! -f $systemd_x11conf_file ]; then @@ -28,7 +28,7 @@ echo "I: Using systemd $keyboard_map_systemd mapping" fi - localectl set-keymap $1 + localectl set-keymap $1 $2 if [ -f $systemd_x11conf_file ]; then if [ -f $previous_x11conf_file ]; then if [ $systemd_x11conf_file -nt $previous_x11conf_file ]; then @@ -45,9 +45,14 @@ echo "$vconsole_conf_file available" . $vconsole_conf_file if [ ! -z $KEYMAP ]; then - echo "KEYMAP: $KEYMAP" - options="$KEYMAP $KEYMAP_TOGGLE" - setkeyboard "$options" + if [ -z $XKBLAYOUT ]; then + echo "KEYMAP: $KEYMAP" + setkeyboard $KEYMAP $KEYMAP_TOGGLE + else + echo "XKBLAYOUT: $XKBLAYOUT" + echo "XKBLAYOUT is already set. Better don't touch X11 keyboard configuration." + exit 0 + fi else echo "KEYMAP not set" fi -- You are receiving this mail because: You are on the CC list for the bug.