![]() |
#1 |
Enthusiast
![]() Posts: 35
Karma: 10
Join Date: Apr 2013
Location: Montreal, Qc, Canada
Device: Moon Reader, Xiaomi Note 10
|
CALIBRE_CONFIG_DIRECTORY Environment variable
I did setup the CALIBRE_CONFIG_DIRECTORY environment variable but Calibre GUI doesn't seem to take the variable into account.
Other that setting the variable, is there something else to do ? Tks, GH |
![]() |
![]() |
![]() |
#2 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,553
Karma: 950151
Join Date: Nov 2008
Device: Sony PRS-950, iphone/ipad (Marvin/iBooks/QuickReader)
|
It works fine for me! What OS are you running on, and how are you setting the variable.
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Enthusiast
![]() Posts: 35
Karma: 10
Join Date: Apr 2013
Location: Montreal, Qc, Canada
Device: Moon Reader, Xiaomi Note 10
|
Windows 7
In fact, what is the best way to know for sure where are the configuration files actually used by Calibre ? My target configuration is on a networked drive and the one that seems to be used used is local to the server under [user]/AppData/roaming/calibre GH |
![]() |
![]() |
![]() |
#4 |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,660
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
|
![]() |
![]() |
![]() |
#5 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,553
Karma: 950151
Join Date: Nov 2008
Device: Sony PRS-950, iphone/ipad (Marvin/iBooks/QuickReader)
|
Quote:
Calibre files on a network drive are not officially supported, although in many cases they can work OK - particularly if mapped to a drive letter in Windows. I always hold my configuration locally albeit in a different location to the default (I actually use a folder under DropBox so I get it backed up). Having said that I am surprised it does not work if you have the network location mapped to a drive letter. I would expect trying to use a UNC path to be more problematical. |
|
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,364
Karma: 8012652
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Using Win7: I have many different configurations and use .bat files to choose which one to use when I start calibre. Examples:
Code:
set CALIBRE_CONFIG_DIRECTORY=D:\CBH_Data\calibre.git\config_test_small calibre-debug -g Code:
set CALIBRE_CONFIG_DIRECTORY=D:\CBH_Data\calibre.git\config_test_temp calibre-debug -g |
![]() |
![]() |
![]() |
#7 |
Enthusiast
![]() Posts: 35
Karma: 10
Join Date: Apr 2013
Location: Montreal, Qc, Canada
Device: Moon Reader, Xiaomi Note 10
|
|
![]() |
![]() |
![]() |
#8 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,553
Karma: 950151
Join Date: Nov 2008
Device: Sony PRS-950, iphone/ipad (Marvin/iBooks/QuickReader)
|
|
![]() |
![]() |
![]() |
#9 |
Enthusiast
![]() Posts: 35
Karma: 10
Join Date: Apr 2013
Location: Montreal, Qc, Canada
Device: Moon Reader, Xiaomi Note 10
|
|
![]() |
![]() |
![]() |
#10 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30,939
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Code:
Z:\Media\CalibreLibrary\CALIBRE_CONFIG_DIRECTORY IIRC Calibre (at run time)will not create the whole path, only the containing older ALSO it needs FULL rights to \Media Z:\Media\CalibreLibrary <this is not the Library folder?? AFAIK nothing else can be inside Z:\Media\CALIBRE_CONFIG_DIRECTORY would be OK, it is alongside |
![]() |
![]() |
![]() |
#11 | ||
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,660
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
Quote:
IIRC I copied the the default configuration directory, "C:\Users\BetterRed\Appdata\Roaming\calibre", to "E\ebooks\" and renamed it to "calibreConfig", I also renamed "...\Roaming\calibre" to "...\Roaming\calibre.orig". BR |
||
![]() |
![]() |
![]() |
#12 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,376
Karma: 78877538
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
|
Maybe a dumb question. Where are you setting this environment variable?
|
![]() |
![]() |
![]() |
#13 |
US Navy, Retired
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,895
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen
|
|
![]() |
![]() |
![]() |
#14 | |
Enthusiast
![]() Posts: 35
Karma: 10
Join Date: Apr 2013
Location: Montreal, Qc, Canada
Device: Moon Reader, Xiaomi Note 10
|
Quote:
https://kb.wisc.edu/cae/page.php?id=24500 A more universal way is to do it from "Computer" using Windows Explorer if you are on Windows 8. GH Last edited by huotg01; 11-12-2013 at 01:31 PM. |
|
![]() |
![]() |
![]() |
#15 | ||
Enthusiast
![]() Posts: 35
Karma: 10
Join Date: Apr 2013
Location: Montreal, Qc, Canada
Device: Moon Reader, Xiaomi Note 10
|
Quote:
Quote:
Tks GH |
||
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Variable Leading, or Is Validation Necessary? | NeoRealist | Workshop | 6 | 12-22-2012 06:46 AM |
Using Class Variable in Def | Agama | Development | 1 | 08-21-2012 07:05 AM |
Variable payments come to eBooks | WhichP | News | 4 | 08-04-2012 03:52 PM |
How Can I set CALIBRE_CONFIG_DIRECTORY ? | ryanlee | Calibre | 2 | 07-02-2010 04:02 AM |