[Libreoffice-commits] core.git: solenv/flatpak-manifest.in

Stephan Bergmann sbergman at redhat.com
Mon Dec 4 13:53:46 UTC 2017


 solenv/flatpak-manifest.in |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit 12ba14c6bee1c773e4500f79a90a07f871cf3feb
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Mon Dec 4 14:48:36 2017 +0100

    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

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.*"
     ]
 }


More information about the Libreoffice-commits mailing list