Re: Detect new available names in bus

Thiago Macieira <[email protected]>
Newsgroups gmane.comp.freedesktop.dbus
Message-ID <1751612.HZKg2lleYZ@tjmaciei-mobl5>
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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.