![]() |
#1 |
Junior Member
![]() Posts: 6
Karma: 10
Join Date: Feb 2019
Device: boox nova air
|
Viewer won't open PDF with external viewer
Calibre 7.0 won't open any pdf files with an external viewer (it used to), but will open others (epub, mobi, azw). Internal viewer will open pdf files but that's not (for me) ideal. Using Fedora.
|
![]() |
![]() |
![]() |
#2 |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,725
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Make sure PDF is unchecked in the Preferences->Behaviour->Use internal viewer for: list. If that's as it should be, make sure you have a default handler defined for PDF in Fedora.
Added: where did you get calibre 7… from calibre website or from Fedora repo? BR Last edited by BetterRed; 11-21-2023 at 04:34 PM. |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Junior Member
![]() Posts: 6
Karma: 10
Join Date: Feb 2019
Device: boox nova air
|
Already checked that checkmark. Prior to the recent upgrade to 7, it worked just fine. And I update calibre from the calibre website.
d. |
![]() |
![]() |
![]() |
#4 |
Junior Member
![]() Posts: 6
Karma: 10
Join Date: Feb 2019
Device: boox nova air
|
aha. it's just the shortcut "v" that doesn't work. menu (right-click -> view) works just fine. Reassigning to another key also does not work. Alt-V then selecting the format works.
Last edited by devogon; 11-21-2023 at 07:09 PM. Reason: add alt-v |
![]() |
![]() |
![]() |
#5 |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,725
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
FWIW the JobSpy plugin has an option in its utilities toolbox to show keyboard assignments in a table with sortable columns. I found it useful when I somehow managed to have the same key assigned to two different functions following an upgrade.
BR |
![]() |
![]() |
Advert | |
|
![]() |
#6 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,355
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
It works fine. xdg-open on your system is probably using the calibre viewer as its default PDF viewer.
|
![]() |
![]() |
![]() |
#7 |
Junior Member
![]() Posts: 6
Karma: 10
Join Date: Feb 2019
Device: boox nova air
|
fwiw, xdg-open uses evince at the command line. and, weirdly, it's only pdf that won't open.
|
![]() |
![]() |
![]() |
#8 |
Junior Member
![]() Posts: 6
Karma: 10
Join Date: Feb 2019
Device: boox nova air
|
I'll poke around further, but it doesn't work in a newly established database either.
|
![]() |
![]() |
![]() |
#9 |
Still reading
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 14,045
Karma: 105092227
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper
|
Calibre on Mint 21.2 with Mate is opening Okular fine as external PDF viewer. Before that it opened whatever was the Mint default. I tested a load of PDF Viewers and like Okular (which views other types). I did have to edit all the defaults settings on Okular to make text sizes and page formats sensible.
|
![]() |
![]() |
![]() |
#10 |
Junior Member
![]() Posts: 6
Karma: 10
Join Date: Feb 2019
Device: boox nova air
|
View (v) does not work. It just gives me the "i'm thinking about it" spinny-wheel and then nothing. I changed viewers and xdg-open works like it should. Alt-V works fine but pdf (and djvu) files won't open with an external viewer. Giving up on trying to make something work and just have to Alt-V for now.
|
![]() |
![]() |
![]() |
#11 | |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,725
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
For other reasons I disabled the 'V' for View default shortcut and assigned it to View specific format. BR |
|
![]() |
![]() |
![]() |
#12 |
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Nov 2023
Device: Kindle Paperwhite
|
I am confirming the devogon's problem.
I have just upgraded calibre to 7.1. Since the upgrade when clicking on the "PDF" next to "Formats" nothing happens (rotating cursor shows briefly). If I want to open a PDF book I have to right click the "PDF" and choose "OpenPDF with..." then select my (any) dedicated PDF viewer. "Use internal viewer for PDF" is unchecked. System opens every PDF file with my designated PDF viewer without problems. The problem arose only in calibre and right after upgrading to v7. OS: Ubuntu 22.04.3 |
![]() |
![]() |
![]() |
#13 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,355
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Run calibre from a terminal. Try to view the PDF file, see the error from whatever component on your system is failing to open the PDF file. Given this is Linux, my bet would be something in GNOME gio-launch-desktop or similar, since you claim xdg-open works, Qt is presumably nowadays using something else. Figure out whatever it is on your system that's missing/broken and fix it.
|
![]() |
![]() |
![]() |
#14 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,355
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
And reading the Qt source code this is wayland specific. Under wayland Qt now runs xdg-open asynchronously to use waylands "xdg activation token". Which means the env var sanitisation calibre does when calling the qt function does not work. Sigh wayland is the gift that keeps on giving. As always I strongly suggest you stick to X11, where you shouldnt have any such issues.
You can easily test this by running calibre as QT_QPA_PLATFORM=xcb calibre and opening pdf files will work just as before. Last edited by kovidgoyal; 11-25-2023 at 12:15 AM. |
![]() |
![]() |
![]() |
#15 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,355
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Qt bug report: https://bugreports.qt.io/browse/QTBUG-119438
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
When i add a pdf in caliber and open it with E-book viewer the pdf turns into a epub. | sourov | Library Management | 1 | 08-23-2021 05:05 AM |
Calibre ebook viewer won't open on Win 10 | timnz | Viewer | 14 | 09-16-2020 05:22 PM |
[old-topic]ebook-viewer: Open source, crossplatform viewer for EPUB, LIT, MOBI, etc | kovidgoyal | Calibre | 68 | 05-30-2011 08:46 PM |
Error when trying to open Ebook Viewer, won't show stories | cloudyvisions | Calibre | 1 | 03-28-2009 04:13 AM |
External viewer for pdf not starting anymore | Calibrero | Calibre | 11 | 02-28-2009 01:59 PM |