To use the new way to configure the keyboard.
With the switch to xkbcommon we now need to specify
model, layout, variant and options to configure the keyboard and no more
the keymap file.
---
 debian/hurd.hurd-console.default | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/debian/hurd.hurd-console.default b/debian/hurd.hurd-console.default
index db67f3fa1..5dce49c34 100644
--- a/debian/hurd.hurd-console.default
+++ b/debian/hurd.hurd-console.default
@@ -16,7 +16,10 @@ if [ -f /etc/default/keyboard ]
 then
   . /etc/default/keyboard
 fi
-[ -z "$XKBLAYOUT" ] || KBD="$KBD --keymap $XKBLAYOUT"
+[ -z "$XKBMODEL" ] || KBD="$KBD --model $XKBMODEL"
+[ -z "$XKBLAYOUT" ] || KBD="$KBD --layout $XKBLAYOUT"
+[ -z "$XKBVARIANT" ] || KBD="$KBD --variant $XKBVARIANT"
+[ -z "$XKBOPTIONS" ] || KBD="$KBD --options $XKBOPTIONS"
 
 # The keyboard repeater.  Required for running X11.
 KBD_REPEAT='--repeat=kbd'
-- 
2.44.0


Reply via email to