[GNC-dev] gnucash-on-flatpak master: Relax default sandbox restrictions to allow filesystem access to the complete host system

Geert Janssens geert.gnucash at kobaltwit.be
Fri Oct 2 15:54:04 EDT 2020


Unfortunately no. Printing in flatpak requires the code that implements 
printing to implement a printing portal. Gtk has done so, but libwebkit 
hasn't. That's why you can print checks, but not reports.

Regards,

Geert

Op vrijdag 2 oktober 2020 18:25:24 CEST schreef Mike Commissaris:
> Would this allow direct printing to printer as well?
> 
> On Fri, Oct 2, 2020 at 1:06 AM Geert Janssens <gjanssens at code.gnucash.org>
> 
> wrote:
> > Updated  via
> > https://github.com/Gnucash/gnucash-on-flatpak/commit/d282118a (commit)
> > 
> >         from
> > 
> > https://github.com/Gnucash/gnucash-on-flatpak/commit/bb7d5c23 (commit)
> > 
> > 
> > 
> > commit d282118a0b32ba22a22e021c04dc70605c6d1a4b
> > Author: Geert Janssens <geert at kobaltwit.be>
> > Date:   Fri Oct 2 10:06:07 2020 +0200
> > 
> >     Relax default sandbox restrictions to allow filesystem access to the
> > 
> > complete host system
> > 
> >     This should make it easier for users to store there gnucash (meta)data
> > 
> > outside
> > 
> >     of their home directories, like on an external drive or a usb stick.
> >     It may also help with using 'localhost' for mysql backed books but I
> > 
> > haven't tested that.
> > 
> >     If users want a tighter sandbox, they can override this default with
> > 
> > the 'flatpak override' command
> > 
> > diff --git a/org.gnucash.GnuCash.json b/org.gnucash.GnuCash.json
> > index c63c145..a581c5c 100644
> > --- a/org.gnucash.GnuCash.json
> > +++ b/org.gnucash.GnuCash.json
> > @@ -13,7 +13,7 @@
> > 
> >      "--socket=x11",
> >      "--share=ipc",
> >      "--share=network",
> > 
> > -    "--filesystem=home",
> > +    "--filesystem=host",
> > 
> >      "--filesystem=xdg-run/dconf", "--filesystem=~/.config/dconf:ro",
> >      "--talk-name=ca.desrt.dconf",
> > 
> > "--env=DCONF_USER_CONFIG_DIR=.config/dconf"
> > 
> >    ],
> > 
> > Summary of changes:
> >  org.gnucash.GnuCash.json | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> > 
> > _______________________________________________
> > gnucash-changes mailing list
> > gnucash-changes at gnucash.org
> > https://lists.gnucash.org/mailman/listinfo/gnucash-changes






More information about the gnucash-devel mailing list