Re: Moving dot files to ~/.etc



Hi,

On Tue, 2004-11-09 at 11:27, Dave Ahlswede wrote:
> On Tue, 2004-11-09 at 12:02 +0100, Marcin Krzyzanowski wrote:
> > hardcoded directory is not the best solution.
> > We at PLD [ http://www.pld-linux.org ] promote HOME_ETC
> > [ ftp://ftp.pld-linux.org/people/siefca/distfiles/ ] solution.
> > 
> > Maybe support for HOME_ETC can be a good way ?
> > 
> > Short: this is a support for env. HOME_ETC pointed to directory where 
> > user want to store configuration data. It may easly supported by small 
> > changes in sources, or using this libhome_etc.so to return directory.
> > If no HOME_ETC is set, default location should be used.
> 
> Alternately, might I suggest the Freedesktop.org basedir spec be looked
> at? At least two other desktops (XFce and ROX are both implementing it)
> 
> http://www.freedesktop.org/Standards/basedir-spec

	Right, using $XDG_CONFIG_HOME (defaults to ~/.config) certainly makes
sense.

	The new menu stuff uses it and glib has g_get_user_config_dir() to get
at it.

Cheers,
Mark.




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]