Re: list of running X11 applications...
Re: list of running X11 applications...
- Subject: Re: list of running X11 applications...
- From: Sean Ahern <email@hidden>
- Date: Sat, 5 Jul 2003 22:28:42 -0700
Hugh McIntyre wrote:
> Be aware that this information is simply what the client told the server and
> therefore both the info from xprop and/or the information from PS (for
> BSD-derived ps) can change after the command started. And obviously there can
> be more than one command with the same name.
>
> However in one of the cases I tried here, the WM_COMMAND does not always exist,
> for example for windows other than the applications top level.
I thought about mentioning "xwininfo" and "xprop" (especially "xwininfo -root
-tree"), but those only return information about specific X11 windows. There
can easily be X11 clients that never open windows. I've written many.
Not to say that xlscients, xwininfo, and xprop aren't useful. But I don't
think you're going to find a comprehensive solution, as Hugh mentioned.
> Now, despite all of this bad news, if you don't need a general purpose
> solution for this and are just trying to communicate between cooperating
> processes you control then you can define your own property to use for
> communication and then go looking for this elsewhere. Although clearly this
> is not secure against malicious people trying to fake out the property.
Good idea. Properties and Atoms are very useful things for interprocess
communication in an X11 environment.
Good luck!
-Sean
__
email@hidden
_______________________________________________
x11-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/x11-users
X11 for Mac OS X FAQ: http://developer.apple.com/qa/qa2001/qa1232.html
Report issues, request features, feedback: http://developer.apple.com/bugreporter
Do not post admin requests to the list. They will be ignored.