Launch e.g. notification-daemon as needed?

Thiago Macieira thiago at kde.org
Thu Aug 17 20:07:48 UTC 2017


On Thursday, 17 August 2017 11:34:02 PDT Jack Bates wrote:
> I'm not super familiar with the D-Bus architecture -- if someone calls
> an interface that requires a daemon, should that daemon get launched as
> needed?

That is the daemon's choice. They can choose to install an autostart .service 
file or they can choose not to.

> Currently if I send a desktop notification and notification-daemon isn't
> running, nothing happens ... I'm wondering if I should expect D-Bus to
> launch notification-daemon as needed, or if it's normal to have to do
> that manually ... (LXDE is still using notification-daemon.)

Please refer to the relevant specification on what you should do if the daemon 
is not running. Maybe you're supposed to fall back to showing your own popup 
windows.

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
   Software Architect - Intel Open Source Technology Center



More information about the dbus mailing list