# 使用 Homebrew, apk, dnf, MacPorts, Nix, zypper 安装 xeyes

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

## 安装

```sh
sudo av install brew:xeyes
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install xeyes
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install xeyes
```

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

### Linux

- apk (92%):

```sh
sudo apk add xeyes
```

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

- dnf (92%):

```sh
sudo dnf install xeyes
```

  证据: Fedora Rawhide package metadata: xeyes from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#xeyes
```

  证据: nixpkgs package indexes: pkgs/by-name/xe/xeyes/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- zypper (92%):

```sh
sudo zypper install xeyes
```

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

## 软件包事实

- **软件包键:** brew:xeyes
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/xeyes>
- **版本:** 1.3.1
- **来源摘要:** Follow the mouse X demo using the X SHAPE extension
- **主页:** <https://gitlab.freedesktop.org/xorg/app/xeyes>
- **上游文档:** <https://gitlab.freedesktop.org/xorg/app/xeyes>
- **许可证:** X11
- **源码归档:** <https://xorg.freedesktop.org/archive/individual/app/xeyes-1.3.1.tar.xz>
- **最后更新:** 2026-07-04T13:13:44+09:00
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- xeyes (cli)
- xeyes (别名)

## 依赖

- libx11
- libxcb
- libxext
- libxi
- libxmu
- libxrender
- libxt

## 构建依赖

- pkgconf

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 1.3.1
- 管理器更新时间: 2026-07-04
- 本地数据: OK
- 上游仓库: https://gitlab.freedesktop.org/xorg/app/xeyes
- 信息: Release/tag comparison is only available for GitHub repositories.
## 项目历史与用法

xeyes is the tiny X demo that draws a pair of eyes whose pupils follow the pointer. Its package description understates its cultural load: it is both a Shape-extension demo and one of the most recognizable bits of X11 desktop folklore.

### 项目历史

The X.Org manpage credits Keith Packard of the MIT X Consortium as author and says the program was copied from a NeWS version apparently written by Jeremy Huxtable as seen at SIGGRAPH 1988. In X.Org packaging it became an app module described by freedesktop.org as a 'follow the mouse' demo using the X SHAPE extension.

Like other X.Org applications, xeyes moved into the modular source-release world after X11R7.0 split the old monolithic tree into separately released modules. Its freedesktop.org GitLab project was created during the 2018 migration period and keeps the small app maintained with the rest of the X.Org app family.

### 采用历史

xeyes spread because it was small, visual, funny, and included with X tool collections. It gave users an immediate sign that X applications were working, while developers used it as a simple demonstration of shaped windows and pointer tracking.

In the Wayland era, xeyes gained a second life as a diagnostic joke with practical value: because it follows the pointer through X11 mechanisms, users can use its behavior to infer whether an application is running as an X11 client, through XWayland, or outside xeyes' visibility.

### 使用方式

The ordinary usage is simply to run xeyes and watch the pupils track the cursor. Options adjust colors, geometry, backing store, SHAPE usage, Xrender antialiasing, and the alternate distance mapping.

Packagers and desktop troubleshooters use it as a minimal GUI test because it starts quickly, has no configuration, needs only the X display path, and makes failure obvious.

### 为什么软件包爱好者会关心

xeyes is package-manager whimsy with a real technical payload. It demonstrates that not every useful package is serious; sometimes the tiny demo program is the fastest way to prove a display stack, extension, or compatibility layer is behaving as expected.

Its survival also shows how X.Org's modular app packages preserve small historical clients that would be lost if only large desktop environments were packaged.

### 时间线

- 1988: The manpage traces the idea to a NeWS version seen at SIGGRAPH 1988.
- MIT X Consortium era: Keith Packard authors the X version.
- 2005: X11R7.0 modularization makes X.Org applications independently releasable modules.
- 2018: The freedesktop.org GitLab xeyes project is created during repository migration.
- 2021: xeyes 1.2.0 adds Present and XInput2 support for smoother pointer tracking.
- 2025: The GitLab tag list records xeyes 1.3.1.

### Related projects

- The X SHAPE extension is the feature associated with xeyes' shaped-window demo behavior.
- Xrender is used for anti-aliased eye drawing when compiled in.
- XInput2 and Present were added in xeyes 1.2.0 for smoother tracking.
- xlogo, xclock, and oclock are neighboring small X demo or utility apps in the same cultural family.

### 来源

- <https://gitlab.freedesktop.org/xorg/app/xeyes>
- <https://lists.x.org/archives/xorg-announce/2021-August/003101.html>
- <https://www.x.org/ModuleDescriptions/>
- <https://www.x.org/Other/Press/X11R6970Released/>
- <https://www.x.org/releases/X11R7.5/doc/man/man1/xeyes.1.html>


## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- narrow executable package without higher-risk signals

## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** xeyes
- **Version Scheme:** 0
- **Revision:** 0
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

## 其他软件包管理器记录

- Nix - xeyes: normalized package name match | nixpkgs package indexes: pkgs/by-name/xe/xeyes/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - xeyes - 1.3.1-r0: normalized package name match | Alpine Linux edge package indexes: xeyes from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Pair of eyes that follow your mouse in X11 | https://www.x.org
- apk - xeyes-doc - 1.3.1-r0: normalized package name match | Alpine Linux edge package indexes: xeyes-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Pair of eyes that follow your mouse in X11 (documentation) | https://www.x.org
- dnf - xeyes - 1.3.1-2.fc45: normalized package name match | Fedora Rawhide package metadata: xeyes from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | A follow the mouse X demo | https://www.x.org
- zypper - xeyes - 1.3.1-1.5: normalized package name match | openSUSE Tumbleweed package metadata: xeyes from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | A follow the mouse X demo | https://xorg.freedesktop.org/
- MacPorts - xeyes: normalized package name match | MacPorts ports tree: x11/xeyes/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## 相关链接

- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://pkg.so/zh-hans/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Homebrew utility packages](https://pkg.so/zh-hans/brew-utility-packages/) - Matched Homebrew package provider.
- [Secret-risk packages](https://pkg.so/zh-hans/secret-risk-packages/) - Matched curated package taxonomy and local package facts.
- [pkgconf](https://pkg.so/zh-hans/brew/pkgconf/) - Build dependency declared by Homebrew.
- [twm](https://pkg.so/zh-hans/brew/twm/) - Shares pkgdb curated category or tags: cli, gui, system, x11, xorg.
- [xorg-server](https://pkg.so/zh-hans/brew/xorg-server/) - Shares pkgdb curated category or tags: cli, system, x11, xorg.
- [xinput](https://pkg.so/zh-hans/brew/xinput/) - Shares pkgdb curated category or tags: cli, system, x11, xorg.
- [xauth](https://pkg.so/zh-hans/brew/xauth/) - Shares pkgdb curated category or tags: cli, system, x11, xorg.
- [xkbcomp](https://pkg.so/zh-hans/brew/xkbcomp/) - Shares pkgdb curated category or tags: cli, system, x11, xorg.
- [libxcvt](https://pkg.so/zh-hans/brew/libxcvt/) - Shares pkgdb curated category or tags: cli, system, x11, xorg.
- [libxpm](https://pkg.so/zh-hans/brew/libxpm/) - Shares pkgdb curated category or tags: cli, system, x11, xorg.
- [xinit](https://pkg.so/zh-hans/brew/xinit/) - Shares pkgdb curated category or tags: cli, system, x11, xorg.
- [quartz-wm](https://pkg.so/zh-hans/brew/quartz-wm/) - Local package facts share a topical domain. Shared terms: cli, libx11, libxext, system, x11.

## Combined YAML source

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


## 来源

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