# Install xprop with Homebrew, apk, dnf, MacPorts, Nix, zypper

Property displayer for X. Version 1.2.8 via Homebrew; verified 2026-07-04.

## Install

```sh
sudo av install brew:xprop
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install xprop
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install xprop
```

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

### Linux

- apk (92%):

```sh
sudo apk add xprop
```

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

- dnf (92%):

```sh
sudo dnf install xprop
```

  Evidence: Fedora Rawhide package metadata: xprop from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#xprop
```

  Evidence: nixpkgs package indexes: pkgs/by-name/xp/xprop/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- zypper (92%):

```sh
sudo zypper install xprop
```

  Evidence: openSUSE Tumbleweed package metadata: xprop from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

## Package facts

- **Package key:** brew:xprop
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/xprop>
- **Version:** 1.2.8
- **Source summary:** Property displayer for X
- **Homepage:** <https://gitlab.freedesktop.org/xorg/app/xprop>
- **Repository:** <https://gitlab.freedesktop.org/xorg/app/xprop>
- **Upstream docs:** <https://gitlab.freedesktop.org/xorg/app/xprop/-/blob/master/man/xprop.man>
- **License:** MIT-open-group
- **Source archive:** <https://xorg.freedesktop.org/archive/individual/app/xprop-1.2.8.tar.xz>
- **Last updated:** 2026-07-04T13:13:44+09:00
- **Generated:** 2026-07-08T18:08:21+00:00

## Executables

- xprop (cli)
- xprop (alias)

## Dependencies

- libx11

## Build dependencies

- pkgconf

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 1.2.8
- Package-manager updated: 2026-07-04
- Local data: ok
- Upstream repository: https://gitlab.freedesktop.org/xorg/app/xprop
- info: Release/tag comparison is only available for GitHub repositories.
## Project history and usage

xprop is the X.Org command-line utility for inspecting and changing X server window and font properties. It is one of the small diagnostic tools that makes X11's atom-and-property model visible to users, window-manager authors, packagers, and automation scripts.

### Project history

The current man page carries Open Group copyrights from 1988 and 1998 and an XFree86 copyright from 2000, placing xprop in the older X Consortium/Open Group/XFree86 lineage before the modern modular X.Org release process. It later became one of the separately shipped X.Org app modules.

As a modular X.Org utility, xprop is intentionally narrow. The upstream README describes it simply as a command-line tool to display and/or set window and font properties of an X server, with development now hosted in the freedesktop.org GitLab repository and questions routed to the Xorg mailing list.

The release archive shows xprop as part of the X.Org individual app set from the 2006 modular era onward. Newer releases still happen because small fixes matter: the 1.2.5 README notes a -help command-line handler and icon-image display improvements, and 1.2.8 was archived in 2024.

### Adoption history

xprop spread with the X11 desktop stack rather than through a separate hype cycle. It is available wherever X.Org utilities are packaged because it is the standard way to inspect WM_CLASS, WM_NAME, EWMH _NET_* values, root-window properties, font properties, and arbitrary atoms from a shell.

Its adoption persisted because X11 properties are the glue between clients, window managers, panels, launchers, automation scripts, and debugging sessions. Even as Wayland reduces the direct applicability of X11 tooling, xprop remains part of Xwayland and legacy-X troubleshooting.

### How it is used

The classic workflow is to run xprop and click a window, or pass -id, -name, -root, or -font to choose a target. With no explicit property list, it prints all properties on the selected object; with property names, it prints just those values.

More advanced use includes -set and -remove for changing properties, -spy for watching property-change events, and -f or format files for controlling how property values are displayed. In package-nerd practice, it is often paired with xwininfo, wmctrl, xdotool, window-manager rule systems, and bug reports about X11 clients.

### Why package nerds care

xprop is tiny but culturally important: it exposes one of X11's core mechanisms without requiring a debugger or Xlib program. A lot of Linux desktop lore, from fixing application window classes to writing window-manager rules, starts with xprop output.

For package indexes, xprop is the kind of utility that justifies splitting old X.Org trees into many small packages. Users may install it alone to debug GUI behavior, even if they do not think of themselves as installing the X.Org app suite.

### Timeline

- 1988 and 1998: Open Group copyright dates appear in the current xprop man page.
- 2000: XFree86 copyright appears in the current xprop man page.
- 2006-01-18: X.Org archived xprop 1.0.1 in the individual app release area.
- 2020-11-20: X.Org archived xprop 1.2.5, whose README called out -help handling and icon-image display improvements.
- 2024-11-14: X.Org archived xprop 1.2.8.

### Related projects

- xwininfo: often used with xprop when identifying X11 windows by id.
- ICCCM and EWMH: specifications that define many of the properties users inspect with xprop.
- wmctrl, xdotool, and window-manager rule systems: practical neighbors in X11 automation and debugging.

### Sources

- <https://gitlab.freedesktop.org/xorg/app/xprop>
- <https://gitlab.freedesktop.org/xorg/app/xprop/-/blob/master/man/xprop.man>
- <https://gitlab.freedesktop.org/xorg/app/xprop/-/raw/master/README.md>
- <https://tronche.com/gui/x/icccm/sec-4.html>
- <https://www.x.org/releases/X11R7.6-RC1/doc/man/man1/xprop.1.xhtml>
- <https://xorg.freedesktop.org/archive/individual/app/>


## Security Notes

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- narrow executable package without higher-risk signals

## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** xprop
- **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

## Other Package-Manager Records

- Nix - xprop: normalized package name match | nixpkgs package indexes: pkgs/by-name/xp/xprop/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - xprop - 1.2.8-r0: normalized package name match | Alpine Linux edge package indexes: xprop from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Property displayer for X | https://cgit.freedesktop.org/xorg/app/xprop
- apk - xprop-doc - 1.2.8-r0: normalized package name match | Alpine Linux edge package indexes: xprop-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Property displayer for X (documentation) | https://cgit.freedesktop.org/xorg/app/xprop
- dnf - xprop - 1.2.8-5.fc44: normalized package name match | Fedora Rawhide package metadata: xprop from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | X property display utility | https://www.x.org
- zypper - xprop - 1.2.8-1.5: normalized package name match | openSUSE Tumbleweed package metadata: xprop from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Property displayer for X | https://xorg.freedesktop.org/
- MacPorts - xprop: normalized package name match | MacPorts ports tree: x11/xprop/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Related links

- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Homebrew utility packages](https://www.automicvault.com/pkg/brew-utility-packages/) - Matched Homebrew package provider.
- [Secret-risk packages](https://www.automicvault.com/pkg/secret-risk-packages/) - Matched curated package taxonomy and local package facts.
- [pkgconf](https://www.automicvault.com/pkg/brew/pkgconf/) - Build dependency declared by Homebrew.
- [xrdb](https://www.automicvault.com/pkg/brew/xrdb/) - Shares av.db curated category or tags: cli, system, utilities, x11, xorg.
- [xorg-server](https://www.automicvault.com/pkg/brew/xorg-server/) - Shares av.db curated category or tags: cli, system, window-system, x11, xorg.
- [libxcvt](https://www.automicvault.com/pkg/brew/libxcvt/) - Shares av.db curated category or tags: cli, system, x11, xorg.
- [libxpm](https://www.automicvault.com/pkg/brew/libxpm/) - Shares av.db curated category or tags: cli, system, x11, xorg.
- [mkfontscale](https://www.automicvault.com/pkg/brew/mkfontscale/) - Shares av.db curated category or tags: cli, system, x11, xorg.
- [xauth](https://www.automicvault.com/pkg/brew/xauth/) - Shares av.db curated category or tags: cli, system, x11, xorg.
- [xcursorgen](https://www.automicvault.com/pkg/brew/xcursorgen/) - Shares av.db curated category or tags: cli, system, x11, xorg.
- [xdpyinfo](https://www.automicvault.com/pkg/brew/xdpyinfo/) - Shares av.db curated category or tags: cli, system, x11, xorg.
- [xinit](https://www.automicvault.com/pkg/brew/xinit/) - Local package facts share a topical domain. Shared terms: cli, libx11, system, window, x11.
- [xwininfo](https://www.automicvault.com/pkg/brew/xwininfo/) - Local package facts share a topical domain. Shared terms: cli, libx11, system, window, x11.

## Combined YAML source

View the package source record on GitHub. [combined/xprop.yml](https://github.com/automic-vault/db/blob/main/combined/xprop.yml)


## Sources

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