LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

xdpyinfo

Display X server information

TLDR

Display all X server information
$ xdpyinfo
copy
Query a specific display
$ xdpyinfo -display [localhost:0.0]
copy
List extensions with opcode and event numbers
$ xdpyinfo -queryExtensions
copy
Show detailed info for a specific extension
$ xdpyinfo -ext [RENDER]
copy
Show detailed info for all extensions
$ xdpyinfo -ext all
copy
Display version and exit
$ xdpyinfo -version
copy

SYNOPSIS

xdpyinfo [options]

DESCRIPTION

xdpyinfo displays information about an X server including its capabilities, protocol version, vendor, available screens and visuals, and loaded extensions.Output includes screen dimensions, color depth, supported visual types, and default settings. Extension information shows which X11 extensions are available, useful for debugging graphics and input issues.The tool helps verify X server configuration, check for required extensions, and troubleshoot display problems. It's commonly used to confirm X11 is working correctly.

PARAMETERS

-display name

X display to query (default: $DISPLAY).
-queryExtensions
Include extension opcode, event base, and error base numbers.
-ext name
Show detailed information for the named extension (use "all" for all extensions).
-version
Display program version and exit.

INSTALL

sudo apt install x11-utils
copy
sudo dnf install xdpyinfo
copy
sudo apk add xdpyinfo
copy
sudo zypper install xdpyinfo
copy
brew install xdpyinfo
copy
nix profile install nixpkgs#xdpyinfo
copy

CAVEATS

Requires running X server and DISPLAY set correctly. Using -queryExtensions may load all extensions, consuming resources. X11 only; doesn't work on pure Wayland.

HISTORY

xdpyinfo is part of the X.Org project's utility collection. X11 has been the standard display protocol for Unix systems since 1987. The tool provides essential diagnostic information for X server administration and troubleshooting.

SEE ALSO

xwininfo(1), xprop(1), xrandr(1), glxinfo(1), xset(1), xlsclients(1)

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid