I installed Gnote-flatpak via Software Mgr in the new Mint 18.3 Cinnamon 64-bit. My question is how do I communicate with non-flatpak data files thru Gnote sync tool? I want to add existing Tomboy notes to Gnote-flatpak but can't access the Tomboy data file from Gnote-flatpak. My impression is that flatpak installations are self-contained and cannot access other parts of the system including data files. Is this correct? Is there any way for flatpak to communicate with other parts of the system?
Thanks,
ndak
Flatpak Communication with non-flatpak data
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Flatpak Communication with non-flatpak data
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Re: Flatpak Communication with non-flatpak data
That is partially correct. The sandbox is configured per Flatpak. For some programs, like Gnote, it doesn't make sense to have it be able to access all your files by default (I assume that's why it is configured with this restriction). For example if you install the Gedit Flatpak you'd see it can access your entire home directory, as that does make sense as a default.ndak wrote:My impression is that flatpak installations are self-contained and cannot access other parts of the system including data files. Is this correct?
You can override the default sandbox configuration for a Flatpak: http://docs.flatpak.org/en/latest/worki ... ermissions
Specifically for Gnote installed from Software Manager you must run this command on the terminal to change the sandbox configuration for Gnote so that it will be allowed to access your home directory:
sudo flatpak override --filesystem=home org.gnome.Gnote
You only need to do this once.
Re: Flatpak Communication with non-flatpak data
Thanks Xenopeek! Your response answers my questions very well!
ndak
ndak