Hi Steve,

> I'm not sure if this is a calibre or mime-support bug.

I am quite sure that it is a mime-support.

> I don't know if this is just a matter of 'calibre-ebook-viewer' sorting
> alphabetically before 'evince', or what; but having calibre installed in

I have never understood how mime-support handles this. The defaults
are somehow determined by the last package installed - my feeling.

I have seen this with pdfs, html, most recently with .txt files that
are now tried to be opened with wine+notepad (!!!). Without me
touching anything in the configurations.

I am tempted to through out all and everything of these mime-crap,
or rewrite it from scratch.

> I suppose this issue would possibly also be resolved if bug #802767 were
> fixed.

You mean separating out the ebook-viewer? How would this solve the
problem? Probably (trying to read your mind) by renaming the
calibre-ebook-viewer to ebook-viewer, but then it still sorts before
evince ;-)

Sorry, no idea.

I have decided do define each and every handler necessary in
  ~/.config/mimeapps.list
BTW, also this is a huge fun to find out where one should configure it.

Mine has:
[Default Applications]
application/pdf=evince.desktop;
image/*=eom.desktop;
text/plain=pluma.desktop;
image/jpeg=eom.desktop
video/mp4=smplayer.desktop
text/html=firefox.desktop
x-scheme-handler/http=firefox.desktop
x-scheme-handler/https=firefox.desktop
inode/directory=nemo.desktop


Because even such stupid things as opening a folder does the wrong
thing.

Simpy put, 
  MIME support is completely broken in Debian.

Best

Norbert

--
PREINING Norbert                               http://www.preining.info
Accelia Inc.     +    JAIST     +    TeX Live     +    Debian Developer
GPG: 0x860CDC13   fp: F7D8 A928 26E3 16A1 9FA0 ACF0 6CAC A448 860C DC13

Reply via email to