Automic VaultAutomic Vault

brew

Install xinput with Homebrew, apk, apt, dnf, MacPorts, Nix, zypper

Utility to configure and test X input devices. Version 1.6.4 via Homebrew; verified from local package data.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install xinput

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install xinput

MacPorts ports tree · x11/xinput/Portfile · source: api.github.com

Linux

Alpine Linux apkverified · 92%
sudo apk add xinput

Alpine Linux edge package indexes · xinput · source: dl-cdn.alpinelinux.org

Debian aptverified · 92%
sudo apt install xinput

Debian stable package indexes · xinput · source: deb.debian.org

Fedora dnfverified · 92%
sudo dnf install xinput

Fedora Rawhide package metadata · xinput · source: dl.fedoraproject.org

Nixverified · 92%
nix profile install nixpkgs#xinput

nixpkgs package indexes · pkgs/by-name/xi/xinput/package.nix · source: api.github.com

openSUSE zypperverified · 92%
sudo zypper install xinput

openSUSE Tumbleweed package metadata · xinput · source: download.opensuse.org

overview

Package summary

Utility to configure and test X input devices

Commands and aliases

  • xinput

history

Project history and usage

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.

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

  • 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.

security posture

Risk level: green

narrow executable package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • narrow executable package without higher-risk signals

Signals

  • metadata:no-higher-risk-signals

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 12 platform targets.
  • Installs with 5 runtime dependencies.
  • Build metadata lists 2 build dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
xinputcliglobal executable

freshness

Version and 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.

page generated2026-07-08
manager version1.6.4
manager updated
local dataok
upstreamnot checked
latest detectednot detected

https://gitlab.freedesktop.org/xorg/app/xinput

install metadata

Package metadata

Package keybrew:xinput
Version1.6.4
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/xinput
Homepagehttps://gitlab.freedesktop.org/xorg/app/xinput
Repositoryhttps://gitlab.freedesktop.org/xorg/app/xinput
Upstream docshttps://www.x.org/releases/X11R7.5/doc/man/man1/xinput.1.html
LicenseMIT
Source archivehttps://www.x.org/pub/individual/app/xinput-1.6.4.tar.xz
Dependencieslibx11, libxext, libxi, libxinerama, libxrandr
Build dependenciespkgconf, xorgproto
Bottleavailable (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-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namexinput
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Debian apt95%

xinput 1.6.4-1

Runtime configuration and test of XInput devices

sudo apt install xinput
  • Section: x11
  • Architecture: amd64
  • 5 dependencies
  • normalized package name match
  • Matched by: Xinput
Debian stable package indexes · deb.debian.org · Debian stable package indexes: xinput from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

xinput

nix profile install nixpkgs#xinput
  • normalized package name match
  • Matched by: Xinput
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/xi/xinput/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

xinput 1.6.4-1build1

Runtime configuration and test of XInput devices

sudo apt install xinput
  • Section: x11
  • Architecture: amd64
  • 5 dependencies
  • normalized package name match
  • Matched by: Xinput
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: xinput from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
apk95%

xinput 1.6.4-r2

Utility to configure and test XInput devices

https://xorg.freedesktop.org/

sudo apk add xinput
  • License: MIT
  • Architecture: x86_64
  • Source Package: xinput
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Xinput
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: xinput from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

xinput-doc 1.6.4-r2

Utility to configure and test XInput devices (documentation)

https://xorg.freedesktop.org/

sudo apk add xinput-doc
  • License: MIT
  • Architecture: x86_64
  • Source Package: xinput
  • normalized package name match
  • Matched by: Xinput
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: xinput-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
dnf95%

xinput 1.6.4-6.fc44

Utility to query X Input devices

https://www.x.org

sudo dnf install xinput
  • License: MIT AND HPND-sell-variant
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: xinput
  • 6 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Xinput
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: xinput from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
zypper95%

xinput 1.6.4-1.9

Utility to configure and test X input devices

https://xorg.freedesktop.org/

sudo zypper install xinput
  • License: HPND AND MIT
  • Category: System/X11/Utilities
  • Architecture: x86_64
  • Source Package: xinput
  • 5 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Xinput
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: xinput from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
MacPorts95%

xinput

sudo port install xinput
  • normalized package name match
  • Matched by: Xinput
MacPorts ports tree · api.github.com · MacPorts ports tree: x11/xinput/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment