[Pkg-utopia-maintainers] Bug#480223: Bug#480223: Bug#480223: dbus-x11: allow for session.conf in user home directory

Ludovico Gardenghi garden at acheronte.it
Sun May 11 16:43:46 UTC 2008


On Sun, May 11, 2008 at 12:46:58AM +0200, Loïc Minier wrote:

>  Perhaps you could simply disable the default dbus-launch invocation by
>  removing use-session-dbus and then add a custom invocation?

You propose that a user may add a redefinition of OPTIONFILE inside his
.xsessionrc (that is sourced in 40x11-common_xsessionrc) along with a
custom dbus-launch, so when 75dbus_dbus-launch runs it looks inside a
custom OPTIONFILE, does not find the line use-session-dbus and does not
start dbus.

This could work, but it assumes that the xsessionrc file is sourced
before the dbus invocation (I'm not an expert, is this a safe
assumption?). Moreover it forces the user to change the OPTIONFILE
variable (ok, he may create a on-the-fly copy of the system file
stripping the dbus line just before changing the OPTIONFILE). It works,
though it's not very elegant.

I believe that the correct solution would be an upstream change in dbus:
IMHO --session should really check for a user session.conf before using
the system one.

Ludovico
-- 
<garden at acheronte.it>        #acheronte (irc.freenode.net) ICQ: 64483080
GPG ID: 07F89BB8          Jabber: gardengl at gmail.com Yahoo: gardenghelle
-- This is signature nr. 3949





More information about the Pkg-utopia-maintainers mailing list