Version: 0.5.81 (using KDE 4.5.95) OS: Linux I tried viewing a fictionbook from http://manybooks.net/titles/vernejul3351633516-8.html Choosing download for the FictionBook2, I get a dialog which tells me it is of mimetype: application/x-fictionbook And gives the options to save it or choose an application to open it with. Choosing okular there works fine. The other way downloading it and trying to open it locally also works. There it even launches okular directly. But locally it says it has the Mimetype: application/x-fictionbook-xml. Please note the additional "xml". IMHO it would be nice the other mimetype which is reported when trying to open it directly would also be supported. I found a somehow related report: bug 233301 Reproducible: Always OS: Linux (i686) release 2.6.37-default Compiler: gcc
Okular does not define the mimetypes so it's not something we can fix. You might want to open a bug against the shared-mime-info database http://freedesktop.org/wiki/Software/shared-mime-info Thanks for using Okular :-)
Thanks for the feedback. For reference I reported this at https://bugs.freedesktop.org/show_bug.cgi?id=33133 And thanks for okular!
No, shared-mime-info >= 0.60 provides application/x-fictionbook+xml, which is the proper name, while the local kde.xml (provided by kdelibs) provides application/x-fictionbook, which is used by okular. The fix is making okular use the proper mime type, I'll do that in a moment.
Hm, actually okular uses already the right mimetype. Christian, which version of shared-mime-info do you have installed? And kdelibs and okular?
I use KDE 4.6 RC2 and shared-mime-info-0.71.
Hm ok. I understand now, the shared-mime-info mimetype needs an alias, for because of the mimetype reported by the server (sigh).