macOS
brew install xinputlocal Homebrew formula metadata
sudo port install xinputMacPorts ports tree · x11/xinput/Portfile · source: api.github.com
brew
Utility to configure and test X input devices. Version 1.6.4 via Homebrew; verified from local package data.
install
brew install xinputlocal Homebrew formula metadata
sudo port install xinputMacPorts ports tree · x11/xinput/Portfile · source: api.github.com
sudo apk add xinputAlpine Linux edge package indexes · xinput · source: dl-cdn.alpinelinux.org
sudo apt install xinputDebian stable package indexes · xinput · source: deb.debian.org
sudo dnf install xinputFedora Rawhide package metadata · xinput · source: dl.fedoraproject.org
nix profile install nixpkgs#xinputnixpkgs package indexes · pkgs/by-name/xi/xinput/package.nix · source: api.github.com
sudo zypper install xinputopenSUSE Tumbleweed package metadata · xinput · source: download.opensuse.org
overview
Utility to configure and test X input devices
history
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.
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.
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.
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.
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.
security posture
narrow executable package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
xinput | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://gitlab.freedesktop.org/xorg/app/xinput
install metadata
| Package key | brew:xinput |
|---|---|
| Version | 1.6.4 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/xinput |
| Homepage | https://gitlab.freedesktop.org/xorg/app/xinput |
| Repository | https://gitlab.freedesktop.org/xorg/app/xinput |
| Upstream docs | https://www.x.org/releases/X11R7.5/doc/man/man1/xinput.1.html |
| License | MIT |
| Source archive | https://www.x.org/pub/individual/app/xinput-1.6.4.tar.xz |
| Dependencies | libx11, libxext, libxi, libxinerama, libxrandr |
| Build dependencies | pkgconf, xorgproto |
| Bottle | available (on arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, monterey, sonoma, ventura, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | xinput |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
xinput 1.6.4-1
Runtime configuration and test of XInput devices
sudo apt install xinputxinput
nix profile install nixpkgs#xinputxinput 1.6.4-1build1
Runtime configuration and test of XInput devices
sudo apt install xinputxinput 1.6.4-r2
Utility to configure and test XInput devices
sudo apk add xinputxinput-doc 1.6.4-r2
Utility to configure and test XInput devices (documentation)
sudo apk add xinput-docxinput 1.6.4-6.fc44
Utility to query X Input devices
sudo dnf install xinputxinput 1.6.4-1.9
Utility to configure and test X input devices
sudo zypper install xinputxinput
sudo port install xinputsource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.