setxkbmap
Set the keyboard using the X Keyboard Extension. More information: https://manned.org/setxkbmap.
- 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'}}
- Get help:
setxkbmap -help
- List all layouts:
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:
This is a tldr pages (source, CC BY 4.0) web wrapper for cheat-sheets.org. All commands, popular commands, most used linux commands. Referrals. Progressive Web Application (PWA) version to install on your device.