How to configure gsettings keys of flatpaks?

Reto Kaiser reto at retoonline.com
Sun Oct 18 13:38:37 UTC 2020


Flatpak apps now can store dconf settings in a "keyfile", for example the
gedit flatpak uses this file:
-----
~/.var/app/org.gnome.gedit/config/glib-2.0/settings/keyfile
-----

What is the best way to configure these settings, without overwriting the
whole file?

My approach now is to run "gsettings" in the flatpak container. But that
only works once the flatpak is installed.
-----
flatpak run --command=gsettings org.gnome.gedit set
org.gnome.gedit.preferences.editor display-line-numbers false
-----

Is there maybe a way to modify the keyfile using "gsettings" from the host?

Thanks
Reto
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/flatpak/attachments/20201018/a4bcfa77/attachment.htm>


More information about the Flatpak mailing list