keyboard configuration

created onJanuary 20, 2022

During the installation of the base system, the keyboard configuration file is generated with the model and primary layout definition. To adapt the keyboard configuration, edit this file.

configuration for primary and secondary language

Example for a configuration in for a standard PC keyboard with German and Russian keyboard layout, Windows key for toggling between German and Russian keyboard layout and the scroll lock LED as an indicator for the Russian keyboard layout being active:

# KEYBOARD CONFIGURATION FILE # Consult the keyboard(5) manual page. XKBMODEL="pc105" XKBLAYOUT="de,ru" XKBVARIANT="" XKBOPTIONS="grp:lwin_toggle,grp_led:scroll" BACKSPACE="guess"

The values for the fields in are listed in in the following sections:

  • XKBMODEL: section
  • XKBLAYOUT: section
  • XKBVARIANT: section
  • XKBOPTIONS: section

The XKBOPTIONS for toggling between german and russian layout are:

  • grpl:win_toggle : switch to another layout with left windows key
  • grp_led:scroll : use scroll lock LED to indicate alternative layout is active

Changes to are activated on the next boot or reboot. To activate the changes without rebooting, run:

udevadm trigger --subsystem-match=input --action=change