Function writableApplicationsPath
Path where .desktop files can be stored by user. This function is defined only on freedesktop systems.
string writableApplicationsPath() nothrow @safe;
Note
it does not check if returned path exists and appears to be directory.
Example
import std .process : environment;
auto dataHomeGuard = EnvGuard("XDG_DATA_HOME", "/home/user/data");
assert(writableApplicationsPath() == "/home/user/data/applications");
}