Re: dbus-run-session output.

Simon McVittie <smcv-ZGY8ohtN/[email protected]>
Newsgroups gmane.comp.freedesktop.dbus
Message-ID <[email protected]>
On Mon, 10 Apr 2017 at 08:44:41 -0700, Thiago Macieira wrote:
> > Correct, the systemd user unit does not fill in ~/.dbus/session-bus.
> > 
> > I would really prefer not to keep that mechanism forever
> 
> The file is the only way to get session bus information from regular scripts. 

With the user bus model, you don't need session bus information as long
as you have a valid XDG_RUNTIME_DIR, because finding the session bus
from the XDG_RUNTIME_DIR is deterministic.

I wish those files had been treated as the implementation detail and
dbus-launch --autolaunch had been the API (because people get more upset
about polluting their home directories than their $PATH), but we're 10 years
too late for that. The next best thing IMO is for those files to not be
necessary for systems where the OS integrator or the sysadmin has made
the (hopefully informed!) decision to opt-in to the user bus model.

    S
_______________________________________________
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.