Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Viewer

Notices

Reply
 
Thread Tools Search this Thread
Old 05-28-2022, 02:39 PM   #1
Ridcully
Enthusiast
Ridcully ought to be getting tired of karma fortunes by now.Ridcully ought to be getting tired of karma fortunes by now.Ridcully ought to be getting tired of karma fortunes by now.Ridcully ought to be getting tired of karma fortunes by now.Ridcully ought to be getting tired of karma fortunes by now.Ridcully ought to be getting tired of karma fortunes by now.Ridcully ought to be getting tired of karma fortunes by now.Ridcully ought to be getting tired of karma fortunes by now.Ridcully ought to be getting tired of karma fortunes by now.Ridcully ought to be getting tired of karma fortunes by now.Ridcully ought to be getting tired of karma fortunes by now.
 
Ridcully's Avatar
 
Posts: 48
Karma: 2112464
Join Date: Apr 2017
Device: Kindle 10th gen. Paperwhite (2018)
File associations in Linux

When I open a PDF from the file explorer program in Linux, it's opened in Okular. But when I open it from Calibre, it's opened in Calibre's own viewer.

How do I make Calibre open PDFs in Okular too? I couldn't find a setting for this in Preferences.
Ridcully is offline   Reply With Quote
Old 05-28-2022, 04:19 PM   #2
gbm
Wizard
gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.
 
Posts: 2,179
Karma: 8800000
Join Date: Jun 2010
Device: Kobo Clara HD,Hisence Sero 7 Pro RIP, Nook STR, jetbook lite
Quote:
Originally Posted by Ridcully View Post
When I open a PDF from the file explorer program in Linux, it's opened in Okular. But when I open it from Calibre, it's opened in Calibre's own viewer.

How do I make Calibre open PDFs in Okular too? I couldn't find a setting for this in Preferences.
Preferences--interface--Bahavior

Use internal viewer for:

bernie
Attached Thumbnails
Click image for larger version

Name:	Screenshot from 2022-05-28 16-14-49.png
Views:	151
Size:	891.6 KB
ID:	194009  
gbm is offline   Reply With Quote
Advert
Old 05-28-2022, 06:27 PM   #3
Ridcully
Enthusiast
Ridcully ought to be getting tired of karma fortunes by now.Ridcully ought to be getting tired of karma fortunes by now.Ridcully ought to be getting tired of karma fortunes by now.Ridcully ought to be getting tired of karma fortunes by now.Ridcully ought to be getting tired of karma fortunes by now.Ridcully ought to be getting tired of karma fortunes by now.Ridcully ought to be getting tired of karma fortunes by now.Ridcully ought to be getting tired of karma fortunes by now.Ridcully ought to be getting tired of karma fortunes by now.Ridcully ought to be getting tired of karma fortunes by now.Ridcully ought to be getting tired of karma fortunes by now.
 
Ridcully's Avatar
 
Posts: 48
Karma: 2112464
Join Date: Apr 2017
Device: Kindle 10th gen. Paperwhite (2018)
Hmm, PDF is already unchecked there. I unchecked everything else too for good measure but no dice.

(I also just noticed my distro has Calibre 5.12, so it isn't the latest version)
Ridcully is offline   Reply With Quote
Old 05-28-2022, 07:04 PM   #4
gbm
Wizard
gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.
 
Posts: 2,179
Karma: 8800000
Join Date: Jun 2010
Device: Kobo Clara HD,Hisence Sero 7 Pro RIP, Nook STR, jetbook lite
Quote:
Originally Posted by Ridcully View Post
Hmm, PDF is already unchecked there. I unchecked everything else too for good measure but no dice.

(I also just noticed my distro has Calibre 5.12, so it isn't the latest version)
On my system clinking on a ebook that only has a PDF format opens in the system PDF reader.

Uninstall the distro version goto https://calibre-ebook.com/download_linux copy/paste the install command under Binary install into a terminal.

Code:
sudo -v && wget -nv -O- https://download.calibre-ebook.com/linux-installer.sh | sudo sh /dev/stdin
That will down load and install lateness calibre,

bernie
gbm is offline   Reply With Quote
Old 05-29-2022, 03:30 PM   #5
Ridcully
Enthusiast
Ridcully ought to be getting tired of karma fortunes by now.Ridcully ought to be getting tired of karma fortunes by now.Ridcully ought to be getting tired of karma fortunes by now.Ridcully ought to be getting tired of karma fortunes by now.Ridcully ought to be getting tired of karma fortunes by now.Ridcully ought to be getting tired of karma fortunes by now.Ridcully ought to be getting tired of karma fortunes by now.Ridcully ought to be getting tired of karma fortunes by now.Ridcully ought to be getting tired of karma fortunes by now.Ridcully ought to be getting tired of karma fortunes by now.Ridcully ought to be getting tired of karma fortunes by now.
 
Ridcully's Avatar
 
Posts: 48
Karma: 2112464
Join Date: Apr 2017
Device: Kindle 10th gen. Paperwhite (2018)
Thanks for the suggestion, bernie. The script installed the most recent version (5.43), but unfortunately the problem is still there.

It occurred to me it might be the library's fault since it's pretty big and I moved it from a Windows computer running 5.42, so I imported a PDF file in the default library, but it also opens in the ebook-viewer.
Ridcully is offline   Reply With Quote
Advert
Old 05-29-2022, 09:57 PM   #6
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 30,942
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Linux is CASE sensitive. Win is not. When you try and launch a former Win Library, the case of the filename could be wrong.

Try the Quality Check plugin: Check and rename Book Paths
FWIW I would also expect that Library Maintenance would squawk about not found
theducks is offline   Reply With Quote
Old 05-29-2022, 10:01 PM   #7
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,251
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
calibre uses Qt which in turn uses xdg-open. Convince xdg-open to use okular and you will be fine.
kovidgoyal is offline   Reply With Quote
Old 05-30-2022, 08:17 AM   #8
rjwse@aol.com
Addict
rjwse@aol.com ought to be getting tired of karma fortunes by now.rjwse@aol.com ought to be getting tired of karma fortunes by now.rjwse@aol.com ought to be getting tired of karma fortunes by now.rjwse@aol.com ought to be getting tired of karma fortunes by now.rjwse@aol.com ought to be getting tired of karma fortunes by now.rjwse@aol.com ought to be getting tired of karma fortunes by now.rjwse@aol.com ought to be getting tired of karma fortunes by now.rjwse@aol.com ought to be getting tired of karma fortunes by now.rjwse@aol.com ought to be getting tired of karma fortunes by now.rjwse@aol.com ought to be getting tired of karma fortunes by now.rjwse@aol.com ought to be getting tired of karma fortunes by now.
 
rjwse@aol.com's Avatar
 
Posts: 317
Karma: 2228060
Join Date: Dec 2013
Location: LaVernia, Texas
Device: kindle epub readers on android
You can use more than one PDF viewer in calibre and even set keyboard shortcuts for each. I use Okular and Document viewer. There are some slight differences and sometimes I prefer one over the other. Although calibre is the very best EPUB viewer on Planet Earth, you can also set keyboard shortcuts to open more than one EPUB viewer. Best Regards, Pop
Attached Thumbnails
Click image for larger version

Name:	okularEvince.png
Views:	132
Size:	405.8 KB
ID:	194037  
rjwse@aol.com is offline   Reply With Quote
Old 05-30-2022, 02:10 PM   #9
Ridcully
Enthusiast
Ridcully ought to be getting tired of karma fortunes by now.Ridcully ought to be getting tired of karma fortunes by now.Ridcully ought to be getting tired of karma fortunes by now.Ridcully ought to be getting tired of karma fortunes by now.Ridcully ought to be getting tired of karma fortunes by now.Ridcully ought to be getting tired of karma fortunes by now.Ridcully ought to be getting tired of karma fortunes by now.Ridcully ought to be getting tired of karma fortunes by now.Ridcully ought to be getting tired of karma fortunes by now.Ridcully ought to be getting tired of karma fortunes by now.Ridcully ought to be getting tired of karma fortunes by now.
 
Ridcully's Avatar
 
Posts: 48
Karma: 2112464
Join Date: Apr 2017
Device: Kindle 10th gen. Paperwhite (2018)
Quote:
Originally Posted by kovidgoyal View Post
calibre uses Qt which in turn uses xdg-open. Convince xdg-open to use okular and you will be fine.
Thanks, that was it, fixed it with xdg-mime.

Also, thank you rjwse for letting me know about the shortcuts
Ridcully is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Mac File Associations HogDrvr Calibre 8 07-23-2021 03:30 AM
Fighting with file associations - Help Please CanadianDawn Calibre 2 09-18-2020 06:17 PM
File Associations OscarAlx Calibre 3 06-24-2020 12:27 PM
kpvbooklet file associations procyon Kindle Developer's Corner 2 11-30-2016 03:16 PM
[Linux] File Associations, again markhale Devices 6 03-17-2011 12:16 PM


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


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