summaryrefslogtreecommitdiff
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 18:27:12 +0100
commit82e794f782de6c922d0323172715d4dff2151c28 (patch)
tree79966486e2fd283b43352144efaa6c88c18155d3
parent6ac72f5f7584adc11341c6986dc4bf4d5f7f933f (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 (cherry picked from commit 12ba14c6bee1c773e4500f79a90a07f871cf3feb) Reviewed-on: https://gerrit.libreoffice.org/45806 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>
-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 f316d143843f..a6e8340ee693 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.*"
]
}