Thread: ogg association
View Single Post
Posts: 59 | Thanked: 66 times | Joined on May 2007
#5
Originally Posted by pipeline View Post
Thanks for releasing code as well... If you dont mind i would like to add this utility to next version of emelfm2 file manager, using it as a shim for opening in targets which are hildon (such as media player, image viewer, etc)
Go ahead. It's basically just one function call.

Originally Posted by pipeline View Post
Any chance you could write a simple utility to do the inverse of this? For instance opening a file from hildon file manager would call your dispell (?) utility to convert into command line for non-hildonized targets such as... hmm lets say torrents? I realize the mime-registration is a lot of work but the base utility wouldnt have to know about that and wouldnt need to be rebuilt... so that could be worked out later (after of course a single test mime registration proves it works).
If I understood you correctly you want to open e.g. torrent client by clicking .torrent file from (any) file manager? There's nothing hildon spesific in that. It should work by adding a mime type for torrent (see /usr/share/mime/packages/freedesktop.org.xml on your desktop computer) and by adding application/x-bittorrent to some application's .desktop file.