Re: Launch e.g. notification-daemon as needed?

Thiago Macieira <[email protected]>
Newsgroups gmane.comp.freedesktop.dbus
Message-ID <1752952.fSEpSDcCRn@tjmaciei-mobl1>
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

_______________________________________________
dbus mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dbus
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.