Skip to content

Linux: windowed examples panic on stock Ubuntu — libxkbcommon-x11.so missing #3

Closed

Description

@ImBIOS

Linux-only QA finding (stock Ubuntu 24.04, Xvfb + Lavapipe).

Every windowed example panics at startup:

$ xvfb-run -a ./target/debug/settings
thread 'main' panicked at xkbcommon-dl-0.4.2/src/x11.rs:59:28:
Library libxkbcommon-x11.so could not be loaded.

libxkbcommon-x11-0 is not installed by default. After sudo apt-get install -y libxkbcommon-x11-0 the app starts cleanly, stays alive with an empty (error-free) log, and renders — verified with settings. Headless --snap runs never hit this (no windowing), so Linux contributors following the README's Run section hit a wall on their first windowed launch.

Nothing in the repo documents Linux system dependencies (no apt mentions anywhere). Opening a docs PR adding a Linux prerequisites note under the Run section.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions