Function DesktopFileProvider.getByDesktopId

Get DesktopFile by desktop id.

override const(DesktopFile) getByDesktopId (
  string desktopId
);

This implementation searches applicationsPaths given in constructor to find, parse and cache .desktop file. If found file has TryExec value it also checks if executable can be found in binPaths.

Note

Exec value is left unchecked.