XKBCLI-COMPILE-KEYMAP(1)

πŸ“¦
version 1.13.2 Β· 5 versions
, in alpine 3.23, alpine 3.24, arch rolling, fedora 44, nixos 26.05, nixpkgs unstable, ubuntu resolute, ubuntu stonking

✨ NAME ✨

xkbcli-compile-keymap β€” bestie, this is the little icon that compiles an X Keyboard keymap πŸ’… (it's from the xkbcli-compile-keymap(1) club, General Commands Manual energy, and we're obsessed)


πŸ¦‹ SYNOPSIS πŸ¦‹

xkbcli-compile-keymap [options] [KEYMAP_PATH]

🌸 DESCRIPTION 🌸

Okay so. xkbcli-compile-keymap compiles a keymap β€” using whatever options you hand it β€” and then prints it out. That's the whole vibe. Compile, print, slay. ✨

πŸ’– KEYMAP_PATH

  • KEYMAP_PATH β€” the path to a keymap file, or "-" if you wanna read from the standard input instead. - is giving "I'm piping things, don't perceive me" πŸ™ˆ

πŸŽ€ THE OPTIONS (yes, all of them, no skips)

  • --help β€” prints the help and then exits. Short, sweet, iconic.
  • --verbose β€” turns on verbose debugging output. She's chatty and we respect it πŸ’œ
  • --test β€” tests the compilation but does not print the keymap. Just a lil vibe check, no receipts.
  • --rmlvo β€” prints the full RMLVO, with the defaults filled in for any elements you left out, in YAML format. No element left behind 🫢
  • --kccgst β€” prints a keymap that only includes the KcCGST component names, instead of the whole entire full keymap. The minimalist queen.
  • --kccgst-yaml β€” same KcCGST component names, but in YAML format. She put on a fit πŸ’…
  • --modmaps β€” prints the real and virtual key modmaps plus the modifiers encodings, in YAML format. So much information, so much formatting ✨
  • --include PATH β€” adds the given path to the include path list. This option is order-dependent β€” include paths given first get searched first, first come first served, periodt. Also important: if you give an include path, the default include path list is not used. So if you still want those, use --include-defaults to add the default include paths back in.
  • --include-defaults β€” adds the default set of include directories. Also order-dependent β€” include paths given first are searched first. Order matters, bestie, it always does.
  • --input-format keymap_format β€” the keymap format for parsing. Numeric or label, e.g. "v1".
  • --output-format keymap_format β€” the keymap format for serializing. Numeric or label, e.g. "v1".
  • --format keymap_format β€” the keymap format for both parsing and serializing. Two birds, one flag. Numeric or label, e.g. "v1".
  • --no-pretty β€” disables pretty-printing for keymap serialization. Rough draft mode, no filter 😭
  • --drop-unused β€” disables unused bits serialization.
  • --keymap [PATH], --from-xkb [PATH] β€” loads the XKB keymap from a file and ignores the 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 β€” allows you to set the default RMLVO values through these environment variables right here:
    • XKB_DEFAULT_RULES
    • XKB_DEFAULT_MODEL
    • XKB_DEFAULT_LAYOUT
    • XKB_DEFAULT_VARIANT
    • XKB_DEFAULT_OPTIONS
Heads up bestie: this option may affect the default values of the previous options. πŸ‘€ So don't be shocked when the defaults move.

πŸ‘‘ SEE ALSO πŸ‘‘


okay that's the whole page, you ate that πŸ’– and a lil sign-off for the girlies: this one's brought to you by Debian, dated June 4, 2024 β€” the XKBCLI-COMPILE-KEYMAP(1) moment of the century, fr fr. go compile something cute 🌈✨

πŸ“¦ where this page comes from