summaryrefslogtreecommitdiff
path: root/solenv
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-12-04 14:48:36 +0100
committerStephan Bergmann <sbergman@redhat.com>2017-12-04 14:48:36 +0100
commit12ba14c6bee1c773e4500f79a90a07f871cf3feb (patch)
treee5ed76df708470a089e8895e94b8bc7500db52ef /solenv
parent282bc5a824d103dcf4b19c9cf83698a2334e2e34 (diff)
Honor GTK theming in LO flatpak
...according to alexlarson, for now (until "eventually we'll have a sane dconf in the sandbox") apps need to specify --filesystem=xdg-run/dconf, --filesystem=~/.config/dconf:ro, --talk-name=ca.desrt.dconf, --env=DCONF_USER_CONFIG_DIR=.config/dconf (where the first two are irrelevant for LO due to its --filesystem=host). This fixes <https://github.com/flathub/org.libreoffice.LibreOffice/issues/4> "Libreoffice flatpak is not respecting user theme". Change-Id: If5ed33e1b524bfa877b89f052c6067398b5600a3
Diffstat (limited to 'solenv')
-rw-r--r--solenv/flatpak-manifest.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/solenv/flatpak-manifest.in b/solenv/flatpak-manifest.in
index 40621a67e1ea..fce711672617 100644
--- a/solenv/flatpak-manifest.in
+++ b/solenv/flatpak-manifest.in
@@ -392,8 +392,10 @@
"--socket=wayland",
"--socket=pulseaudio",
"--filesystem=host",
+ "--env=DCONF_USER_CONFIG_DIR=.config/dconf",
"--env=LIBO_FLATPAK=1",
"--own-name=org.libreoffice.LibreOfficeIpc0",
+ "--talk-name=ca.desrt.dconf",
"--talk-name=org.gtk.vfs.*"
]
}