XKeyboardConfig-2.46

#### Beyond Linux® From Scratch (systemd Edition) - Version 13.0

### Chapter 24. Graphical Environments

- Prev

  Xorg Fonts

- Next

  Xwayland-24.1.9

- Up
- Home

# XKeyboardConfig-2.46

## Introduction to XKeyboardConfig

The XKeyboardConfig package contains the keyboard configuration database for the X Window System.

### Note

This package is known to build and work properly using an LFS 13.0 platform.

### Package Information

- Download (HTTP): https://www.x.org/pub/individual/data/xkeyboard-config/xkeyboard-config-2.46.tar.xz

- Download MD5 sum: ca851f0e5bc0f52f2fb4629babc344c1

- Download size: 912 KB

- Estimated disk space required: 22 MB

- Estimated build time: 0.1 SBU (with tests)

### XKeyboardConfig Dependencies

#### Required

Xorg Libraries

#### Optional (required for tests)

libxkbcommon-1.13.1, pytest-9.0.2 with optionally xdist (speeds up the tests), and Xorg Applications

## Installation of XKeyboardConfig

Install XKeyboardConfig by running the following commands:

    mkdir build &&
    cd    build &&

    meson setup --prefix=$XORG_PREFIX --buildtype=release .. &&
    ninja

To test the results, issue: ninja test. Two tests, test_compat_layout[mapping39-base] and test_compat_layout[mapping39-evdev], are known to fail.

### Important

If upgrading from version 2.44 or earlier, the installation will fail if some files are not symbolic links. To fix this, run as the `root` user:

    if [ -d $XORG_PREFIX/share/X11/xkb ]; then
      rm -rf $XORG_PREFIX/share/X11/xkb
      rm -f  $XORG_PREFIX/share/man/man7/xkeyboard-config.7
      rm -f  $XORG_PREFIX/share/pkgconfig/xkeyboard-config.pc
    fi

Now, as the `root` user:

    ninja install

## Command Explanations

`--buildtype=release`: Specify a buildtype suitable for stable releases of the package, as the default may produce unoptimized binaries.

## Contents

Installed Programs: None
Installed Libraries: None
Installed Directory: `$XORG_PREFIX`/share/X11/xkb

- Prev

  Xorg Fonts

- Next

  Xwayland-24.1.9

- Up
- Home