xkbcommon 1.14.0-beta2
Reference library implementing the XKB specification for parsing keyboard descriptions and handling keyboard state
Loading...
Searching...
No Matches
Prose naming conventions

How to refer to the project, its libraries, and its tools in prose.

Note
Technical names (pkg-config modules, header paths, sonames) are fixed and not subject to the following rules.

Rule

Default to xkbcommon. Use a lib… artifact name only when one of these triggers applies:

  1. Disambiguation: a sibling library is actually named in the same context.
  2. Artifact specificity: the statement is about a compiled artifact, -dev package, or link flag — something you could point to a file for.

    The lib prefix marks the artifact's canonical/package identity matching its .pc name, not a literal on-disk filename: MSVC builds, for example, produce .lib files without the lib prefix.

Sub-libraries xkbcommon-x11, xkbregistry use their bare name in all prose; add lib only for trigger 2.

Quick reference

Quick project naming reference
TermWhenExamples
xkbcommonDefault: project reference, capabilities statements, API documentation, FAQ answers, shared version numbers and @since tags, external comparisons; symbol mentions with no sibling in context.

xkbcommon supports RMLVO lookups since 1.14

xkbcommon supports 32-bit keycodes, contrary to the X11 protocol with keycodes only up to 255

xkb_context_new() is part of xkbcommon

libxkbcommon

A sibling library is named in the same context (trigger 1); the compiled .so / -dev package (trigger 2); library-specific release notes entries.

xkb_context_new() is part of libxkbcommon, rxkb_context_new() of libxkbregistry

libxkbcommon.so

libxkbcommon-dev package

xkbcommon-x11, xkbregistryAny prose reference: these names do not collide with anything else, so no disambiguation is ever needed.

xkbcommon-x11 queries the X server directly

libxkbcommon-x11, libxkbregistryReference to a specific compiled artifact/package (trigger 2).

ships as libxkbcommon-x11.so

xkbcliAlways (unambiguous)

Use xkbcli to inspect a keymap

XKBThe protocol/specification/format only: never a library

the XKB keymap format

xkbcompThe external X11 tool: not part of this project, never a trigger-1 sibling.

xkbcomp vs. xkbcommon

Specific rules

Versions & release notes.

All libraries share one release. Name releases “xkbcommon X.Y”; keep @since tags bare. In NEWS.md, name a specific library only when a change is limited to it; build/CI/docs entries stay unnamed or say “xkbcommon”.

README & top-level docs.

Title and refer to the project as “xkbcommon”. The repository name libxkbcommon doesn’t determine the prose name.

Future language bindings (libxkbcommon-<lang>).
Use the lib prefix for the repository name only. Let each language ecosystem pick its own published package name. In prose: “xkbcommon bindings for <lang>”.