XDGDATAHOME
XDG_DATA_HOME is an environment variable defined by the XDG Base Directory Specification that designates the base directory for user-specific data files. The canonical spelling is XDG_DATA_HOME; some references may use XDGDATAHOME as a shorthand, but the standard name uses underscores. If this variable is not set, applications should fall back to the default location: $HOME/.local/share. The directory is intended for per-user data files generated or stored by applications, such as user data, documents, and application state, rather than caches or configuration data.
In practice, XDG_DATA_HOME serves as the root for writable user data, and applications should create their own
Usage and compatibility notes: XDG_DATA_HOME is widely respected on Linux and other Unix-like systems implementing the
See also: XDG Base Directory Specification, XDG_CONFIG_HOME, XDG_CACHE_HOME, XDG_RUNTIME_DIR.