From d1d7485434f08ee58925c34525a3a2b5d382b447 Mon Sep 17 00:00:00 2001 From: Michael Gratton Date: Thu, 29 Aug 2019 00:53:49 +1000 Subject: [PATCH 1/2] Close Flatpak settings hole See https://blogs.gnome.org/mclasen/2019/07/12/settings-in-a-sandbox-world/ --- org.gnome.Geary.json | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/org.gnome.Geary.json b/org.gnome.Geary.json index 6044c795..84ed6646 100644 --- a/org.gnome.Geary.json +++ b/org.gnome.Geary.json @@ -53,9 +53,8 @@ "--talk-name=org.gnome.evolution.dataserver.Sources5", "--filesystem=xdg-cache/evolution/addressbook:ro", - /* Needed for dconf to work */ - "--filesystem=xdg-run/dconf", "--filesystem=~/.config/dconf:ro", - "--talk-name=ca.desrt.dconf", "--env=DCONF_USER_CONFIG_DIR=.config/dconf", + /* Migrate GSettings into the sandbox */ + "--metadata=X-DConf=migrate-path=/org/gnome/Geary/", /* Let view source keep on working as-sis for now. Bug 779311. */ "--filesystem=/tmp" From bf16d4f022ce34b5f09ddc74af661487890bf7f4 Mon Sep 17 00:00:00 2001 From: Michael Gratton Date: Thu, 29 Aug 2019 01:12:52 +1000 Subject: [PATCH 2/2] Close Flatpak notifications hole This requires xdg-desktop-portal >= 1.2.0. --- org.gnome.Geary.json | 3 --- 1 file changed, 3 deletions(-) diff --git a/org.gnome.Geary.json b/org.gnome.Geary.json index 84ed6646..72c02d9d 100644 --- a/org.gnome.Geary.json +++ b/org.gnome.Geary.json @@ -38,9 +38,6 @@ /* Needs to talk to the network: */ "--share=network", - /* Notification access */ - "--talk-name=org.freedesktop.Notifications", - /* Secrets access */ "--talk-name=org.freedesktop.secrets",