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.

@safe
string
writableApplicationsPath
nothrow
(
)

Examples

import std.process : environment;
auto dataHomeGuard = EnvGuard("XDG_DATA_HOME", "/home/user/data");
assert(writableApplicationsPath() == "/home/user/data/applications");

Meta