Module xdgpaths

Getting XDG base directories.

Note

These functions are defined only on freedesktop systems.

See Also

XDG Base Directory Specification

Functions

NameDescription
xdgAllConfigDirs(subfolder) The ordered set of non-empty base paths to search for configuration files, in descending order of preference.
xdgAllConfigDirs(subfolder) The ordered set of non-empty base paths to search for configuration files, in descending order of preference.
xdgAllDataDirs(subfolder) The ordered set of non-empty base paths to search for data files, in descending order of preference.
xdgAllDataDirs(subfolder) The ordered set of non-empty base paths to search for data files, in descending order of preference.
xdgCacheHome(subfolder, shouldCreate) The base directory relative to which user-specific non-essential files should be stored.
xdgCacheHome(subfolder, shouldCreate) The base directory relative to which user-specific non-essential files should be stored.
xdgConfigDirs(subfolder) The ordered set of non-empty base paths to search for configuration files, in descending order of preference.
xdgConfigDirs(subfolder) The ordered set of non-empty base paths to search for configuration files, in descending order of preference.
xdgConfigHome(subfolder, shouldCreate) The base directory relative to which user-specific configuration files should be stored.
xdgConfigHome(subfolder, shouldCreate) The base directory relative to which user-specific configuration files should be stored.
xdgDataDirs(subfolder) The ordered set of non-empty base paths to search for data files, in descending order of preference.
xdgDataDirs(subfolder) The ordered set of non-empty base paths to search for data files, in descending order of preference.
xdgDataHome(subfolder, shouldCreate) The base directory relative to which user-specific data files should be stored.
xdgDataHome(subfolder, shouldCreate) The base directory relative to which user-specific data files should be stored.
xdgRuntimeDir() Path to runtime user directory.
xdgRuntimeDir() Path to runtime user directory.