A little late to the game, but I gave up waiting for Manjaro to release dt3.4 and installed from the AUR. I had previously installed a flatpack, and was unable (nor did I expect to) get the photils lua script going. I’ve removed the flatpak.
On the new install from the AUR, the script installer doesn’t show up in the initial launch of dt. My darktable RC has the following:
Try running darktable from the command line with --version and see if lua support is compiled in. If so, run darktable -d lua, and see what the output is.
compile options:
bit depth is 64 bit
normal build
SSE2 optimized codepath enabled
OpenMP support enabled
OpenCL support enabled
Lua support enabled, API version 6.1.0
Colord support enabled
gPhoto2 support enabled
GraphicsMagick support enabled
ImageMagick support disabled
OpenEXR support enabled
I think that the problem is with this AUR build.
I’m on a test machine, and checked another Arch derivative distro (Garuda XFCE). It’s version of darktable is from the “official Repo Community”, and this darktable version shows the script manager in position as expected.
Guess I’ll just wait a bit longer for the Manjaro release before updating on my production machine. Thanks for your suggestion.
Lua libraries installed. I re-read your first response, turns out the luarc file was missing. I copied/pasted the one from the flatpac, restarted and the script manager did show up, and I’m able to use photils as normal.
Thanks for your help, sorry I missed the second part of your recommedation.
compile options:
bit depth is 64 bit
normal build
SSE2 optimized codepath enabled
OpenMP support enabled
OpenCL support enabled
Lua support enabled, API version 6.1.0
Colord support enabled
gPhoto2 support enabled
GraphicsMagick support enabled
ImageMagick support disabled
OpenEXR support enabled
I did check, my luarc file is present in the .config/darktable directory.
For script_manager to start it has to be in the luarc file, i.e. require “tools/script_manager”. You could remove the other stuff from the luarc file and just have this then use script_manager to start and stop your scripts. It remembers state, so if a script that it started was still running at shutdown, the next time darktable starts, script_manager restarts the script.