Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 04-03-2019, 10:16 AM   #1
piperfw
Junior Member
piperfw began at the beginning.
 
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.
piperfw is offline   Reply With Quote
Old 04-03-2019, 11:47 PM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
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.
kovidgoyal is offline   Reply With Quote
Advert
Old 07-04-2019, 07:04 AM   #3
piperfw
Junior Member
piperfw began at the beginning.
 
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?
piperfw is offline   Reply With Quote
Old 07-04-2019, 08:05 AM   #4
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
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.
kovidgoyal is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
eBook PDF - free tool for creating PDF eBooks from text files KACartlidge PDF 6 01-04-2012 09:41 AM
Solution: Cropping Double Page PDF Files into One-Page PDF files kgydkgyd PDF 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


All times are GMT -4. The time now is 08:21 PM.


MobileRead.com is a privately owned, operated and funded community.