Skip to content

Commit

Permalink
Always keep latin keyboard layout
Browse files Browse the repository at this point in the history
Setting only non-latin layout breaks hotkeys in various applications, so setup secondary 'us' to propagated from dom0.

Fixes QubesOS/qubes-issues#5431
Fixes QubesOS/qubes-issues#6690
  • Loading branch information
jevank committed Jul 6, 2021
1 parent fc9e074 commit 9ad3964
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions appvm-scripts/usr/lib/qubes/qubes-keymap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ set_keyboard_layout() {
KEYMAP_LAYOUT="$(echo "$KEYMAP"+ | cut -f 1 -d +)"
KEYMAP_VARIANT="$(echo "$KEYMAP"+ | cut -f 2 -d +)"
KEYMAP_OPTIONS="$(echo "$KEYMAP"+ | cut -f 3 -d +)"
if [ "$KEYMAP_LAYOUT" != "us" ]; then
KEYMAP_LAYOUT="$KEYMAP_LAYOUT,us"
fi

if [ -n "$KEYMAP_VARIANT" ]; then
KEYMAP_VARIANT="-variant $KEYMAP_VARIANT"
fi
Expand Down

0 comments on commit 9ad3964

Please sign in to comment.