Query system for default apps using XDG MIME databases.
The xdg-utils library provides dependency-free (except for
std) Rust implementations of some common functions in the freedesktop project
query_default_appperforms like the xdg-utils function
binary_to_desktop_filebut returns the command string to be executed instead of the path of the desktop file.
mimetypeor else the
Some of the utils may be implemented by combining these functions with other functions in the Rust standard library.
||Install desktop menu items||no|
||Install icons to the desktop||no|
||Install icon resources||no|
||Query information about file type handling and install descriptions for new file types||queries only|
||Open a file or URL in the user's preferred application||all (combine crate functions with
||Send mail using the user's preferred e-mail composer||no|
||Control the screensaver||no|
While this library was created for the meli project, it is intended for general use. Thus you can report bugs and/or request features in the crate's repository on github, git.meli.delivery or the meli mailing-list