# 使用 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/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-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
- **版本:** 1.3.1
- **来源摘要:** Follow the mouse X demo using the X SHAPE extension
- **主页:** <https://gitlab.freedesktop.org/xorg/app/xeyes>
- **最后更新:** 2026-07-04T13:13:44+09:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- xeyes (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 1.3.1
## 项目历史与用法

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

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

- 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/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-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


## 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
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
