xkbcli-how-to-type - Man Page

query how to type a given Unicode code point or keysym

Synopsis

xkbcli-how-to-type[options] character/code point/keysym

Description

xkbcli-how-to-type prints the key combinations (keycode + modifiers) in the keymap’s layouts which would produce the given Unicode code point or keysym.

code point/keysym is either:

Examples

xkbcli-how-to-type --layout us 97
xkbcli-how-to-type --layout us 0x61
xkbcli-how-to-type --layout us U+0061
xkbcli-how-to-type --layout us a

Print the key combinations that produce the letter “a” (decimal code point: 97, hexadecimal code point: 61) in the default us layout.

xkbcli-how-to-type --layout us --keysym 97
xkbcli-how-to-type --layout us --keysym 0x61
xkbcli-how-to-type --layout us --keysym a

Print the key combinations that produce the keysym “a” (decimal code: 97, hexadecimal code: 61) in the default us layout.

Options

--keysym

Treat the argument as only as a keysym

--disable-compose

Disable Compose support

--format keymap_format

Specify the keymap format (numeric or label, e.g. “v1”)

--keymap [= PATH]

Load the XKB keymap from a file, ignore RMLVO options. If PATH is empty or “-”, read the stdin.

--rules rules

The XKB ruleset

--model model

The XKB model

--layout layout

The XKB layout

--variant variant

The XKB layout variant

--options options

The XKB options

--enable-environment-names

Allow to set the default RMLVO values via the following environment variables:

Note that this option may affect the default values of the previous options.

--verbose

Enable verbose debugging output

--help

Print a help message and exit.

See Also

xkbcli(1), The libxkbcommon online documentation

Referenced By

xkbcli(1).

September 11, 2024