Starting in the background using Portals
Bastien Nocera
hadess at hadess.net
Thu Jun 13 07:49:36 UTC 2019
On Thu, 2019-06-13 at 09:42 +0200, Alexander Larsson wrote:
> We've talked about how to best do this. A lot of currently packaged
> gnome apps use dconf (via gsettings) which is not a great fit as you
> need to grant full access to the centralized dconf daemon. The new
> recommended way is instead to use gsettings with the keyfile backend
> which uses regular files and inotify in a database used only for your
> app.
>
> This has been discussed here:
> https://gitlab.gnome.org/GNOME/glib/merge_requests/450, and since
> glib
> 2.60.0 it the keyfile backend is the default inside a flatpak, and
> wit
> flatpak 1.2 this will also pick up host-side defaults and locks. So,
> if you use the gnome 3.32 runtime this should work.
>
> Flatpak 1.2 also supports migration of dconf settings to the keyfile
> backend. If you set the "migrate-path" key in the manifest it will do
> a one-time migration of the dconf data into the right keyfile for
> gsettings use.
Tangential question, is there an issue to track removal of the holes
created for dconf from Flathub packages?
Cheers
More information about the Flatpak
mailing list