how to be notified when an application with dbus service lauchs or quits?

Kaustubh Atrawalkar kaustubh.ra at
Fri Sep 11 22:27:23 PDT 2009

If the target application is acquiring a dbus service then at least you can
connect to NameOwnerChanged Signal and keep a track of the service name
registered from which at least u can find the executable name by some hacks.
(i can provide u those if needed)


On Sat, Sep 12, 2009 at 8:29 AM, cbx <bnucbx at> wrote:

> Hi,all!
> I want to know if there is any way to get notified when an application
> lauchs or quits.May be there exists something like a signal?
> Say,after my program connect to the dbus,if Rhythmbox(as an example)
> lauchs, my program can receive an signal.And then if rhythmbox closes
> later,another signal will be sent.
> I tried to use org.freedesktop.Dbus.NameAcquired, but it seems this signal
> is not for this purpose.
> Thank you!
> _______________________________________________
> dbus mailing list
> dbus at
-------------- next part --------------
An HTML attachment was scrubbed...

More information about the dbus mailing list