setxkbmap
Set the keyboard using the X Keyboard Extension.
- Set the keyboard in French AZERTY:
setxkbmap {fr}
- Set multiple keyboard layouts, their variants and switching option:
setxkbmap -layout {us,de} -variant {,qwerty} -option {'grp:alt_caps_toggle'}
setxkbmap -help
localectl list-x11-keymap-layouts
- List variants for the layout:
localectl list-x11-keymap-variants {de}
- List available switching options:
localectl list-x11-keymap-options | grep grp:
Copyright © 2014—present the tldr-pages team and contributors.
This work is licensed under the Creative Commons Attribution 4.0 International License (CC-BY).