Exception thrown when "Exec" value of DesktopFile or DesktopAction is invalid.
Flag set of parameter kinds supported by application. Having more than one flag means that Exec command is ambiguous.
See Desktop File ID
See Desktop File ID
Expand Exec arguments (usually returned by unquoteExec) replacing field codes with given values, making the array suitable for passing to spawnProcess or spawnProcessDetached. Deprecated field codes are ignored. Note: Returned array may be empty and must be checked before passing to spawning the process.
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.
ditto Note: This function retrieves applications paths each time it's called and therefore can impact performance. To avoid this issue use the overload with argument.
Detect command which will run program in terminal emulator.
Check if .desktop file is trusted.
Check if application should be started multiple times to open multiple urls.
Evaluate ParamSupport flags for application Exec command.
Read the desktop file and run application or open link depending on the type of the given desktop file.
ditto, but automatically create IniLikeReader from the file.
Spawn application with given params.
Apply unquoting to Exec value making it into an array of escaped arguments. It automatically performs quote-related unescaping.
Helper struct to build Exec string for desktop file. Note: While Desktop Entry Specification says that field codes must not be inside quoted argument, ExecBuilder does not consider it as error and may create quoted argument if field code is prepended by the string that needs quotation.
Options to pass to shootDesktopFile.
Parameters for spawnApplication.
Utility functions for reading and executing desktop files.