What's the difference between a configuration .dotfile in ~ and one in ~/.config? And what's .local meant to be good for, exactly?
Announcement
Collapse
No announcement yet.
[SOLVED] ~/.config and ~/.local
Collapse
This topic is closed.
X
X
-
Re: ~/.config and ~/.local
There is an XDG specification for directories for storing user configuration and data (see links below).
the "primary" goal is to separate user configs/data/cache to separate directories (many programs currently store all these in one ~/.appname directory)
According to the spec, user configuration files should be placed in ~/.config, user data (like mail and contacts) in ~/.local(/share) and cache in ~/.cache.
This will bring a number of advantages, like the ability to delete program configurations without fear of user data loss, or easy user data backup without backing up configs or cache unnecessarily etc.
The spec should also make $HOME a bit cleaner (not as many .directories on the first level)
Of course many programs don't follow the spec yet.
A few links:
http://standards.freedesktop.org/bas...ec-latest.html
http://ploum.frimouvy.org/?207-modif...se-xdg-folders
- Top
- Bottom
Comment