tldr/pages/linux/loadkeys.md

37 lines
699 B
Markdown
Raw Normal View History

2022-10-24 03:03:24 +01:00
# loadkeys
> Load the kernel keymap for the console.
> More information: <https://manned.org/loadkeys>.
- Load a default keymap:
`loadkeys --default`
2022-10-26 02:24:53 +01:00
- Load default keymap when an unusual keymap is loaded and `-` sign cannot be found:
`loadkeys defmap`
2022-10-24 03:03:24 +01: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 02:24:53 +01:00
- Load a keymap from the specified file for the console:
2022-10-24 03:03:24 +01:00
2022-10-26 02:24:53 +01:00
`loadkeys --console {{/dev/ttyN}} {{/path/to/file}}`
2022-10-24 03:03:24 +01:00
2022-10-26 02:24:53 +01:00
- Use standard names for keymaps of different locales:
2022-10-24 03:03:24 +01:00
2022-10-26 02:24:53 +01:00
`loadkeys --console {{/dev/ttyN}} {{uk}}`