Why .local/share ?

Thiago Macieira thiago at kde.org
Mon Nov 10 05:09:08 PST 2008


On Monday 10 November 2008 13:56:08 Rodney Dawes wrote:
> Then why ".config" instead of ".local/etc" and ".cache" instead of
> ".local/var/cache"? Shouldn't these directories be under .local as
> well? And shouldn't we define XDG_FOO_HOME variables for the other
> paths? I think an $XDG_LIB_HOME would be particularly useful for
> apps who wish to allow plug-ins to be installed in the user's home
> directory.

For .config I agree (it would match the KDE layout if it were in 
.local/share/config). I don't know why that was chosen like that. It does 
confuse me as well (remember to change XDG_CONFIG_HOME and XDG_DATA_HOME and 
remember what's where).

Cache, however, is something different. Caches can be removed/deleted without 
ill effect. Worst case scenario, things need to be regenerated or 
redownloaded.

As for a lib, I very much agree that there should be a directory. In fact, 
I've recently started using ~/.local/bin for my own executables instead of 
~/bin. That allows me to keep my $HOME clean. But I don't think an environment 
variable will be of much use unless it's $LD_LIBRARY_PATH...

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
  Senior Software Engineer - Nokia, Qt Software
  Qt Software is hiring - ask me
      PGP/GPG: 0x6EF45358; fingerprint:
      E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://lists.freedesktop.org/archives/xdg/attachments/20081110/8e56b210/attachment.pgp 


More information about the xdg mailing list