XDG Spec: Difference between revisions
From charlesreid1
(Created page with "Link: https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html Summary: The XDG Base Directory Specification is based on the following concepts: * user-...") |
No edit summary |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 11: | Line 11: | ||
* user-specific non-essential (cached) data should be written to location specified by $XDG_CACHE_HOME. | * user-specific non-essential (cached) data should be written to location specified by $XDG_CACHE_HOME. | ||
* user-specific runtime files and other file objects should be placed in location specified by $XDG_RUNTIME_DIR. | * user-specific runtime files and other file objects should be placed in location specified by $XDG_RUNTIME_DIR. | ||
[[Category:Cache]] | |||
[[Category:Configuration]] | |||
[[Category:Config]] | |||
[[Category:Python]] | |||
[[Category:Python Packaging]] | |||
Latest revision as of 15:45, 15 November 2018
Link: https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html
Summary:
The XDG Base Directory Specification is based on the following concepts:
- user-specific data files should be written to location specified by environment variable $XDG_DATA_HOM
- user-specific configuration files should be written to location specified by $XDG_CONFIG_HOME.
- ordered base directories relative to which data files should be searched is location specified by $XDG_DATA_DIRS.
- ordered base directories relative to which configuration files should be searched should be written to location specified by $XDG_CONFIG_DIRS.
- user-specific non-essential (cached) data should be written to location specified by $XDG_CACHE_HOME.
- user-specific runtime files and other file objects should be placed in location specified by $XDG_RUNTIME_DIR.