Move pages under tldr, lint run.sh, update docs

This commit is contained in:
2024-02-21 13:58:43 +02:00
parent 3d653cc7e6
commit 2c475fa62d
4806 changed files with 36 additions and 35 deletions

33
tldr/linux/setxkbmap Normal file
View File

@@ -0,0 +1,33 @@
---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# 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:`