[prev in list] [next in list] [prev in thread] [next in thread]
List: freedesktop-dbus
Subject: Re: Detect new available names in bus
From: Thiago Macieira <thiago () kde ! org>
Date: 2022-02-14 23:45:49
Message-ID: 1751612.HZKg2lleYZ () tjmaciei-mobl5
[Download RAW message or body]
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
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic