Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 11-19-2022, 07:11 PM   #1
haertig
Wizard
haertig ought to be getting tired of karma fortunes by now.haertig ought to be getting tired of karma fortunes by now.haertig ought to be getting tired of karma fortunes by now.haertig ought to be getting tired of karma fortunes by now.haertig ought to be getting tired of karma fortunes by now.haertig ought to be getting tired of karma fortunes by now.haertig ought to be getting tired of karma fortunes by now.haertig ought to be getting tired of karma fortunes by now.haertig ought to be getting tired of karma fortunes by now.haertig ought to be getting tired of karma fortunes by now.haertig ought to be getting tired of karma fortunes by now.
 
Posts: 1,759
Karma: 26012554
Join Date: Sep 2017
Device: PW3, Fire HD8 Gen7, Moto G7, Sansa Clip v2, Ruizu X26
Setting the initial library for Calibre Portable to load

Software: Calibre Portable v5.44 running on Linux

I am wondering how to get Calibre Portable to startup opening the library "Novels" (see screen shot of directory structure attached below). Currently, it always starts up opening "CalibreLibrary" which is not a library itself (just a directory that contains libraries), and then I have to manually select "Novels" (or "Reference"). Which works fine, but it's an extra step at startup that I'd just as soon avoid.

Is there a setting within Calibre Portable to specify the initial library to open? Or is it possible to rearrange/rename my directory structure to cause "Novels" to be opened by default? All of these libraries are within the Calibre Portable directory structure (no symlinks, no NFS mounts, etc.)
Attached Thumbnails
Click image for larger version

Name:	CalibreDirLayout.png
Views:	475
Size:	9.8 KB
ID:	197883  
haertig is offline   Reply With Quote
Old 11-19-2022, 07:23 PM   #2
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 8,968
Karma: 62040409
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
It's designed to always open CalibreLibrary.

I have successfully replaced the internal library folder with an (NTFS) directory junction pointing to the regular library, but that's kind of an awkward way to go about it if they're all in the same place.

Last edited by ownedbycats; 11-19-2022 at 07:27 PM.
ownedbycats is offline   Reply With Quote
Advert
Old 11-19-2022, 07:27 PM   #3
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 8,968
Karma: 62040409
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
If the reason you're using portable is not for actual portability but because you want your appdata in a specific place, check out Calibre's env variables for a regular install.

Last edited by ownedbycats; 11-19-2022 at 07:29 PM.
ownedbycats is offline   Reply With Quote
Old 11-19-2022, 07:55 PM   #4
haertig
Wizard
haertig ought to be getting tired of karma fortunes by now.haertig ought to be getting tired of karma fortunes by now.haertig ought to be getting tired of karma fortunes by now.haertig ought to be getting tired of karma fortunes by now.haertig ought to be getting tired of karma fortunes by now.haertig ought to be getting tired of karma fortunes by now.haertig ought to be getting tired of karma fortunes by now.haertig ought to be getting tired of karma fortunes by now.haertig ought to be getting tired of karma fortunes by now.haertig ought to be getting tired of karma fortunes by now.haertig ought to be getting tired of karma fortunes by now.
 
Posts: 1,759
Karma: 26012554
Join Date: Sep 2017
Device: PW3, Fire HD8 Gen7, Moto G7, Sansa Clip v2, Ruizu X26
Thanks. I assume "directory junction" must be a Windows filesystem term that is functionally similar to a Linux symlink or hardlink.

I am using Calibre Portable because I do indeed want this to potentially be portable, although this current installation is on my internal SSD. However, I may copy it to a thumbdrive sometime in the future.

Based on what you have said, I think I will try something like this (see attached screenshot of directory changes).

Thanks again!
Attached Thumbnails
Click image for larger version

Name:	CalibreDirLayout2.png
Views:	496
Size:	30.7 KB
ID:	197884  
haertig is offline   Reply With Quote
Old 11-19-2022, 08:18 PM   #5
haertig
Wizard
haertig ought to be getting tired of karma fortunes by now.haertig ought to be getting tired of karma fortunes by now.haertig ought to be getting tired of karma fortunes by now.haertig ought to be getting tired of karma fortunes by now.haertig ought to be getting tired of karma fortunes by now.haertig ought to be getting tired of karma fortunes by now.haertig ought to be getting tired of karma fortunes by now.haertig ought to be getting tired of karma fortunes by now.haertig ought to be getting tired of karma fortunes by now.haertig ought to be getting tired of karma fortunes by now.haertig ought to be getting tired of karma fortunes by now.
 
Posts: 1,759
Karma: 26012554
Join Date: Sep 2017
Device: PW3, Fire HD8 Gen7, Moto G7, Sansa Clip v2, Ruizu X26
The symlink works for my purposes. I misspoke when I previously said "or hardlink". You can't create a hardlink to a directory. I typed before my brain was engaged when I mentioned hardlink.

There is one minor glitch in this symlink workaround. When you initially start up Calibre, it indeed opens the desired library now. And you can see in the first attached screenshot below that all the libraries have their correct names (I have more libraries than just "Novels" and "Reference", but I only mentioned those two earlier to make things simpler). But once I choose a different library - Calibre successfully changes to that other library - then you can see in the Quick Switch listing that your current library has taken on the name of "CalibreLibrary" rather than it's true name. As you switch between other libraries, the "CalibreLibrary" moniker moves around to point to the current library (and the original name of the previous library is restored). This is a minor glitch that I can live with. It's easy to tell which library I am in just by looking at the book covers.

Thanks for your help!
Attached Thumbnails
Click image for larger version

Name:	Library 1.png
Views:	507
Size:	133.4 KB
ID:	197885   Click image for larger version

Name:	Library 2.png
Views:	50
Size:	105.6 KB
ID:	197886  

Last edited by haertig; 11-19-2022 at 08:20 PM.
haertig is offline   Reply With Quote
Advert
Old 11-19-2022, 08:37 PM   #6
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 8,968
Karma: 62040409
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
On NTFS, folder symlinks and directory junctions work pretty much the same, but symlinks are less transparent to applications and occasionally cause issues on less well-programmed ones. (So, a lot of games. )
ownedbycats is offline   Reply With Quote
Old 11-20-2022, 02:21 AM   #7
haertig
Wizard
haertig ought to be getting tired of karma fortunes by now.haertig ought to be getting tired of karma fortunes by now.haertig ought to be getting tired of karma fortunes by now.haertig ought to be getting tired of karma fortunes by now.haertig ought to be getting tired of karma fortunes by now.haertig ought to be getting tired of karma fortunes by now.haertig ought to be getting tired of karma fortunes by now.haertig ought to be getting tired of karma fortunes by now.haertig ought to be getting tired of karma fortunes by now.haertig ought to be getting tired of karma fortunes by now.haertig ought to be getting tired of karma fortunes by now.
 
Posts: 1,759
Karma: 26012554
Join Date: Sep 2017
Device: PW3, Fire HD8 Gen7, Moto G7, Sansa Clip v2, Ruizu X26
SOLVED (I don't know how to mark the thread as solved, so I'm putting it here).
haertig is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Calibre Portable - Shouldn't PORTABLE Viewer and PORTABLE Editor open WITH the ebook? Highlighter Calibre 2 10-31-2020 05:48 AM
Calibre Portable: doesn't load library when launched Over Calibre 7 09-18-2018 08:48 AM
Calibre cannot load Kobo library on first try Stingo Kobo Reader 5 05-06-2016 07:20 AM
Setting up Calibre Portable tweebee Library Management 9 11-05-2013 10:41 AM
Library in Calibre Portable Philip36Fld Library Management 8 05-19-2013 02:45 PM


All times are GMT -4. The time now is 07:29 PM.


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