diff options
Diffstat (limited to 'debian/hurd-console.default')
| -rw-r--r-- | debian/hurd-console.default | 18 |
1 files changed, 6 insertions, 12 deletions
diff --git a/debian/hurd-console.default b/debian/hurd-console.default index 3655eb70..db67f3fa 100644 --- a/debian/hurd-console.default +++ b/debian/hurd-console.default @@ -11,18 +11,12 @@ DISPLAY='-d vga' # console-driver-xkb package. KBD='-d pc_kbd' -# The alternative xkb keyboard driver, as provided by the -# console-driver-xkb package. It uses X11 style keymaps and supports -# different keymaps. Possible options are: -# --keymap: The keymap to use. By default en_US is used. Examples of -# some other keymaps are: fr, us, de, dvorak. -# --keymapfile: The file that hold the descriptions of the default -# keymaps file. This file holds the description of all keymaps. This -# path should be relative to the path set by `xkbdir'. By default -# "keymap/xfree86" is used. -# --xkbdir: The root directory of the xkb configuration, by default -# this is /etc/X11/xkb. -#KBD='-d xkb' +# this is bogus for a lot of cases, but the best we can do for now. +if [ -f /etc/default/keyboard ] +then + . /etc/default/keyboard +fi +[ -z "$XKBLAYOUT" ] || KBD="$KBD --keymap $XKBLAYOUT" # The keyboard repeater. Required for running X11. KBD_REPEAT='--repeat=kbd' |
