I believe so, let me give it a go shortly.
Updated
Awesome, it works greatly, “id” was the key
Pretty hard to guess such a detail, as Id and name are very generic and rather hard to associate to a full localization switch.
So yes, this is totally possible
Change to the directory where the flatpak keeps its settings:
~/.var/app/org.darktable.Darktable/config/darktable
Clone the git repo:
git clone https://github.com/darktable-org/lua-scripts.git lua
Link the script manager to the luarc:
ln -s lua/tools/script_manager.lua ./luarc
Start darktable and enable the scripts you want.
Works like a charm! Thank you very much!
Then again, I think this will an unsolvable issue. I enabled the HDRMerge script and configured it to use the HDRMerge appimage but since appimages require FUSE to run, I get the “HDRMerge failed” every time because the Flatpak can’t run the appimage. On the other hand .deb darktable has no problem with it.
I was very happy and enthusiastic when Flatpak, Snap and Appimage came on the scene but I’m getting more and more frustrated with all of those formats. Not to mention that neither Flatpak, Snap nor Appimage can get to OpenCL. (Snap can but only in classic confinement which means no confinement at all).
Flatpak is sandboxed, so you need to grant it permission to run the appimage. Check out the Flatseal app on flathub, its a GUI permissions app for flatpak.