In short: Is X.org a dependency of Libinput?

Rephrased, can libinput work standalone?

The question is mostly about hacking around with some input devices. I'm trying to route USB/PS1/Bluetooth input through a headless raspberry pi. I want this to be as generic as possible, while keeping my installation as minimal as possible.

1 Answer 1


According to the manpages:

libinput  is  a  library  to  handle input devices and provides device detection and input
device event processing for most Wayland compositors  and  the  X.Org  xf86-input-libinput

The  libinput  tools  are  a  set  of  tools to debug, interface with and analyze data for
libinput. These tools create libinput contexts separate  from  that  of  the  compositor/X
server  and  cannot change settings in a running session.  See section COMMANDS for a list
of available commands.

libinput's API documentation and details on features and various high-level  concepts  are
available online at https://wayland.freedesktop.org/libinput/doc/latest/

The man page for the X.Org xf86-input-libinput driver is libinput(4).
  • So to answer my question: no, it doesn't need X?
    – J-Cake
    Oct 12, 2021 at 0:27
  • 1
    No it doesn't. You can look up dependencies on packages.ubuntu.com.
    – Nmath
    Oct 12, 2021 at 1:24
  • Perfect. Thanks so much
    – J-Cake
    Oct 12, 2021 at 3:05

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.