1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-23 14:05:07 +00:00
serenity/Base/usr/share/man/man1/keymap.md
Linus Groh 7b50d3cda4 Base: Update keymap(1) manpage
- Keymap name/file is now optional
- No root shell required (/bin/keymap is setuid root)
- Add example for getting the current keymap name
2021-02-02 16:53:11 +01:00

513 B

Name

keymap - load a keyboard layout

Synopsis

# keymap [name|file]

Description

The keymap utility can be used to set a keyboard layout using the given name or file.

Loading by name will search for keyboard layout files in /res/keymaps/*.json.

Examples

Get name of the currently loaded keymap:

$ keymap
en-us

Load a keyboard layout by name:

$ keymap en-us

Load a keyboard layout using a file:

$ keymap /res/keymaps/en-us.json
$ keymap ./map.json