The first found existing desktop file, or null if could not find any. Note: This does not ensure that file is valid .desktop file.
assert(findDesktopFile("not base/path.desktop", ["/usr/share/applications"]) is null); assert(findDesktopFile("valid.desktop", (string[]).init) is null);
desktopfile.paths.applicationsPaths
Find desktop file by Desktop File ID. Desktop file ID can be ambiguous when it has hyphen symbol, so this function can try both variants.