diff options
author | Eric Hameleers <alien@slackware.com> | 2016-02-06 21:47:39 +0100 |
---|---|---|
committer | Eric Hameleers <alien@slackware.com> | 2016-02-06 21:47:39 +0100 |
commit | 500270a8d8b8b3effab4e6be9bb3810f4bf6ab91 (patch) | |
tree | b0e5715e92e183476009582528315af48c6ca09f /liveinit | |
parent | 3181df215dd7cd9d9fd3955c7443859878bacd03 (diff) | |
download | liveslak-500270a8d8b8b3effab4e6be9bb3810f4bf6ab91.tar.gz liveslak-500270a8d8b8b3effab4e6be9bb3810f4bf6ab91.tar.xz |
liveinit: better support for german localizations.
Based on feedback, use Scroll Lock instead of AltGr as the Compose Key.
Also, use 'de-latin1-nodeadkeys' instead of 'de-latin1' for console keyboard
layout, 'de_DE@euro' instead of 'de_DE.utf8' as language definition and
'nodeadkeys' as the X keyboard variant.
Diffstat (limited to 'liveinit')
-rwxr-xr-x | liveinit | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -502,7 +502,12 @@ EOT # You can set just the XkbVariant by adding something like "kbd=ch xkb=,fr" XKBLAYOUT=$(echo $XKB |cut -d, -f1) XKBVARIANT=$(echo $XKB |cut -d, -f2) - XKBOPTIONS="compose:ralt" + if [ "$XKBLAYOUT" = "de" ]; then + # Germans use the AltGr key, so Scroll Lock will be their Compose Key: + XKBOPTIONS="compose:sclk" + else + XKBOPTIONS="compose:ralt" + fi # Ensure that XKBLAYOUT gets a value; XKBVARIANT is allowed to be empty. if [ -z "$XKBLAYOUT" ]; then if [ -z "$KEYMAP" ]; then |