comp • gb.desktop • desktop • runtimedir

Desktop.RuntimeDir (gb.desktop)

Static Property Read RuntimeDir As String

Return the 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.

This is defined by the $XDG_RUNTIME_DIR environment variable. If it is not set or empty, then a temporary directory is used (through the Temp$ function), and a warning message is printed to the standard error output.