Closed dimkr closed 10 years ago
At the moment it uses libmagic to guess and this works very well. It just needs some patching, so it has default handlers. It seems the only way to set an handler is the callback which gets called when the handler choice dialog appears - I want to separate it into a function that sets the handler for a MIME type and a GUI callback.
I can get my extended list in about a week(on vacation), but if we are willing to use a hardcoded hash table, I also wrote a really fast (binary search) alternative to the xdgopen part of rox that compiles to 40kb or so (mostly data) but I was debating adding a fallback to try the extension if no Mime executable is available (png vs image-png)