From 29f6ae63b0bfbc987e964db09bfbf17436a57b01 Mon Sep 17 00:00:00 2001 From: Michael Gratton Date: Sun, 17 Jan 2021 20:17:10 +1100 Subject: [PATCH] org.gnome.Geary.yaml: Workaround for WebKitGTK not printing under Flatpak Since WebKitGTK does not currently support printing under Flatpak, enable RW access to XDG downloads folder, so at least people can print to a PDF, then print that. See https://github.com/flathub/org.gnome.Geary/issues/42 --- org.gnome.Geary.json | 1 + org.gnome.Geary.yaml | 5 ++++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/org.gnome.Geary.json b/org.gnome.Geary.json index c840f5ac..87ffaaf1 100644 --- a/org.gnome.Geary.json +++ b/org.gnome.Geary.json @@ -27,6 +27,7 @@ "--metadata=X-DConf=migrate-path=/org/gnome/Geary/", "--filesystem=~/.config/geary:ro", "--filesystem=~/.var/app/org.gnome.Geary/config/geary:ro", + "--filesystem=xdg-download:rw", "--filesystem=/tmp" ], "cleanup": [ diff --git a/org.gnome.Geary.yaml b/org.gnome.Geary.yaml index 6c5b9d15..6c48b0b2 100644 --- a/org.gnome.Geary.yaml +++ b/org.gnome.Geary.yaml @@ -61,7 +61,10 @@ finish-args: - "--filesystem=~/.config/geary:ro" - "--filesystem=~/.var/app/org.gnome.Geary/config/geary:ro" - # Let view source keep on working as-sis for now. Bug 779311. */ + # Workaround for printing to PDF until WebKitGTK supports printing + - "--filesystem=xdg-download:rw" + + # Let view source keep on working as-sis for now. Bug 779311. - "--filesystem=/tmp" cleanup: