Wednesday 21 December 2011

Change keyboard layout in BackTrack 5 R1 to German

After installing BackTrack 5 R1, I had to change the keyboard Layout in the Terminal, because it was set to English. With two commands the keyboard layout can be changed permanently:

#sudo /usr/sbin/locale-gen de_DE.UTF-8

#sudo /usr/sbin/update-locale LANG=de_DE.UTF-8

By executing locale, the configuration can be checked. It should look like this:


root@bt:/# locale
LANG=de_DE.UTF-8
LC_CTYPE="de_DE.UTF-8"
LC_NUMERIC="de_DE.UTF-8"
LC_TIME="de_DE.UTF-8"
LC_COLLATE="de_DE.UTF-8"
LC_MONETARY="de_DE.UTF-8"
LC_MESSAGES="de_DE.UTF-8"
LC_PAPER="de_DE.UTF-8"
LC_NAME="de_DE.UTF-8"
LC_ADDRESS="de_DE.UTF-8"
LC_TELEPHONE="de_DE.UTF-8"
LC_MEASUREMENT="de_DE.UTF-8"
LC_IDENTIFICATION="de_DE.UTF-8"
LC_ALL=

In BackTrack 5 R1 this worked for me, but not in R3.

In BackTrack 5 R3 I needed to execute:

# dpkg-reconfigure console-setup

Then I was able to change the keyboard layout. 

No comments:

Post a Comment