desktopfile.paths

Getting applications paths where desktop files are stored.

Members

Functions

applicationsPaths
string[] applicationsPaths(Range dataPaths)

Applications paths based on data paths. This function is available on all platforms, but requires dataPaths argument (e.g. C:\ProgramData\KDE\share on Windows)

applicationsPaths
string[] applicationsPaths()

ditto, but returns paths based on known data paths. This function is defined only on freedesktop systems to avoid confusion with other systems that have data paths not compatible with Desktop Entry Spec.

writableApplicationsPath
string writableApplicationsPath()

Path where .desktop files can be stored by user. This function is defined only on freedesktop systems. Note: it does not check if returned path exists and appears to be directory.

Structs

EnvGuard
struct EnvGuard
Undocumented in source.

See Also

Meta