LinuxCommandLibrary

xlsclients

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 X clients. It shows running X apps.
Window listing. Running applications.
Display info. Which apps connected.
Debug tool. X11 troubleshooting.
Part of xorg-apps. Standard X tool.

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)

Copied to clipboard