dimkr / rlsd

A lightweight, retro Linux-libre distro
http://rlsd.dimakrasner.com
MIT License
72 stars 7 forks source link

ROX-Filer doesn't have any file type handlers #15

Closed dimkr closed 10 years ago

technosaurus commented 10 years ago

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)

dimkr commented 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.