A short description of how to change the keyboard layout from the console on different Linux distributions:
Debian
See my separate post regarding this.
SLES or OpenSuSE
Use loadkeys:
# sudo loadkeys de Loading /usr/share/kbd/keymaps/i386/qwertz/de.map.gz assuming iso-8859-15 euro
Ubuntu
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
Fedora
You can use:
loadkeys de
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
Puppy Linux
As for Fedora, loadkeys should work. If not use setxkbmap.