lua-scripts icon indicating copy to clipboard operation
lua-scripts copied to clipboard

OpenInExplorer installed through flatpak

Open jbuencuerpo opened this issue 4 years ago • 4 comments

I am trying to use the OpenInExplorer. I am quite new to flatpak, so I hope it makes sense what I have done. To debug it I

flatpak run --command=/bin/bash org.darktable.Darktable

Then inside the bash

darktable -d lua

Then when I try to run it from the gui, this is the output.

50.025095 LUA file_uris is 'file:///mnt/metadata/foto/Sony RX100 m4/2020/Rockies2020/DSC07753.ARW'
50.025121 LUA file_uris is 'file:///mnt/metadata/foto/Sony RX100 m4/2020/Rockies2020/DSC07753.ARW' 'file:///mnt/metadata/foto/Sony RX100 m4/2020/Rockies2020/DSC07753.JPG'
50.025131 LUA OpenInExplorer run_cmd = busctl --user call org.freedesktop.FileManager1 /org/freedesktop/FileManager1 org.freedesktop.FileManager1 ShowItems ass 2 'file:///mnt/metadata/foto/Sony RX100 m4/2020/Rockies2020/DSC07753.ARW' 'file:///mnt/metadata/foto/Sony RX100 m4/2020/Rockies2020/DSC07753.JPG'  ""
sh: busctl: command not found

I can confirm busctl is installed and working outside of flatpak Thanks,

jbuencuerpo avatar Dec 29 '20 00:12 jbuencuerpo

This may help https://docs.flatpak.org/en/latest/sandbox-permissions.html

wpferguson avatar Dec 29 '20 00:12 wpferguson

I am not sure how to proceed, I will look into it with more calm. It looks it needs to be fixed adding an option in the script or through flatpak package adding more permissions..

jbuencuerpo avatar Dec 30 '20 01:12 jbuencuerpo

@jbuencuerpo did you get this figured out?

wpferguson avatar Jun 19 '21 20:06 wpferguson

I am having the same issue. The linked documentation states that everything under /usr and /bin is specifically blacklisted from being accessed from within the sandbox, so how does it help to link to it?

einarjh avatar Jul 14 '21 18:07 einarjh