Re: [darktable-user] Start Darktable in "Test" Mode
In complement to the other anwsers: * A quick way to start with a fresh config, that works for other tools too: rm -fr /tmp/dt-home mkdir /tmp/dt-home HOME=/tmp/dt-home darktable Starts with your $HOME set to a temporary directory, hence dt will create /tmp/dt-home/.config/darktable/ and work in it. * Be careful with .xmp files! Your "test-mode" dt will still create and update them, so if you work on the same images with your "test dt" and "production dt", you'll get a mess. One trick: copy, or better make symbolic links to your images in a temporary directory and work there. Cheers, Scott writes: > Thanks both of you! > > On Tue, Dec 20, 2016 at 1:18 AM, Robert William Hutton > wrote: >> I've attached my startup script (based on one by LebedevRI) that does this, >> at least approximately. >> >> -R >> >> On 20/12/16 15:54, Scott wrote: >>> >>> Hello. I'd like to write a few lua scripts. Is there an easy way to >>> start darktable as a "fresh" install (no database but also no other >>> configurations). I'd like this for testing so that I know the script >>> would work on a fresh install but also so that I don't accidentally >>> mess up my database or configuration with a lua mistake. >>> >>> I know there are some various command line options, specifically >>> --library. I know there are a lot of other options for datadir, >>> tmpdir, configdir, etc, but I'm not sure which ones I need to leave or >>> change to get what I want. I'd love to have just a --test option for >>> working/debugging lua scripts. >>> http://www.darktable.org/usermanual/ch01.html.php#program_invocation >>> >>> Thanks, >>> Scott >>> >>> >>> darktable user mailing list >>> to unsubscribe send a mail to >>> darktable-user+unsubscr...@lists.darktable.org >>> >> >> >> >> darktable user mailing list >> to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.org > > darktable user mailing list > to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.org > -- Matthieu Moy http://www-verimag.imag.fr/~moy/ darktable user mailing list to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.org
Re: [darktable-user] Start Darktable in "Test" Mode
Thanks both of you! On Tue, Dec 20, 2016 at 1:18 AM, Robert William Hutton wrote: > I've attached my startup script (based on one by LebedevRI) that does this, > at least approximately. > > -R > > On 20/12/16 15:54, Scott wrote: >> >> Hello. I'd like to write a few lua scripts. Is there an easy way to >> start darktable as a "fresh" install (no database but also no other >> configurations). I'd like this for testing so that I know the script >> would work on a fresh install but also so that I don't accidentally >> mess up my database or configuration with a lua mistake. >> >> I know there are some various command line options, specifically >> --library. I know there are a lot of other options for datadir, >> tmpdir, configdir, etc, but I'm not sure which ones I need to leave or >> change to get what I want. I'd love to have just a --test option for >> working/debugging lua scripts. >> http://www.darktable.org/usermanual/ch01.html.php#program_invocation >> >> Thanks, >> Scott >> >> >> darktable user mailing list >> to unsubscribe send a mail to >> darktable-user+unsubscr...@lists.darktable.org >> > > > > darktable user mailing list > to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.org darktable user mailing list to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.org
Re: [darktable-user] Start Darktable in "Test" Mode
I've attached my startup script (based on one by LebedevRI) that does this, at least approximately. -R On 20/12/16 15:54, Scott wrote: Hello. I'd like to write a few lua scripts. Is there an easy way to start darktable as a "fresh" install (no database but also no other configurations). I'd like this for testing so that I know the script would work on a fresh install but also so that I don't accidentally mess up my database or configuration with a lua mistake. I know there are some various command line options, specifically --library. I know there are a lot of other options for datadir, tmpdir, configdir, etc, but I'm not sure which ones I need to leave or change to get what I want. I'd love to have just a --test option for working/debugging lua scripts. http://www.darktable.org/usermanual/ch01.html.php#program_invocation Thanks, Scott darktable user mailing list to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.org darktable user mailing list to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.org darktable-dev.sh Description: application/shellscript
Re: [darktable-user] Start Darktable in "Test" Mode
You could try: --library :memory: --configdir /home/.../.config/darktable_dev Works for me. Creates the darktable.dev directory on first run I think, if not create it first. There are bound to be any number of other permutations! :-) Enjoy experimenting. R. On 20/12/16 04:54, Scott wrote: Hello. I'd like to write a few lua scripts. Is there an easy way to start darktable as a "fresh" install (no database but also no other configurations). I'd like this for testing so that I know the script would work on a fresh install but also so that I don't accidentally mess up my database or configuration with a lua mistake. I know there are some various command line options, specifically --library. I know there are a lot of other options for datadir, tmpdir, configdir, etc, but I'm not sure which ones I need to leave or change to get what I want. I'd love to have just a --test option for working/debugging lua scripts. http://www.darktable.org/usermanual/ch01.html.php#program_invocation Thanks, Scott darktable user mailing list to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.org -- http://lukecarville.jalbum.net https://facebook.com/rlc.hobday darktable user mailing list to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.org
[darktable-user] Start Darktable in "Test" Mode
Hello. I'd like to write a few lua scripts. Is there an easy way to start darktable as a "fresh" install (no database but also no other configurations). I'd like this for testing so that I know the script would work on a fresh install but also so that I don't accidentally mess up my database or configuration with a lua mistake. I know there are some various command line options, specifically --library. I know there are a lot of other options for datadir, tmpdir, configdir, etc, but I'm not sure which ones I need to leave or change to get what I want. I'd love to have just a --test option for working/debugging lua scripts. http://www.darktable.org/usermanual/ch01.html.php#program_invocation Thanks, Scott darktable user mailing list to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.org