[niepce] flatpak: allow dconf to properly work



commit 8dbad17fd6882784257b5454bc168c855af9da61
Author: Hubert Figuière <hub figuiere net>
Date:   Mon Feb 12 22:47:30 2018 -0500

    flatpak: allow dconf to properly work

 flatpak/org.gnome.Niepce.json | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)
---
diff --git a/flatpak/org.gnome.Niepce.json b/flatpak/org.gnome.Niepce.json
index bb34c3a..a5e4e89 100644
--- a/flatpak/org.gnome.Niepce.json
+++ b/flatpak/org.gnome.Niepce.json
@@ -19,7 +19,12 @@
         "--socket=wayland",
         "--filesystem=host",
         "--share=network",
-        "--talk-name=org.gtk.vfs.*"
+        "--talk-name=org.gtk.vfs.*",
+        /* Needed for dconf to work (+ host or homedir read access from above) */
+        "--filesystem=xdg-run/dconf",
+        "--filesystem=~/.config/dconf:ro",
+        "--talk-name=ca.desrt.dconf",
+        "--env=DCONF_USER_CONFIG_DIR=.config/dconf"
     ],
     "build-options" : {
         "cflags" : "-O2 -g",


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]