Portal access to local files.

Alec Leamas leamas.alec at gmail.com
Tue Jun 15 12:46:42 UTC 2021


Hm...

On 15/06/2021 12:27, Alec Leamas wrote:

> For the sake of discussion, one example is the Help.html file which
> needs to be presented using Firefox. In the non-flatpak case, using
> xdg-open does the trick. Inside the sandbox, we can start for example
> Firefox but it don't have access to the Help.html  file inside the sandbox.
> 
> Publishing these files on some URL is not really an option, OpenCPN is a
> navigation program designed to work off-line.
> 
> Is there some way to make the data accessible to the host? Other
> alternatives?

Hm... let me try a little more here. After all, feeding the sandboxed
xdg-open with a local HTML file in the from the main application in the
sandbox works just fine.  Our problems seems to about plugins, which are
dl-loaded flatpak extensions. It's the data here which doesn't seem to
to be visible to xdg-open. I'll dig a little more when there is time.

I'll be back...
--alec


More information about the Flatpak mailing list