XKBCLI-HOW-TO-TYPE(1)
β¨ xkbcli-how-to-type β the "how do i even TYPE this" oracle β¨
okay bestie, welcome to xkbcli-how-to-type, part of the General Commands Manual squad π she's literally the friend who tells you exactly which keys to smash to get a character. no cap.
πΈ NAME πΈ
xkbcli-how-to-type β query how to type a given Unicode code point or keysym π
π¦ SYNOPSIS π¦
xkbcli-how-to-type [options] character/code point/keysym
that's it, that's the vibe. one lil argument and a pile of options π«Ά
π 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. she's showing you the recipe, not just the dish β¨
so, code point/keysym can be any of these three things:
- a single character (and heads up, this requires a terminal which uses UTF-8 character encoding β if your terminal is stuck in the past, this one ain't happening π)
- a Unicode code point, interpreted as hexadecimal if prefixed with
0xorU+, else as decimal - a keysym, if either of the previous interpretations failed or if
--keysymis used. the parameter is then either a keysym name or a numeric value (hexadecimal if prefixed with0x, else decimal). and note that values0β9are special: they are both names and numeric values. the default interpretation is names; use the hexadecimal form0x0β0x9in order to interpret as numeric values. iykyk π₯
π 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 defaultuslayout. π
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 defaultuslayout. π
like. she literally ate that. same letter, two totally different readings, depending on whether you meant a code point or a keysym π§
π OPTIONS π
--keysymβ Treat the argument as only as a keysym.--disable-composeβ Disable Compose support. bye compose, we're going raw π--formatkeymap_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. yes bestie, she'll slurp it straight from stdin π«Ά--rulesrules β The XKB ruleset.--modelmodel β The XKB model.--layoutlayout β The XKB layout.--variantvariant β The XKB layout variant.--optionsoptions β The XKB options.--enable-environment-namesβ Allow to set the default RMLVO values via the following environment variables:XKB_DEFAULT_RULESXKB_DEFAULT_MODELXKB_DEFAULT_LAYOUTXKB_DEFAULT_VARIANTXKB_DEFAULT_OPTIONS
Note that this option may affect the default values of the previous options. β οΈ like, she's not just reading the env, she's letting the env change her defaults. plot twist.
--verboseβ Enable verbose debugging output. she starts oversharing π--helpβ Print a help message and exit.
π SEE ALSO π
xkbcli(1)- The libxkbcommon online documentation: https://xkbcommon.org
go read the docs bestie, they're iconic β
Debian Β· September 11, 2024 β that's the source, version and date, mwah π stay slay, go type something weird πβ¨π¦
π¦ where this page comes from
- alpine 3.23: xkbcli-doc 1.12.2-r0 Β· MIT AND MIT-open-group AND HPND AND HPND-sell-variant AND LicenseRef-digital-equipment-corporation
- alpine 3.24: xkbcli-doc 1.13.1-r0 Β· MIT AND MIT-open-group AND HPND AND HPND-sell-variant AND LicenseRef-digital-equipment-corporation
- arch rolling: libxkbcommon 1.13.2-1 Β· MIT
- fedora 44: libxkbcommon-utils 1.13.1-2.fc44 Β· MIT AND X11 AND MIT-CMU
- nixos 26.05: libxkbcommon 1.13.1
- nixpkgs unstable: libxkbcommon 1.13.2
- ubuntu resolute: libxkbcommon-tools 1.13.1-1
- ubuntu stonking: libxkbcommon-tools 1.13.1-1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms