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

Bug#290035: grub-installer: Should install a menu.lst file with a pseudo-mapping of the chosen keyboard map

Package: grub-installer
Severity: wishlist

At the moment GRUB is run, no keymap is loaded for handling layouts not
being US keymaps.

GRUB includes an interesting keymapping feature which allow using a "setkey"
command which allow to redefine the keyboard layout.

I suggest implementing a way to add such mapping in menu.lst. The could be
done by having special files named after the console-data keymaps, which
would be incorporated in menu.lst, depending on the chosen keymap.

For instance, this in a file name fr-latin9.map;

# pour un clavier azerty :
setkey less backquote
setkey greater tilde
setkey ampersand 1
setkey 1 exclam
setkey tilde 2
setkey 2 at
setkey doublequote 3
setkey 3 numbersign
setkey quote 4
setkey 4 dollar
setkey parenleft 5
setkey 5 percent
setkey minus 6
setkey 6 caret
setkey backquote 7
setkey 7 ampersand
setkey underscore 8
setkey 8 asterisk
setkey backslash 9
setkey 9 parenleft
setkey at 0
setkey 0 parenright
setkey parenright minus
setkey numbersign underscore
# no change for equal
# no change for plus
setkey a q
setkey A Q
setkey z w
setkey Z W
setkey caret bracketleft
# no equivalent for diaresis => we keep the US braceleft
setkey dollar bracketright
# no equivalent for pound => we keep the US braceright
setkey q a
setkey Q A
setkey m semicolon
setkey M colon
setkey bracketleft quote
setkey percent doublequote
setkey asterisk backslash
setkey bracketright bar
setkey w z
setkey W Z
setkey comma m
setkey question M
setkey semicolon comma
setkey period less
setkey colon period
setkey slash greater
setkey exclam slash
setkey bar question

Adding the mechanism for that would be great. Then translators and other
such involved people will be able to write such .map files, named after the
keymap name. For instance, the above could be named fr-latin9.map AND

This bug report is mostly aimed at recording this potential enhancement.
This is of course low priority and to be put in the "nice feature to have"

-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.9-1-686
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to fr_FR.UTF-8)

Reply to: