[Pkg-utopia-maintainers] Bug#480223: dbus-x11: allow for session.conf in user home directory
Ludovico Gardenghi
garden at acheronte.it
Thu May 8 19:58:11 UTC 2008
Package: dbus-x11
Version: 1.2.1-2
Severity: wishlist
Tags: patch
The current mechanism for launching dbus at the beginning of a X session makes
it difficult for a user to specify a custom config file. He may add a
dbus-launch with custom options to the .xsessionrc file but
/etc/X11/Xsession.d/75dbus_dbus-launch adds another dbus-launch to STARTUP
without checking anything.
I added a check in this file (patch attached) that passes dbus-launch the
--config-file= option if it finds a ~/dbus/session.conf file. This way, users
can simply create a custom version of the session.conf file and have it loaded
at X startup.
I understand this is a partial fix: it would be nicer to change dbus so to
make it check for a ~/.dbus/session.conf file by default when starting with
--session. Lots of programs check for a ~/.somethingrc file before looking in
/etc/somethingrc. IMHO dbus-daemon should do the same.
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.24-ripieno (PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages dbus-x11 depends on:
ii dbus 1.2.1-2 simple interprocess messaging syst
ii libc6 2.7-10 GNU C Library: Shared libraries
ii libx11-6 2:1.0.3-7 X11 client-side library
dbus-x11 recommends no packages.
-- no debconf information
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. 3945
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 75dbus_dbus-launch.diff
Type: text/x-diff
Size: 757 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-utopia-maintainers/attachments/20080508/9fa71bb0/attachment-0001.diff
More information about the Pkg-utopia-maintainers
mailing list