# 使用 Homebrew, dnf, MacPorts, Nix, zypper 安装 xlsclients

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

## 安装

```sh
sudo av install brew:xlsclients
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install xlsclients
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install xlsclients
```

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

### Linux

- dnf (92%):

```sh
sudo dnf install xlsclients
```

  证据: Fedora Rawhide package metadata: xlsclients 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#xlsclients
```

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

- zypper (92%):

```sh
sudo zypper install xlsclients
```

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

## 软件包事实

- **软件包键:** brew:xlsclients
- **软件包管理器:** Homebrew
- **版本:** 1.1.6
- **来源摘要:** List client applications running on a display
- **主页:** <https://gitlab.freedesktop.org/xorg/app/xlsclients>
- **最后更新:** 2026-07-04T13:13:44+09:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- xlsclients (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

xlsclients is a small X.Org command-line utility that asks an X server which client applications are connected to a display. It belongs to the old, practical layer of X11 tooling: commands such as xprop, xwininfo, and xlsclients that expose the live window-system state instead of managing it through a desktop shell.

### 项目历史

The utility predates the modern modular X.Org repository layout. Its man page carries Open Group copyright years from 1991, 1994, and 1998 and credits Jim Fulton of the MIT X Consortium, placing it in the classic X11 client-tool lineage before X.Org moved individual applications into separate app modules.

In the modular X.Org era, xlsclients became its own app module. The current README describes it as a utility for listing client applications running on an X11 server, and notes that version 1.1 and later switched from libX11 to libxcb for more efficient X server communication. The freedesktop.org GitLab project is the current upstream development repository.

### 采用历史

xlsclients remained useful because X11's network-transparent client/server model makes connected clients an observable part of the desktop session. X.Org manual sets from older releases and current X.Org documentation both include xlsclients among the standard section-1 X commands.

The X11R7.7 consolidated changelog records xlsclients as an app module moving from 1.1.1 to 1.1.2, showing the tool's survival through the split from monolithic X distributions into separately released X.Org components.

### 使用方式

Typical use is diagnostic: run xlsclients against the default display or an explicit DISPLAY to see host and command information for clients, use the long format for window name, icon name, and class hints, or snapshot a session for rough reconstruction scripts.

For package users, xlsclients is a compact example of an X11 introspection command: it is not a desktop environment feature, but a low-level probe that still works wherever X11 client properties are present.

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

xlsclients is package-nerd interesting because it is the kind of tiny X.Org app that explains why X11 packaging is so granular: a single binary, a man page, and one narrow protocol job, released independently from the server and desktop stack.

It also marks the libX11-to-XCB modernization pattern seen across X.Org tools, where old utilities kept their command-line behavior while swapping lower-level client-library plumbing.

### 时间线

- 1991-1998: Man page copyright years place xlsclients in the classic Open Group / MIT X Consortium X11 utility lineage.
- 2005: The app module's autotools metadata includes Red Hat copyright, matching the modular X.Org packaging era.
- X11R7.7: X.Org changelog records app/xlsclients moving from 1.1.1 to 1.1.2.
- 2018-07-29: freedesktop.org GitLab project record created for xorg/app/xlsclients.
- 2025-04-05: Current upstream man page date for xlsclients.

### Related projects

- Related X.Org inspection tools include xprop, xwininfo, xlsatoms, xlsfonts, xkill, and the X.Org app-module family. At the library layer it sits on XCB in current releases, after earlier Xlib-based implementations.

### 来源

- <https://gitlab.freedesktop.org/api/v4/projects/xorg%2Fapp%2Fxlsclients>
- <https://gitlab.freedesktop.org/xorg/app/xlsclients>
- <https://gitlab.freedesktop.org/xorg/app/xlsclients/-/raw/master/README.md>
- <https://gitlab.freedesktop.org/xorg/app/xlsclients/-/raw/master/configure.ac>
- <https://gitlab.freedesktop.org/xorg/app/xlsclients/-/raw/master/man/xlsclients.man>
- <https://www.x.org/archive/X11R6.7.0/doc/xlsclients.1.html>
- <https://www.x.org/releases/X11R7.7/changelog.txt>
- <https://www.x.org/wiki/UserDocumentation/GettingStarted>


## 安全说明

broad file, network, media, or database tool signal.

- **Geiger 风险:** blue / 中
- broad file, network, media, or database tool signal

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

- Nix - xlsclients: normalized package name match | nixpkgs package indexes: pkgs/by-name/xl/xlsclients/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- dnf - xlsclients - 1.1.6-5.fc45: normalized package name match | Fedora Rawhide package metadata: xlsclients from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | X client list utility | https://www.x.org
- zypper - xlsclients - 1.1.6-1.3: normalized package name match | openSUSE Tumbleweed package metadata: xlsclients from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Utility to list client applications running on a X11 server | https://xorg.freedesktop.org/
- MacPorts - xlsclients: normalized package name match | MacPorts ports tree: x11/xlsclients/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/xlsclients.yml](https://github.com/mxcl/pkgdb/blob/main/combined/xlsclients.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
