bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH debian hurd] Change default hurd console configuration


From: Etienne Brateau
Subject: [PATCH debian hurd] Change default hurd console configuration
Date: Sun, 10 Mar 2024 00:58:44 +0100

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

[Prev in Thread] Current Thread [Next in Thread]