Re: DBus on OS X: reintroducing "classical" X11 (auto-)start as a fall-back

René J.V. Bertin <[email protected]>
Newsgroups gmane.comp.freedesktop.dbus
Message-ID <[email protected]>
On Friday May 22 2015 11:02:35 Thiago Macieira wrote:

> Is there any other way than hardcoding "Aqua" in the source code? What in the 
> .plist file makes launchctl restrict it to Aqua sessions? And what would happen 
> if the user modified the .plist file?

Ok, I'm confused; I was sure I'd had seen a "LimitLoadToSessionType" key in the plist (with value "Aqua"), but that must have been elsewhere then. Doh.
It may be that that key/value pair is the default when no other value is specified; things certainly behave that way.

To answer your question: suppose the user would set LimitLoadToSessionType to Background, the dbus daemon would only be started when in/from a Background session, or so I presume. The documentation is very vague on the different session types and I haven't embarked (yet) on an exhaustive quest for clarification as it seems highly unlikely that a program launched in "Background" would be terminated other than at its own request.


> I'm not sure you can add a ; to specify fallback options to listen on. I don't 
> think that makes sense for dbus_server_listen(), but it might for 
> bus_context_new().

OK, thanks, I'll have a look at that.

R.
_______________________________________________
dbus mailing list
[email protected]
http://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.