5 # Get $TAILS_XKBMODEL, $TAILS_XKBLAYOUT, $TAILS_XKBVARIANT and $TAILS_XKBOPTIONS
6 .
/var
/lib
/tails-user-session
/keyboard
8 dconf
write /org
/gnome
/libgnomekbd
/keyboard
/model
"'$XKBMODEL'"
9 dconf
write /org
/gnome
/libgnomekbd
/keyboard
/layouts
"['$XKBLAYOUT\\t$XKBVARIANT']"
10 if [ "$XKBLAYOUT" != "us" ]; then
11 # Add 'us' switch. Note that it's important that we set the layout
12 # on its own above, because otherwise the following will make 'us'
14 dconf
write /org
/gnome
/libgnomekbd
/keyboard
/layouts
"['$XKBLAYOUT\\t$XKBVARIANT', 'us']"