mimeapps is a library for detection of which applications can be
used to open files of given MIME type.
Note: this is essential only for systems that follow Freedesktop
specifications, i.e. Linux, BSD and some others. MS Windows and
OS X have their own file type associations systems.
github repo: https://github.com/MyLittleRobo/mimeapps (examples
dub package: http://code.dlang.org/packages/mimeapps
1. Building "Open with" menu.
2. Finding user preferred application for specific file type,
e.g. text editor for text/plain or file manager for
3. Finding user preferred application to open uri, e.g. user
preferred web browser for http and https links.
https://github.com/MyLittleRobo/desktopfile - reading and
executing .desktop files.
https://github.com/MyLittleRobo/mime - parsing shared MIME type
database and detecting MIME types of files.