Am Montag, 2. November 2015, 21:23:36 schrieb Yul Otani:
> I'm sorry if this question is trivial, but I couldn't find in the
> documentation (maybe I should look harder?) and I would like to ask:
> 
> Broad Question: what are the roles of the library file and the whole
> configdir??
> 
> The defaults are located respectively on
> "~/.config/darktable/library.db" and "~/.config/darktable". Both can
> be changed when running darktable via command-line, with options
> --library and --configdir.
> 
> My guess is that configdir holds options like keybinds, history of
> last open collection, last imported files, etc; whereas the library
> holds pretty much all information, like the catalog of photo file
> addresses, styles, and module presets. So... Why would one change one
> independently of the other?

The configdir also holds things like color profiles, watermarks, all the 
settings done in the preferences, the information what modules are shown or in 
favourites, what's expanded, ... The library on the other hand has (as you 
already said) the list of imported images, their tags, ratings, metadata, and 
all these things. So it might make sense to have several collections (either 
while developing or to help organize images) while keeping the configuration 
the same.

> Actual question: Would it be possible to change only the photo
> collection library
> but keep the same pattern of presets, options, styles, etc. with a
> command line option? That would seem nice, since I could have
> different libraries for different purposes (family photos,
> experiments, etc) but keep all my custom presets unified. I guess it's
> not possible, but I figure I could at least ask.
> 
> TL;DR: How to change the photo collection but keep presets and styles?

And here you pinpoint the one flaw in the current design: the library also 
contains the presets and styles and also the list of existing tags. We will 
eventually move that to a different database so you can easily switch 
libraries, but for now that's not so easy (one could use a shell script 
wrapper around darktable to sync the database tables so if anyone feels lucky 
have fun hacking :) ).

> Thank you very much
> 
> Y.

Tobias

Attachment: signature.asc
Description: This is a digitally signed message part.

------------------------------------------------------------------------------
_______________________________________________
Darktable-users mailing list
Darktable-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/darktable-users

Reply via email to