Jump to content











Photo
- - - - -

grub4dos and country-specific keyboard


  • Please log in to reply
No replies to this topic

#1 ktp

ktp

    Silver Member

  • Advanced user
  • 773 posts

Posted 24 September 2007 - 04:29 AM

In menu.lst, I can switch between French and US keyboard layout by using the following menu.
If you want to make it the default, just include the lines after "title" line at
start of your menu.lst. You might want to modify the content to adapt to your national specific keyboard.

# change to French keyboard

title Change to French keyboard (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

# change to US keyboard (QWERTY)

title Change to US keyboard (qwerty)

setkey





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users