Skip to content

doc: Use libxkbcommon for explicit library references#1006

Draft
wismill wants to merge 1 commit into
xkbcommon:masterfrom
wismill:doc/fix-lib-and-project-name-confusion
Draft

doc: Use libxkbcommon for explicit library references#1006
wismill wants to merge 1 commit into
xkbcommon:masterfrom
wismill:doc/fix-lib-and-project-name-confusion

Conversation

@wismill
Copy link
Copy Markdown
Member

@wismill wismill commented Mar 25, 2026

“xkbcommon” and “libxkbcommon” are both used throughout the code base to refer loosely to the library, which may bring some confusion (see #953).

The meta-project is xkbcommon and has currently two projects:

  • a library: libxkbcommon (the “xkbcommon library”). This is the historical project.
  • a CLI tool: xkbcli

I am also thinking to have some libxkbcommon-<lang> “official” bindings.

Fixed by using “libxkbcommon” instead of “xkbcommon” when referring explicitly to the library.

Fixes #953

TODO:

  • Update commit message

Caution

@fooishbar @bluetech @whot Is the naming distinction between project and lib actually correct? Digging in the git log it seems this confusion has been present since the early stages of the project.

I mean, we (devs) all understand the terms depending on their context, but it matters for third-party and search referencing.

“xkbcommon” and “libxkbcommon” are both used throughout the code base to
refer loosely to either the meta-project or the library, which may bring
some confusion (see [xkbcommon#953]).

The meta-project is xkbcommon and has currently two projects:
- a library: libxkbcommon (the “xkbcommon library”)
- a CLI tool: xkbcli

Fixed by using “libxkbcommon” instead of “xkbcommon” when referring
explicitly to the library.

[xkbcommon#953]: xkbcommon#953
@wismill wismill added this to the 1.14.0 milestone Mar 25, 2026
@wismill wismill added the documentation Indicates a need for improvements or additions to documentation label Mar 25, 2026
@whot
Copy link
Copy Markdown
Contributor

whot commented Mar 30, 2026

I think @fooishbar might have more info, in my head it was always libxbkcommon and i have to shift gear to think of it as xkbcommon - though that's the URL etc.

@wismill
Copy link
Copy Markdown
Member Author

wismill commented Apr 10, 2026

I’d been working on a library called xkbcommon.

etc. Source: https://www.fooishbar.org/blog/xkbcommon-intro/

@fooishbar
Copy link
Copy Markdown
Member

I’d always personally thought of the name as xkbcommon, but a) I sort of inherited it from Dan Nicholson, and b) this project hasn’t been my project for over 10 years now!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Indicates a need for improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Package name: xkbcommon versus libxkbcommon, including the default archive distributed by the github project here

3 participants