![]() |
#1 |
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Apr 2019
Device: kindle paperwhite
|
Association with URLs in pdf files
Since installing calibre I have found that when clicking on a URL in my pdf reader - Okular - instead of opening my web browser, as I would expect, Calibre's Edit book interface is opened with the error 'Unsupported format.'
I am wondering if anyone knows how to remove this association. Normal hyperlinks work correctly in the editor. If you think this is an issue for the Okular forums, I will pursue it there instead. Many thanks. Additional information: Arch Linux 5.0.5, Okular 1.6.3, Calibre 3.40.1. |
![]() |
![]() |
![]() |
#2 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,345
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
okular uses KDE which uses Qt and Qt inturn on linux uses xdg-open. So you need to figure out why xdg-open thinks the editor should be used to open URLs.
You can run xdg-open http://some/url ina terminal to check what it does. |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Apr 2019
Device: kindle paperwhite
|
Thank you for the reply and apologies for taking so long to get back.
Running xdg-open http://some/url in the terminal opens a browser session, as expected. So does opening urls from other applications e.g. Sublime Text; the problem appears to be restricted to Okular. Is there anything else Okular might be using other than xdg-open? Or perhaps that urls embedded in a pdf lead to different behaviour (via xdg-open) than those found in plain text? |
![]() |
![]() |
![]() |
#4 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,345
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
I dont know, I'm not an okular developer, you'd have to ask its developer for more info.
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
eBook PDF - free tool for creating PDF eBooks from text files | KACartlidge | 6 | 01-04-2012 09:41 AM | |
Solution: Cropping Double Page PDF Files into One-Page PDF files | kgydkgyd | 4 | 06-06-2011 11:45 AM | |
Format showing PDF files when all files are mobi | chilady1 | Calibre | 4 | 11-05-2010 01:08 AM |
maintaining URLs and Images in PDB files | monsieurms | Workshop | 2 | 12-10-2009 10:27 AM |