Commit 3e59847e authored by Tails developers's avatar Tails developers
Browse files

Merge branch 'bugfix/7065-keyboard-localization' into devel

parents c1f9ab2f f3423bfd
......@@ -7,4 +7,9 @@ set -eu
dconf write /org/gnome/libgnomekbd/keyboard/model "'$XKBMODEL'"
dconf write /org/gnome/libgnomekbd/keyboard/layouts "['$XKBLAYOUT\\t$XKBVARIANT']"
dconf write /org/gnome/libgnomekbd/keyboard/options "['$XKBOPTIONS']"
if [ "$XKBLAYOUT" != "us" ]; then
# Add 'us' switch. Note that it's important that we set the layout
# on its own above, because otherwise the following will make 'us'
# the default.
dconf write /org/gnome/libgnomekbd/keyboard/layouts "['$XKBLAYOUT\\t$XKBVARIANT', 'us']"
fi
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment