# xinput mit Homebrew, apk, apt, dnf, MacPorts, Nix, zypper installieren

Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für xinput in AI-Agent-Workflows.

## Installation

```sh
sudo av install brew:xinput
```

Weitere Installationsbefehle:

### macOS

- Homebrew (100%):

```sh
brew install xinput
```

  Evidenz: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install xinput
```

  Evidenz: MacPorts ports tree: x11/xinput/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add xinput
```

  Evidenz: Alpine Linux edge package indexes: xinput from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install xinput
```

  Evidenz: Debian stable package indexes: xinput from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install xinput
```

  Evidenz: Fedora Rawhide package metadata: xinput from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#xinput
```

  Evidenz: nixpkgs package indexes: pkgs/by-name/xi/xinput/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- zypper (92%):

```sh
sudo zypper install xinput
```

  Evidenz: openSUSE Tumbleweed package metadata: xinput from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

## Paketfakten

- **Paketschlüssel:** brew:xinput
- **Paketmanager:** Homebrew
- **Version:** 1.6.4
- **Quellzusammenfassung:** Utility to configure and test X input devices
- **Homepage:** <https://gitlab.freedesktop.org/xorg/app/xinput>
- **Generiert:** 2026-08-03T19:37:03+00:00

## Executables

- xinput (Alias)

## Installationsverhalten

- Bottle: nicht verfügbar

## Version und Aktualität

- Seite generiert: 2026-08-03
- Manager-Version: 1.6.4
## Projektgeschichte und Nutzung

xinput is the X.Org command-line utility for inspecting, testing, and changing X Input extension devices. It is the terminal user's bridge to X11 keyboards, mice, touchpads, tablets, buttons, valuators, feedbacks, properties, and XI2 event testing.

### Projektgeschichte

The xinput manpage records a 1996-1997 copyright for Frederic Lepied, with later authors including Philip Langdale, Peter Hutterer, Julien Cristau, Thomas Jaeger, and others. That places the utility in the X Input extension lineage: a CLI companion to the protocol/library work that let X clients distinguish devices beyond the core keyboard and pointer.

The underlying X Input Extension was created to support additional input devices beyond the pointer and keyboard defined by the core X protocol. X Input 2 changed the model again: the XI2 specification lists the initial XI2 protocol release in October 2009, smooth scrolling/raw-event changes in December 2011, and multitouch support in March 2012. xinput's `--test_xi2` and property commands expose that newer input stack to users and maintainers.

### Adoptionsgeschichte

xinput became a standard troubleshooting and configuration tool for X11 desktops because input hardware became more complex than a keyboard and three-button mouse. Touchpads, tablets, external mice, button remaps, acceleration settings, device enable/disable state, and driver properties all created a need for a scriptable inspection tool.

Its adoption is mostly operational rather than glamorous: distribution wikis, support answers, and user dotfiles use xinput to discover device ids, list properties, change button maps, test event delivery, and patch input behavior at session startup. Under Wayland/XWayland its role is narrower, but for real Xorg sessions it remains the canonical package.

### Wie es verwendet wird

Common commands include listing devices, querying a device's long information, listing properties, setting a property, changing a button map, switching absolute/relative mode, watching property changes, and testing events. Device arguments may be names or X ids, and properties may be names or Atom values.

Package users reach for xinput when a touchpad is too sensitive, a mouse button needs remapping, a tablet reports unexpected axes, a device needs disabling for a session, or an X client is not receiving expected input events. It is both an everyday workaround tool and a developer diagnostic for the X Input extension.

### Warum Paket-Nerds sich dafür interessieren

xinput matters because it packages a complicated display-server protocol into a small CLI that can be pasted into bug reports and startup scripts. That is exactly the sort of utility package that keeps old subsystems maintainable.

It also marks the transition from the core X pointer/keyboard model to modern multi-device input. XI2 concepts such as device hierarchy, raw events, smooth scrolling, and multitouch are abstract protocol features; xinput is how many users first see them as concrete device ids and properties.

### Zeitleiste

- 1996-1997: the xinput manpage records Frederic Lepied's copyright.
- 2008: later xinput authorship/copyright credits include Philip Langdale.
- 2009-10: X Input Extension 2.0 is initially released, according to the XI2 protocol specification.
- 2011-12: XI2.1 adds new raw event behavior and smooth scrolling support.
- 2012-03: XI2.2 adds multitouch support.
- 2018-07-29: the xorg/app/xinput project appears in freedesktop.org GitLab metadata.

### Related projects

- libXi is the X Input extension client library documented by X.Org.
- The X Input Extension and XI2 protocol are the underlying protocol layers xinput exercises.
- Xorg is the server whose input devices and properties xinput queries and changes.
- xinput-gui is a small graphical wrapper around xinput for users who want immediate property editing.

### Quellen

- <https://gitlab.freedesktop.org/api/v4/projects/xorg%2Fapp%2Fxinput>
- <https://gitlab.freedesktop.org/xorg/app/xinput>
- <https://xorg.freedesktop.org/archive/X11R7.5/doc/man/man1/xinput.1.html>
- <https://xorg.freedesktop.org/archive/X11R7.7/doc/inputproto/XI2proto.txt>
- <https://xorg.freedesktop.org/releases/X11R7.7/doc/libXi/inputlib.html>


## Sicherheitshinweise

narrow executable package without higher-risk signals.

- **Geiger-Risiko:** grün / niedrig
- narrow executable package without higher-risk signals

## Andere Paketmanager-Einträge

- Debian apt - xinput - 1.6.4-1: normalized package name match | Debian stable package indexes: xinput from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Runtime configuration and test of XInput devices
- Nix - xinput: normalized package name match | nixpkgs package indexes: pkgs/by-name/xi/xinput/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - xinput - 1.6.4-1build1: normalized package name match | Ubuntu 24.04 LTS package indexes: xinput from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | Runtime configuration and test of XInput devices
- apk - xinput - 1.6.4-r2: normalized package name match | Alpine Linux edge package indexes: xinput from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Utility to configure and test XInput devices | https://xorg.freedesktop.org/
- apk - xinput-doc - 1.6.4-r2: normalized package name match | Alpine Linux edge package indexes: xinput-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Utility to configure and test XInput devices (documentation) | https://xorg.freedesktop.org/
- dnf - xinput - 1.6.4-7.fc45: normalized package name match | Fedora Rawhide package metadata: xinput from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Utility to query X Input devices | https://www.x.org
- zypper - xinput - 1.6.4-1.11: normalized package name match | openSUSE Tumbleweed package metadata: xinput from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Utility to configure and test X input devices | https://xorg.freedesktop.org/
- MacPorts - xinput: normalized package name match | MacPorts ports tree: x11/xinput/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Combined YAML source

View the package source record on GitHub. [combined/xinput.yml](https://github.com/mxcl/pkgdb/blob/main/combined/xinput.yml)


## Quellen

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
