Table of contents


xlsclients - list client applications running on a display


xlsclients [ -display displayname ] [ -a ] [ -l ] [ -m maxcmdlen ] [ -version ]


Xlsclients is a utility for listing information about the client applications running on a display. It may be used to generate scripts representing a snapshot of the user’s current session.


-display displayname
This option specifies the X server to contact.
This option indicates that clients on all screens should be listed. By default, only those clients on the default screen are listed.
List in long format, giving the window name, icon name, and class hints in addition to the machine name and command string shown in the default format.
-m maxcmdlen
This option specifies the maximum number of characters in a command to print out. The default is 10000.
Print the program version and exit.


To get the default host, display number, and screen.

See also

xwininfo, xprop


Jim Fulton, MIT X Consortium

Table of contents

Creative Commons License
The [WWW]Xming website, documentation and images are licensed under a
[WWW]Creative Commons Attribution-NonCommercial-ShareAlike 2.0 UK: England & Wales License.
Copyright © 2005-2024 Colin Harrison All Rights Reserved