You are not logged in.

#1 2011-09-23 20:17:17

Hermano Arco
Member
Registered: 2009-08-19
Posts: 10

[SOLVED] Calibre uses Firefox as external viewer

Dear all,

For each file not ticked in "Preferences->Behaviour->Use internal viewer for" Calibre sends the files for Firefox to handle. How do I fix this? How does Calibre figure out what external viewer to use? I want to view my pdfs with zathura.

I did my googling and .config grepping, but nothing relevant came up. I'm now thinking that maybe Calibre tries to use some clever mime-stuff(?) to guess where to send the pdfs and when finding nothing it sends them to Firefox as a last resort. My "Desktop Environment" is usually pretty much limited to awesome and urxvt, but I installed thunar and even nautilus in hope of magically getting things to work but obviously it didn't.

Please help me Obi-wan, you're my only hope smile

Last edited by Hermano Arco (2011-09-23 20:44:24)

Offline

#2 2011-09-23 20:22:27

lucke
Member
From: Poland
Registered: 2004-11-30
Posts: 4,019

Re: [SOLVED] Calibre uses Firefox as external viewer

Is Firefox started when you run "xdg-open filename.pdf" in the console? If yes, then look at this, that, and many topics on the bbs.

Last edited by lucke (2011-09-23 20:24:05)

Offline

#3 2011-09-23 20:43:44

Hermano Arco
Member
Registered: 2009-08-19
Posts: 10

Re: [SOLVED] Calibre uses Firefox as external viewer

Thanks! I had no idea about any xdg-open -stuff...

For anyone else wondering the same, I used mimeopen -d file.pdf to set new defaults and now things work!

Thanks again lucke!

Offline

#4 2012-06-25 19:50:27

pirateboy
Member
Registered: 2012-06-25
Posts: 1

Re: [SOLVED] Calibre uses Firefox as external viewer

I know this is marked solved, but if I thought I'd note that I tried

mimeopen -d file.pdf

This DID NOT work for me.

What DID work for me was

$ xdg-mime default evince.desktop application/pdf

Which is discussed here.


Sorry for digging up a [solved] thread. Maybe this might help someone?

Offline

Board footer

Powered by FluxBB