How to know when D-Bus interfaces and methods are available

Thiago Macieira thiago at
Wed Aug 5 22:40:58 BST 2009

Konstantinos Smanis wrote:
>If I'm not awfully off-topic, why not use DBus Activation?

The same problem applies, plus it introduces others.

Activation is per service name. It's used to launch an application. The D-
Bus daemon will hold your message until the name is registered on the bus. 
After it's registered, it delivers the message.

So the application doing Activation must be ready to accept any calls the 
moment that it registers the name it was activated with. That's exactly 
the problem that started this thread.

Activation also introduces other problems because the D-Bus daemon doesn't 
know about KDE paths. I often find out that the running knotify4 on my 
system is the wrong one, because the daemon started it.

  Thiago Macieira  -  thiago (AT) - thiago (AT)
    PGP/GPG: 0x6EF45358; fingerprint:
    E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
URL: <>

More information about the kde-core-devel mailing list