env_vars 

Send to Kindle
home » snippets » linux » env_vars



Vars

What Default Description
XDG_DATA_HOME $HOME/.local/share base directory relative to which user specific data files should be stored
XDG_CONFIG_HOME $HOME/.config base directory relative to which user specific configuration files should be stored.
XDG_DATA_DIRS /usr/local/share/:/usr/share/ colon separated preference-ordered set of base directories to search for data files in addition to the $XDG_DATA_HOME base directory.
XDG_CONFIG_DIRS /etc/xdg colon separated preference-ordered set of base directories to search for configuration files in addition to the $XDG_CONFIG_HOME base directory.
XDG_CACHE_HOME $HOME/.cache base directory relative to which user specific non-essential data files should be stored.
XDG_RUNTIME_DIR fall back to a replacement directory with similar capabilities and print a warning message base directory relative to which user-specific non-essential runtime files and other file objects (such as sockets, named pipes, ...) should be stored. The directory MUST be owned by the user, and he MUST be the only one having read and write access to it. Its Unix access mode MUST be 0700. Files in the directory MUST not survive reboot or a full logout/login cycle.