docs/doc/source/system_configuration/console-keyboard-mapping.rst
Drake Finlay 54ec38e256 Adding System Config Guide
Incorporated patchset 8 review comments from Mary C.

Conditionalized vendor-specific terms and converted code-block to
parsed-literal as required
Reformatted bulleted lists to definition lists
Implemented abbreviation substitutions
Deleted duplicate content
Some minor edits for clarity
Merged new abbreviation definitions in strings.txt

Responding to Patch 5 comments.

Change-Id: If6dd7c4cb802036445cb65853d8de7652df351c0
Signed-off-by: Stone <ronald.stone@windriver.com>
2020-12-21 13:28:54 -05:00

1.2 KiB

Console Keyboard Mapping

You can change the keyboard layout settings used on the text console for a node.

You can log in to the console using the US keyboard layout and then change the keyboard settings, if required. Use the following CLI commands to change the keyboard layout settings on your keyboard:

To display the current console keyboard settings that are configured for the virtual console:

$ localectl status

For example,

System Locale:LANG=en_US.UTF-8
VC Keymap:us
X11 Layout:n/a

To check if a keyboard layout can be configured on your system, for example:

$ localectl list-keymaps|fgrep 106
jp 106

To set the console keyboard layout, use the following syntax:

$ sudo localectl set-keymap <mapping-name>

For example, to use jp106:

$ sudo localectl set-keycap jp106
$ localectl status
  System Locale:LANG=en_US.UTF-8
  VC Keymap:jp106
  X11 Layout:jp
  X11 Model:jp106
  X11 Options:terminate:ctrl_alt_bksp