# libxkbcommon
**Repository Path**: lenge31/libxkbcommon
## Basic Information
- **Project Name**: libxkbcommon
- **Description**: source from https://github.com/xkbcommon/libxkbcommon.git
- **Primary Language**: Unknown
- **License**: MIT
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 0
- **Created**: 2025-10-21
- **Last Updated**: 2026-02-11
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
# libxkbcommon
**libxkbcommon** is a keyboard keymap compiler and support library which
processes a reduced subset of keymaps as defined by the [XKB] \(X Keyboard
Extension) specification. It also contains a module for handling *Compose*
and dead keys, a separate *registry* library for listing available keyboard
layouts and a fair set of CLI *tools*.
[XKB]: doc/introduction-to-xkb.md
## Quick Guide
- [Introduction to XKB][XKB]: to learn the essentials of XKB.
- [User-configuration](doc/user-configuration.md): instructions to add
a *custom layout* or option.
- [Keymap format](doc/keymap-text-format-v1-v2.md): keymap components and keymap
text syntax documentation.
- [Library quick Guide](doc/quick-guide.md): introduction on how to use
this library.
- [Tools](./README.md#tools): introduction to the `xkbcli` application.
- [Release notes](doc/release-notes.md).
- [Frequently Asked Question (FAQ)](doc/faq.md).
## Building
libxkbcommon is built with [Meson](http://mesonbuild.com):
```bash
meson setup build
meson compile -C build
meson test -C build # Run the tests.
```
To build for use with Wayland, you can disable X11 support while still
using the X11 keyboard configuration resource files thusly:
```bash
meson setup build \
-Denable-x11=false \
-Dxkb-config-root=/usr/share/X11/xkb \
-Dx-locale-root=/usr/share/X11/locale
meson compile -C build
```
Complete list of user options
@include meson_options.txt
tools, grouped under the xkbcli application:
xkbcli compile-keymapxkbcli compile-composexkbcli how-to-typexkbcli interactive-waylandxkbcli interactive-x11xkbcli interactive-evdevxkbcli dump-keymap-waylandxkbcli dump-keymap-x11xkbcli list