I have two xterms and several gnome-terminal windows active on my X display.
However, xlsclients only shows one gnome-terminal client.
How can I get a list of the gnome-terminal sessions attached to my display?
This option will run the new terminal window in its own process and as a distinct X client.
provide a convenient hook to distinguish between sessions:
$ xlsclients -l
Icon Name: foo