[Xfce-bugs] [Bug 1067] Centralized site wide config needed
bugzilla-daemon at xfce.org
bugzilla-daemon at xfce.org
Mon Sep 24 17:28:21 CEST 2007
DO NOT REPLY TO THIS EMAIL. Also, do not reply via email to the person
whose email is mentioned below. To comment on this bug, please visit:
http://bugzilla.xfce.org/show_bug.cgi?id=1067
------- Comment #2 from mike.massonnet at gmail.com 2007-09-24 15:28 UTC -------
(In reply to comment #0)
First, a sysadmin feature request is uncommon, at least to me :) This
should(?) be one of your sysadmin projects and not our job!
Your need sounds a lot like the XDG base directory specification. Dunno
if at the time you opened the bug the specification already existed and
that Xfce used it (version 4.2.2 did not IIRC), but the specification is
in accord with the following:
> 1. user config
=> $XDG_CONFIG_HOME.
> 2. system config
=> $XDG_CONFIG_DIRS.
> 3. hardcoded defaults
=> $XDG_CONFIG_DIRS. You have also the hard-coded values from the
application that you can't change (until you hack the source…).
> The apps should load the settings in reverse order, and override with
> settings of higher precedence where applicable.
That's the case, check the specification for the details.
With this specification you can have different system-wide configuration
directories like /etc/xdg-forthemasses, /etc/xdg-n00b, /etc/xdg-gamer, …
and the user can also define its own centralized configuration data
directory (but I can't imagine that, a user fits to only one personal
configuration directory, unless he wants to try something out without
b0rking his settings).
On your systems all you have to do is to export the XDG_CONFIG_DIRS
variable like that:
export
XDG_CONFIG_DIRS=/etc/xdg-default-xfce:/usr/local/etc/xdg:/etc/xdg
and you get the picture.
I think this can be closed :)
--
Configure bugmail: http://bugzilla.xfce.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the Xfce-bugs
mailing list