flathub / org.darktable.Darktable

https://flathub.org/apps/details/org.darktable.Darktable
5 stars 14 forks source link

Let darktable run commands outside the sandbox #97

Closed rrenomeron closed 1 year ago

rrenomeron commented 1 year ago

See discussion on #86.

Lua scripts in darkable often call command line programs (e.g. exiftool) in order to do things. This will allow a script to reach out to the host system for these commands.

This is one possible approach for accomplishing the use case (another is pulling each command someone might want to use in a lua script into the sandbox). One drawback of this approach is that it breaks the sandbox security model in a big way, which may or may not be important to some people.

flathubbot commented 1 year ago

Started test build 6438

flathubbot commented 1 year ago

Build 6438 failed

hfiguiere commented 1 year ago

for exiftool you could just add it to the build (with Perl)

hfiguiere commented 1 year ago

Also this will NOT allow to just run "exiftool"

rrenomeron commented 1 year ago

Closing, since "the linter has spoken"

hcw70 commented 10 months ago

Please note that the "--talk-name=org.freedesktop.Flatpak" can also be set via flatseal completely controlled by the user. So a doc addition for "running darktable scripts from within flatpak" would be helpful. But fixing https://github.com/flathub/org.darktable.Darktable/issues/86 would still be needed if the lua scripts should not to be modified by each user for flatpak platform.