mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 18:28:12 +00:00
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
This commit is contained in:
parent
ee41d6e154
commit
7b50d3cda4
1 changed files with 10 additions and 4 deletions
|
@ -5,7 +5,7 @@ keymap - load a keyboard layout
|
|||
## Synopsis
|
||||
|
||||
```**sh
|
||||
# keymap <name|file>
|
||||
# keymap [name|file]
|
||||
```
|
||||
|
||||
## Description
|
||||
|
@ -16,13 +16,19 @@ 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
|
||||
$ keymap en-us
|
||||
```
|
||||
|
||||
Load a keyboard layout using a file:
|
||||
```sh
|
||||
# keymap /res/keymaps/en-us.json
|
||||
# keymap ./map.json
|
||||
$ keymap /res/keymaps/en-us.json
|
||||
$ keymap ./map.json
|
||||
```
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue