Linux: change the keyboard layout from the console

A short description of how to change the keyboard layout from the console on different Linux distributions:


See my separate post regarding this.

SLES or OpenSuSE

Use loadkeys:

# sudo loadkeys de
Loading /usr/share/kbd/keymaps/i386/qwertz/
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:

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.

Leave a Reply

Your email address will not be published. Required fields are marked *