Keyboard layouts, variants and options


The easiest way to control the keyboard layout is localectl, because that is the one-tool-for-all-solution.

However if you haven’t that installed or available on your OS, you can probably find the available keyboard layouts in the manual:


available layouts, variants and models can be found with



reset keyboard options (like caps:none or caps:swapescape)

man setxkbmap says: If you want to replace all previously specified options, use the -option flag with an empty argument first.

Autorepeat when holding keys

This makes backspace and the cursor keys more enjoyable and is called Typematic Rate Setting in some BIOS:

Apply changes permanently


Real terminal users need another toolchain.

Configuration files

To make changes permanent (surviving a reboot):