Detect new available names in bus

Thiago Macieira thiago at kde.org
Mon Feb 14 23:45:49 UTC 2022


On Monday, 14 February 2022 15:41:01 PST Sergio Costas wrote:
> But is there a signal that notifies that a new activatable name has been
> added to, or removed from the bus? What I want to avoid is doing polling...

No, there isn't. But it's a very rare case, because it requires the session 
daemon reloading its configuration.

You can probably poll once an hour and also watch the $XDG_DATA_DIRS/dbus-1/
services dirs.

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
   Software Architect - Intel DPG Cloud Engineering





More information about the dbus mailing list