Linux: Switch keyboard layout in (bash) shell

Hi,

linux allows to change the keybaord layout “on the fly”.

To change the layout use the loadkeys command. The keyboard definitions are stored unter /usr/share/keymaps/. On the PC architecture use the i386 folder.

For example. CHange the layout to german:

michael@debdev ~ # loadkeys /usr/share/keymaps/i386/qwertz/de-latin1

or to english

michael@debdev ~ # loadkeys /usr/share/keymaps/i386/qwerty/us

Note: This is not persistent and only affects the shell in which loadkeys is executed.

Michael

Leave a Reply Cancel reply