Linux: Switch keyboard layout in (bash) shell


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.


Advertisment to support

Leave a Reply

Your email address will not be published.

Time limit is exhausted. Please reload CAPTCHA.