![]() |
#1 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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.) |
![]() |
![]() |
![]() |
#2 |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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. |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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. |
![]() |
![]() |
![]() |
#4 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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! |
![]() |
![]() |
![]() |
#5 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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! Last edited by haertig; 11-19-2022 at 08:20 PM. |
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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.
![]() |
![]() |
![]() |
![]() |
#7 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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).
|
![]() |
![]() |
![]() |
|
![]() |
||||
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 |