After installing Linux Mint Debian edition my .config/user-dirs.dirs looks like this: # This file is written by xdg-user-dirs-update # If you want to change or add directories, just edit the line ...
I want to find the default handling application in my C program. Is there a C API with same functionality as xdg-mime query default mime-type on Linux?
Is there a linux API that can find the default application for a MIME type? Then I can use this application to open a file. I can not use xdg-open(url) because the file format is a wrapper format and ...
I can add a new MIME type in shared MIME-info, but how can I associates this MIME type with an application?