1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-18 00:35:07 +00:00
serenity/Base/usr/share/man/man1/keymap.md
Timur Sultanov 6edb34aa56 Base: Update keymap man page to include new functionality
Adding examples on how to use keymap tool to set a list of keymaps
2022-02-03 00:47:22 +01:00

33 lines
491 B
Markdown

## Name
keymap - load a keyboard layout
## Synopsis
```**sh
$ keymap [--set-keymap keymap] [--set-keymaps keymaps]
```
## Description
The `keymap` utility can be used to configure the list of selected keyboard layout and switch between them.
Layouts loaded from `/res/keymaps/*.json`.
## Examples
Get name of the currently set keymap:
```sh
$ keymap
en-us
```
Select a new list of keymaps:
```sh
$ keymap --set-keymaps en-us,ru
```
Set a keymap:
```sh
$ keymap --set-keymap ru
```