Skip to content

XdgBaseDirectories

XdgBaseDirectories = object

Defined in: packages/app-system/src/os/xdg-base-directories.ts:8

Where an application keeps its files, per the XDG Base Directory specification.

binHome: string

Defined in: packages/app-system/src/os/xdg-base-directories.ts:24

~/.local/bin: user executables. The specification names no variable for it.


cacheHome: string

Defined in: packages/app-system/src/os/xdg-base-directories.ts:19

$XDG_CACHE_HOME: non-essential cached data, ~/.cache by default.


configDirs: string[]

Defined in: packages/app-system/src/os/xdg-base-directories.ts:37

$XDG_CONFIG_DIRS: configuration directories to search after configHome, in order.


configHome: string

Defined in: packages/app-system/src/os/xdg-base-directories.ts:12

$XDG_CONFIG_HOME: user configuration, ~/.config by default.


dataDirs: string[]

Defined in: packages/app-system/src/os/xdg-base-directories.ts:32

$XDG_DATA_DIRS: data directories to search after dataHome, in order.


dataHome: string

Defined in: packages/app-system/src/os/xdg-base-directories.ts:10

$XDG_DATA_HOME: user data files, ~/.local/share by default.


runtimeDir: string | undefined

Defined in: packages/app-system/src/os/xdg-base-directories.ts:30

$XDG_RUNTIME_DIR: sockets, pipes and other runtime files, owned by the user and removed at logout. undefined when unset, since the specification gives it no default: the application picks its own fallback.


stateHome: string

Defined in: packages/app-system/src/os/xdg-base-directories.ts:17

$XDG_STATE_HOME: state worth keeping across restarts but not backing up — logs, history — ~/.local/state by default.