[Pkg-utopia-maintainers] Why not use the no-args syntax of dbus-launch in Xsession.d script?

Luis Rodrigo Gallardo Cruz rodrigo at nul-unu.com
Tue May 15 00:47:00 UTC 2007


Hi.

dbus's Xsession.d script uses the 
 dbus-launch --exit-with-session $SESSION
syntax to startup dbus. As a consequence of that, any program launched
from other Xsession.d script does not get to have access to the bus,
since they end up being started *before* dbus.

So, is there some compelling reason not to use the no-args syntax in
the launch script (ie
 eval `dbus-launch --exit-with-session`
)? That way, the bus would be launched early and the env vars would be
set for use of all the following scripts in the session startup.

I could add a myprogram-launch script to interpose in the final
$SESSION call, making it look like
 dbus-launch myprogram-launch $SESSION
so it would be called *after* dbus, but I'd rather avoid work (and
fragile scripts) if I can ;-).

(Please CC: me, I'm not subscribed to the list.)

-- 
Rodrigo Gallardo
GPG-Fingerprint: 7C81 E60C 442E 8FBC D975  2F49 0199 8318 ADC9 BC28
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-utopia-maintainers/attachments/20070514/1f050cbb/attachment.pgp 


More information about the Pkg-utopia-maintainers mailing list