On Saturday, October 24, 2026 2:25:39 AM Central Daylight Time Adrien 
Monteleone wrote:
> I'm certainly no expert on flatpak sandbox rules, but I thought 
> everything in ~/ was fair game.

By default everything has to use the portal to reach outside the sandbox, but 
GnuCash has
the --filesystem=host permission, so it can access most locations on the host 
without using
the portal. I believe that's necessary for the way GnuCash does backups when 
saving, since
it doesn't request permission for each backup file it saves.
https://docs.flatpak.org/en/latest/basic-concepts.html#portals
https://docs.flatpak.org/en/latest/sandbox-permissions.html#filesystem-access
https://github.com/flathub/org.gnucash.GnuCash/blob/f4fe8554deb64964c21eca2b006b97f3e5b713c2/org.gnucash.GnuCash.json#L16

> And all of that might offer me a clue about how to get a particular 
> flatpak .desktop file to properly use the GnuCash icon. Oddly, it did 
> the first time it was installed, and then disappeared upon subsequent 
> logins. I suspect this is because it doesn't have access to the icon 
> location. So I either need to copy it elsewhere, or, as you have done, 
> just link it. The kicker for me is where does the flatpak *want* to find 
> the icon?

That depends if it is a system or user install. For my user install, the icons 
are installed in
~/.local/share/flatpak/exports/share/icons. The desktop file should work just 
using the
icon name "org.gnucash.GnuCash", I don't know why it wouldn't.


_______________________________________________
gnucash-user mailing list
[email protected]
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
-----
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.

Reply via email to