Skip to content

loadkeys: refresh page #16308

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 13 additions & 12 deletions pages/linux/loadkeys.md
Original file line number Diff line number Diff line change
@@ -1,36 +1,37 @@
# loadkeys

> Load the kernel keymap for the console.
> See also: `localectl`.
> More information: <https://manned.org/loadkeys>.

- Load a default keymap:
- Load a specific keyboard layout for the current console:

`loadkeys --default`
`sudo loadkeys {{en|de|fi|dvorak|...}}`

- Load default keymap when an unusual keymap is loaded and `-` sign cannot be found:
- Load a default keymap:

`loadkeys defmap`
Comment on lines -10 to -12
Copy link
Collaborator Author

@Managor Managor Apr 30, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wasn't able to get this working on Arch. Let me know if you can get it to work.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pinging @DEBADRIBASAK in case they can explain.

`sudo loadkeys {{[-d|--default]}}`

- Create a kernel source table:

`loadkeys --mktable`
`loadkeys {{[-m|--mktable]}}`

- Create a binary keymap:

`loadkeys --bkeymap`
`loadkeys {{[-b|--bkeymap]}}`

- Search and parse keymap without action:

`loadkeys --parse`
`loadkeys {{[-p|--parse]}}`

- Load the keymap suppressing all output:

`loadkeys --quiet`
`loadkeys {{[-q|--quiet]}}`

- Load a keymap from the specified file for the console:
- Set a keymap for a specific console:

`loadkeys --console {{/dev/ttyN}} {{/path/to/file}}`
`sudo loadkeys {{[-C|--console]}} {{/dev/ttyN}} {{uk}}`

- Use standard names for keymaps of different locales:
- Load a keymap from the specified file for the console:

`loadkeys --console {{/dev/ttyN}} {{uk}}`
`loadkeys {{[-C|--console]}} {{/dev/ttyN}} {{/path/to/file}}`