1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-05 21:35:22 +02:00
tldr/pages/linux/loadkeys.md
2025-05-11 21:17:02 +03:00

37 lines
777 B
Markdown

# loadkeys
> Load the kernel keymap for the console.
> See also: `localectl`.
> More information: <https://manned.org/loadkeys>.
- Load a specific keyboard layout for the current console:
`sudo loadkeys {{en|de|fi|dvorak|...}}`
- Load a default keymap:
`sudo loadkeys {{[-d|--default]}}`
- Create a kernel source table:
`loadkeys {{[-m|--mktable]}}`
- Create a binary keymap:
`loadkeys {{[-b|--bkeymap]}}`
- Search and parse keymap without action:
`loadkeys {{[-p|--parse]}}`
- Load the keymap suppressing all output:
`loadkeys {{[-q|--quiet]}}`
- Set a keymap for a specific console:
`sudo loadkeys {{[-C|--console]}} {{/dev/ttyN}} {{uk}}`
- Load a keymap from the specified file for the console:
`loadkeys {{[-C|--console]}} {{/dev/ttyN}} {{/path/to/file}}`