Gnuru.org
Productive Linux


Subscribe

 Subscribe via Feedburner in a reader

Enter your email address:

Delivered by FeedBurner


Login
Login:
Password:



Don't have an account?
Sign up to Gnuru.org
Forgot your password?

Is Calibre the most annoying program in the world ever?
8 December 2011 @ 14:42 GMT
by Paul

Like many people I use calibre as my ebook viewer. Yet, this program is slowly becoming a living nightmare. First is the root exploit. Second is the way that calibre wants to take over every single file. Almost all my files were defaulting to being opened in calibre. Why on Earth would I want an openoffice document opened in calibre? The creators of calibre think I do.

This obviously required fixing.

The file /usr/local/share/applications/defaults.list looks like this:

[Default Applications]
application/x-sony-bbeb=calibre-gui.desktop;calibre-lrfviewer.desktop;calibre-ebook-viewer.desktop
application/x-ruby=calibre-gui.desktop;calibre-ebook-viewer.desktop
text/rtf=calibre-gui.desktop;calibre-ebook-viewer.desktop
application/pdf=calibre-gui.desktop;calibre-ebook-viewer.desktop
application/x-cbz=calibre-gui.desktop;calibre-ebook-viewer.desktop
application/x-mobipocket-ebook=calibre-gui.desktop;calibre-ebook-viewer.desktop
application/x-cbr=calibre-gui.desktop;calibre-ebook-viewer.desktop
text/fb2+xml=calibre-gui.desktop;calibre-ebook-viewer.desktop
application/vnd.oasis.opendocument.text=calibre-gui.desktop;calibre-ebook-viewer.desktop
application/epub+zip=calibre-gui.desktop;calibre-ebook-viewer.desktop
text/plain=calibre-gui.desktop;calibre-ebook-viewer.desktop
text/html=calibre-gui.desktop;calibre-ebook-viewer.desktop
application/xhtml+xml=calibre-gui.desktop;calibre-ebook-viewer.desktop
application/ereader=calibre-gui.desktop;calibre-ebook-viewer.desktop
application/oebps-package+xml=calibre-gui.desktop;calibre-ebook-viewer.desktop

This is a nonsense. It has been setup to open plain text, html and pdfs in calibre. How totally stupid! It needs editing. This is better:

[Default Applications]
application/x-sony-bbeb=calibre-gui.desktop;calibre-lrfviewer.desktop;calibre-ebook-viewer.desktop
application/x-cbz=calibre-gui.desktop;calibre-ebook-viewer.desktop
application/x-mobipocket-ebook=calibre-gui.desktop;calibre-ebook-viewer.desktop
application/x-cbr=calibre-gui.desktop;calibre-ebook-viewer.desktop
text/fb2+xml=calibre-gui.desktop;calibre-ebook-viewer.desktop
application/epub+zip=calibre-gui.desktop;calibre-ebook-viewer.desktop
application/ereader=calibre-gui.desktop;calibre-ebook-viewer.desktop
application/oebps-package+xml=calibre-gui.desktop;calibre-ebook-viewer.desktop

Then run sudo update-desktop-database. That seems to fix it.




"Is Calibre the most annoying program in the word ever?"

s/word/world

You must be like 8 years old.


Posted by Jose Curvo on 2011-12-11 20:25:54.

Good fix, thanks for publishing it.


Posted by Jake on 2011-12-12 01:55:41.

Using the calibre packages provided by your distro rather than installing it from upstream is probably a good idea. The packages for most distros fix the biggest calibre problems, like the two noted here.


Posted by Adam Williamson on 2011-12-12 21:26:52.
Comments disabled