setxkbmap
Set the keyboard using the X Keyboard Extension. tldr-pages
On Linux
Linux
Set the keyboard in French AZERTY
setxkbmap frIdentifySet multiple keyboard layouts, their variants, and switching option
setxkbmap -layout us,de -variant ,qwerty -option 'grp:alt_caps_toggle'IdentifyList all layouts
localectl list-x11-keymap-layoutsIdentifyList variants for the layout
localectl list-x11-keymap-variants deIdentifyList available switching options
localectl list-x11-keymap-options | grep grp:IdentifyDisplay help
setxkbmap -helpIdentify