mirror of
https://github.com/tldr-pages/tldr.git
synced 2024-11-14 19:01:35 +03:00
28 lines
533 B
Markdown
28 lines
533 B
Markdown
# 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'}}`
|
|
|
|
- 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:`
|