Lua scripts in Darktable. How to?

For thumbnails that would be --cachedir.

1 Like

Sounds great to be able to put the thumbnails together with the pictures :slight_smile:
I will give it a try later …

Thanks :slight_smile:

… then its just the wish for background thumbnail generation, without the user having to personally scroll through (thousands) of pictures…

but maybe there is a “santa” between the developers ?

Thanks and happy holidays :slight_smile:

Not Lua, but maybe it’s still helpful: https://www.darktable.org/usermanual/ch01.html.php#darktable_generate_cache_commandline_parameters

@Soren_Garup, to generate the thumbnail cache:

$ darktable-generate-cache

(this tools is installed at the same location as main darktable binary).

And you’re done.

Hi again and sorry for the delay, but Yuletide is Yuletide …

I tryed the:
$ darktable-generate-cache

and got this:
“warning: disk backend for thumbnail cache is disabled (cache_disk_backend)
if you want to pre-generate thumbnails and for darktable to use them, you need to enable disk backend for thumbnail cache”

soren

ps. what I meant in the first place was, if it would be possible to have the the thumbnails build in the background automatically without the users having to fiddle with terminals ?

p.p.s. and thanks for a great FOSS program :slight_smile:

cache_disk_backend is true by default so it sounds like you have disabled it.

go to the preferences and activate this option and rerun the darktable-generate-cache. And you’ll won’t have to do that each time, the cache disk will be used by dt by default. Thumbs generated when needed when navigating pictures at difference scales will get saved in the cache.

Thanks Pascal :slight_smile:

it works like a charm …

don’t know why I disabled it in the first place…