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.
import std.process : environment; auto dataHomeGuard = EnvGuard("XDG_DATA_HOME", "/home/user/data"); assert(writableApplicationsPath() == "/home/user/data/applications");
See Implementation
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.