[xmonad] darcs patch: XDG_CONFIG_HOME support

Brandon S. Allbery KF8NH allbery at ece.cmu.edu
Tue May 27 19:20:50 EDT 2008


On 2008 May 27, at 19:16, Don Stewart wrote:

> sjanssen:
>> On Tue, May 27, 2008 at 10:59:12AM -0700, Sylvester Johansson wrote:
>>> Tue May 27 14:59:48 CEST 2008  syljo361 at gmail.com
>>>  * XDG_CONFIG_HOME support
>>
>> What is the advantage of this over the standard HOME?
>
> Ah, I had to look this up,
>
>    http://standards.freedesktop.org/basedir-spec/basedir-spec-0.6.html
>
>    $XDG_CONFIG_HOME defines the base directory relative to which user
>    specific configuration files should be stored. If  
> $XDG_CONFIG_HOME is
>    either not set or empty, a default equal to $HOME/.config should be
>    used.
>
> So not quite the same as $HOME


I think the idea is for folks like me who have networked home  
directories to be able to specify a non-shared (or at least only used  
by one machine) config directory; KDE and GNOME both have the idea  
that they have exclusive access to their files and become very unhappy  
if multiple machines use their configs.  (So does Mozilla/Firefox, for  
that matter.)

-- 
brandon s. allbery [solaris,freebsd,perl,pugs,haskell] allbery at kf8nh.com
system administrator [openafs,heimdal,too many hats] allbery at ece.cmu.edu
electrical and computer engineering, carnegie mellon university    KF8NH




More information about the xmonad mailing list