Represents .desktop file.
Exception thrown when error occures during the .desktop file read.
This class represents the group in the desktop file. You can create and use instances of this class only in the context of DesktopFile instance.
Checks if the program exists and is executable. If the programPath is not an absolute path, the file is looked up in the $PATH environment variable. This function is defined only on Posix.
Retrieves current locale probing environment variables LC_TYPE, LC_ALL and LANG (in this order)
Check if the desktop entry value can be interpreted as boolean value.
Tells whether the desktop entry value presents false
Tells whether the dekstop entry value presents true
Tells whethe the string is valid dekstop entry key. Note: This does not include characters presented in locale names. Use separateFromLocale to get non-localized key to pass it to this function
Tells whether the character is valid for desktop entry key. Note: This does not include characters presented in locale names.
Ditto, but constructs locale name from arguments.
Parses locale name into the tuple of 4 values corresponding to language, country, encoding and modifier
Separates key name into non-localized key and locale name. If key is not localized returns original key and empty string.
Reading, writing and executing .desktop file