summaryrefslogtreecommitdiffstats
path: root/liveinit
diff options
context:
space:
mode:
Diffstat (limited to 'liveinit')
-rwxr-xr-xliveinit7
1 files changed, 6 insertions, 1 deletions
diff --git a/liveinit b/liveinit
index 8b10fdc..809c9ed 100755
--- a/liveinit
+++ b/liveinit
@@ -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