2019-10-03 11:23:34 +01:00
|
|
|
# setxkbmap
|
|
|
|
|
|
|
|
> Set the keyboard using the X Keyboard Extension.
|
|
|
|
|
|
|
|
- Set the keyboard in French AZERTY:
|
|
|
|
|
|
|
|
`setxkbmap {{fr}}`
|
|
|
|
|
2019-10-11 19:58:42 +01:00
|
|
|
- Set multiple keyboard layouts, their variants and switching option:
|
|
|
|
|
|
|
|
`setxkbmap -layout {{us,de}} -variant {{,qwerty}} -option {{'grp:alt_caps_toggle'}}`
|
|
|
|
|
2019-10-03 11:23:34 +01:00
|
|
|
- Get help:
|
|
|
|
|
|
|
|
`setxkbmap -help`
|
2019-10-11 19:58:42 +01:00
|
|
|
|
|
|
|
- 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:`
|