LinuxCommandLibrary

xlsclients

List connected X11 client applications

TLDR

List X clients

$ xlsclients
copy
Show all windows
$ xlsclients -a
copy
Long format
$ xlsclients -l
copy
Specific display
$ xlsclients -display [:0]
copy

SYNOPSIS

xlsclients [-a] [-l] [-display dpy] [options]

DESCRIPTION

xlsclients lists the client applications currently connected to an X display server. For each client, it shows the window name and the command used to launch it, providing a quick overview of what X11 applications are running.
The tool is useful for debugging X11 sessions, identifying which applications are consuming display resources, and verifying that expected clients are connected. The -a option shows clients across all screens, while -l provides a long format with additional detail about each client's machine name and command line.

PARAMETERS

-a

All screens.
-l
Long format.
-display DPY
X display.
-m MAXCMD
Max command length.

CAVEATS

X11 only. No Wayland. Limited info shown.

HISTORY

xlsclients is a standard X11 utility for listing client applications connected to an X server.

SEE ALSO

xwininfo(1), xprop(1), xdotool(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community