pkg.soopen package index

brew / 排名 775

使用 Homebrew, apk, apt, dnf, MacPorts, Nix, zypper 安装 xinput

查看 xinput 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install xinput

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install xinput

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

Linux

Alpine Linux apk已验证 · 92%
sudo apk add xinput

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

Debian apt已验证 · 92%
sudo apt install xinput

Debian stable package indexes · xinput · 来源: deb.debian.org

Fedora dnf已验证 · 92%
sudo dnf install xinput

Fedora Rawhide package metadata · xinput · 来源: dl.fedoraproject.org

Nix已验证 · 92%
nix profile install nixpkgs#xinput

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

openSUSE zypper已验证 · 92%
sudo zypper install xinput

openSUSE Tumbleweed package metadata · xinput · 来源: download.opensuse.org

概览

软件包摘要

Utility to configure and test X input devices

命令和别名

  • xinput

历史

项目历史与用法

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.

时间线

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

安全态势

风险级别:绿色

narrow executable package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

安装行为

  • 未记录 Homebrew bottle 元数据。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
xinput可执行文件已索引可执行文件从本地可执行文件索引发现。

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-08-03
管理器版本1.6.4
管理器更新时间
本地数据未知
上游不可用
检测到的最新版本未检测到
  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键brew:xinput
版本1.6.4
软件包管理器Homebrew
主页https://gitlab.freedesktop.org/xorg/app/xinput
Bottle未记录
服务未声明

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Debian apt95%

xinput 1.6.4-1

Runtime configuration and test of XInput devices

sudo apt install xinput
  • Section: x11
  • Architecture: amd64
  • 5 依赖
  • normalized package name match
  • 匹配方式: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
  • 匹配方式: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 依赖
  • normalized package name match
  • 匹配方式: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 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式: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
  • 匹配方式: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-7.fc45

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 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式: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/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst
zypper95%

xinput 1.6.4-1.11

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 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Xinput
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: xinput from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst
MacPorts95%

xinput

sudo port install xinput
  • normalized package name match
  • 匹配方式: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

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

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