1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-23 20:15:06 +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

34 lines
513 B
Markdown

## Name
keymap - load a keyboard layout
## Synopsis
```**sh
# 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:
```sh
$ keymap
en-us
```
Load a keyboard layout by name:
```sh
$ keymap en-us
```
Load a keyboard layout using a file:
```sh
$ keymap /res/keymaps/en-us.json
$ keymap ./map.json
```