matze / inkscape-flatpak

Flatpak build recipe for Inkscape
2 stars 0 forks source link

User config folder not accessable #8

Open deisi opened 5 years ago

deisi commented 5 years ago

Usually user config like palettes can be saved and edited in: ~/.config/inkscape However it seems that the flatpak package has no access to this folder. Thus user config is not loaded. Would it be possible to add this location to the package?

matze commented 5 years ago

Isn't that detrimental to the idea of having a sandboxed flatpak? Not sure, what the best solution is …

deisi commented 5 years ago

I don't know. But can't one grand access to only specific folders?

http://docs.flatpak.org/en/latest/sandbox-permissions.html#filesystem-access

If I see this correctly it would mean to add:

--filesystem=home/.config/inkscape

To the manifest. However I don't know how to correctly enter home as a variable here. As a last resort one could Grant access to the complete home folder, what might happen already anyways. I haven't checked.