homedir subdirectories, counter-proposal

Alexander Larsson alexl at redhat.com
Fri Feb 23 16:02:51 UTC 2007


On Fri, 2007-02-23 at 15:01 +0100, Nils Philippsen wrote:
> On Tue, 2007-02-20 at 17:45 +0100, Alexander Larsson wrote:
> 
> > Ok. Here is a counter-proposal for translations-on-disk:
> > http://www.gnome.org/~alexl/xdg-user-dirs-0.0.1.tar.gz
> > 
> > Here is how it works:
> > Somewhere (early) in the login scripts we run xdg-user-dirs-update. It
> > reads a config file in /etc/xdg/user-dirs.conf, and a list of defaults
> > for user dirs in /etc/xdg/user-dirs.defaults (by default, it also
> > respects the xdg basedir spec if you want to tweak it). It also loads
> > the current user dir configuration in ~/.config/user-dirs.dirs, if it
> > exists.
> 
> One thing I've never quite understood is why there is ~/.config AND
> gconf. Both seem to do the same/similar things to me.

gconf is a gnome-specific system for storing preferences. ~/.config is a
standard
(http://standards.freedesktop.org/basedir-spec/basedir-spec-0.6.html)
for avoiding putting a shitload of dot-files directly in $HOME.

There are various reasons not to use gconf here. 
a) its gnome specific
b) it requires a daemon to run
c) gconf data might be stored on ldap or something like that, we'd like
to match the config strongly with the homedir itself

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Alexander Larsson                                            Red Hat, Inc 
                   alexl at redhat.com    alla at lysator.liu.se 
He's an otherworldly ninja cyborg gone bad. She's a cosmopolitan blonde 
mermaid prone to fits of savage, blood-crazed rage. They fight crime! 




More information about the Fedora-desktop-list mailing list