1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2024-10-28 17:19:47 +01:00
tldr/pages/linux/loadkeys.md

37 lines
699 B
Markdown
Raw Normal View History

2022-10-24 04:03:24 +02:00
# loadkeys
> Load the kernel keymap for the console.
> More information: <https://manned.org/loadkeys>.
- Load a default keymap:
`loadkeys --default`
2022-10-26 03:24:53 +02:00
- Load default keymap when an unusual keymap is loaded and `-` sign cannot be found:
`loadkeys defmap`
2022-10-24 04:03:24 +02:00
- Create a kernel source table:
`loadkeys --mktable`
- Create a binary keymap:
`loadkeys --bkeymap`
- Search and parse keymap without action:
`loadkeys --parse`
- Load the keymap suppressing all output:
`loadkeys --quiet`
2022-10-26 03:24:53 +02:00
- Load a keymap from the specified file for the console:
2022-10-24 04:03:24 +02:00
2022-10-26 03:24:53 +02:00
`loadkeys --console {{/dev/ttyN}} {{/path/to/file}}`
2022-10-24 04:03:24 +02:00
2022-10-26 03:24:53 +02:00
- Use standard names for keymaps of different locales:
2022-10-24 04:03:24 +02:00
2022-10-26 03:24:53 +02:00
`loadkeys --console {{/dev/ttyN}} {{uk}}`