Calibre (Ubuntu) sets itself as standard-app for a lot of file types not related to it

Bug #1960822 reported by Werner Wernersen
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
calibre
Invalid
Undecided
Unassigned
calibre (Ubuntu)
New
Undecided
Unassigned

Bug Description

Its soooo annoying.

Calibre defines itself as being able to open dozens of file types, so that it is sometimes even used as a standard program. I already removed it from a lot of them, but some are:

- .iges, .igs
- .atom
- .es
- .meta4
- .pdf
- .pgp, .gpg, .asc
- .ps
- .raml
- .rss
- .rtf
- .siv
- .sql
- SMIL-documents
- .vnc
- .pgn
- .coffee
- .flatpakref, .flatpakrepo
- .kml
- .kcfg, .kcfgc
- .notifyrc
- .rc
- .fodg (maybe useful)
- .fodp
- .spx
- .ccmx
- .toc
- .csh
- .cue
- .ui
- .desktop, .kdelnk
- m.youtu.be, youtu.be, youtube.com

and MORE...

Its like Libreoffice sets itself as standard / on the list for a lot of unfitting formats, but worse.

The Error occurs in the latest version and since a while.

Version: 5.25.0+dfsg-2
Operating System: Kubuntu 21.10
KDE Plasma Version: 5.24.0
KDE Frameworks Version: 5.91.0
Qt Version: 5.15.2
Kernel Version: 5.13.0-28-generic (64-bit)
Graphics Platform: X11

description: updated
Revision history for this message
Eli Schwartz (eschwartz) wrote : Re: [Bug 1960822] [NEW] Calibre (Ubuntu) sets itself as standard-app for a lot of file types not related to it

Lots of those aren't actual filetypes and are probably being included
because they are just text/plain, which is a valid ebook format.

None of this actually matters, though. It's not really calibre's fault that
it allows itself to be a right-click option to open with.

For all of Linux's many excellent advantages, and even despite Linux's
vastly superior desktop database for handling *allowed* mimetype
associations, the actual defaults system is frankly abominable. Any
mimetype that doesn't have an explicit default set is considered
"unspecified default" and the specification says that your Desktop
Environment is allowed to choose which program to open your file in by
picking it out of a hat.

In practice what happens is that they use the first one listed in the
system cache. This cache is randomly generated and simply installing a
program which doesn't even handle text files, will regenerate the entire
cache from scratch, and shuffle the order, thus changing which program
actually opens text files.

So every time you check, you might see a ***different*** default
application. There's no way to win against this, other than by manually
using "set as default". The problem is not limited to calibre.

For great joy, try installing a program such as Anjuta which declares
itself capable of opening inode/directory, at which point your system may
arbitrarily decide to cause things like plugging in a hard drive or USB
flash drive to launch that program instead of your file browser.

 status invalid

Revision history for this message
Kovid Goyal (kovid) wrote : Re: calibre bug 1960822

calibre does not advertise handling for any ofthose file formats. I
suggest you uninstall the distro based calibre and install the official
binary from https://calibre-ebook.com/download_linux

I have no idea what the ditro package does. The official binary
advertises support for only the following, which are all very much ebook
formats:
text/html;application/x-mobipocket-ebook;text/rtf;application/ereader;application/x-mobipocket-subscription;application/oebps-package+xml;text/x-markdown;text/plain;application/epub+zip;application/pdf;application/vnd.oasis.opendocument.text;application/x-cbr;image/vnd.djvu;application/vnd.ms-word.document.macroenabled.12;application/x-cbc;application/xhtml+xml;application/x-cb7;application/x-cbz;application/x-mobi8-ebook;application/vnd.openxmlformats-officedocument.wordprocessingml.document;application/x-sony-bbeb;text/fb2+xml;x-scheme-handler/calibre;

 status invalid

Changed in calibre:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.