View Full Version : How do I change the keyboard layout for terminal login.

02-24-2003, 12:40 AM
I have installed Knoppix to my hard disk and have successfully updated the KDE settings from the default German to a UK layout.

The problem is that if I login to a non graphical terminal screen (CTRL-ALT-F1 etc.), the keyboard layout reverts to German, and I can't login because my password contains symbols that are now in a different place!

How do I fix this?


02-24-2003, 01:40 AM
Look at this thread:
I am not at a knoppix box now, but look in /usr/share/locales/i18n/en_GB and you should find the info to use for your system default env file. Compare what is in the en_GB file with what I used from the en_US file.



09-16-2003, 02:07 PM
I tried RockMumbles solution but /usr/share/locale/i18n/en_GB just seems to be a directory full of .mo (message files I think).
I've modified my /etc/sysconfig/i18n file to have "en" and "en_GB" instead of "de"/"de_DE" or "en"/"en_US" (because I wondered if I was in English but with a US keyboard map).
I really like knoppix but I like to have a nice working command line when I log in.
Has anyone else found any kind of fix for this elsewhere? :)

09-17-2003, 01:45 PM
the keyboard is determined by a script.


as root, edit the line:

loadkeys /usr/share/keymaps/i386/qwerty/us.kmap.gz

(I guess you want uk.keymap.gz)

and run

/etc/init.d/keymap.sh reload

(alter to suit the keymap you want)

09-17-2003, 05:53 PM
I tried fingers99 fix (I found it on http://www.knoppix.net/forum/viewtopic.php?t=310) and it definitely did the trick for me. :D