A short description of how to change the keyboard layout from the console on different Linux distributions:
# sudo loadkeys de Loading /usr/share/kbd/keymaps/i386/qwertz/de.map.gz assuming iso-8859-15 euro
Use loadkeys as for SLES or OpenSuSE.
Note that you may first need to install console-tools by using:
sudo apt-get install console-tools
You can use:
If you are in a terminal window in X-Windows, it will not work and you’ll need to do the following:
setxkbmap -layout de
As for Fedora, loadkeys should work. If not use setxkbmap.