[GNC-dev] flatpak environment.local

Chris Good goodchris96 at gmail.com
Thu Apr 22 22:54:57 EDT 2021

Hi Frank,

Thanks for the suggestion.
~/.local/share/flatpak/app does not exist in my system (Ubuntu 20.04 flatpak 1.65).
Not sure if relevant, but I installed the GnuCash flatpak for only my user - i.e. NOT using sudo.

I'm not sure setting LANG=en_GB in environment.local was a good test of if environment.local is being used.
I did the same in Windows and the trace file message still shows the effective local has not been altered.
I did check en_GB is available in my flatpak GnuCash shell.

I'm happy to update the wiki when I know where environment.local should be or if it is not used.

BTW jralls in https://github.com/flathub/org.gnucash.GnuCash/issues/24#issuecomment-651967321 says:
  I've patched guile to not do the timestamp check and just use any .go files it finds. Has that helped?

And another user says it fixed the issue of .scm files being recompiled on every launch.
But I still needed to touch all the .go files in Ubuntu (and derivates as the flatpak wiki says). Any idea why jralls' fix doesn't help in Ubuntu?

Chris Good

-----Original Message-----
From: Frank H. Ellenberger <frank.h.ellenberger at gmail.com> 
Sent: Thursday, 22 April 2021 11:49 PM
To: Chris Good <goodchris96 at gmail.com>; gnucash-devel at gnucash.org
Subject: Re: [GNC-dev] flatpak environment.local

Hi Chris,

Flatpak is at first a sandbox.

I suspect you are searching for

Can you after testing update
https://wiki.gnucash.org/wiki/Configuration_Locations and add a link in https://wiki.gnucash.org/wiki/Flatpak


Am 22.04.21 um 08:38 schrieb Chris Good:
> Hi,
> (disclosure: I'm a flatpak newbie)
> I'm trying to update my BackupGnuCash utility
> (https://github.com/goodvibes2/BackupGnuCashLinux) to cater for Flatpak.
> I'm trying to find out if environment.local needs to be backed up, and 
> if so, where it should be.
> I created an environment.local containing:
> # 22/04/2021 CRG Set LANG to en_GB to test where environment.local 
> should be in flatpak
> LANG=en_GB
> And put it in
> /etc/gnucash
> and
> /var/lib/flatpak/app/org.gnucash.GnuCash/current/active/files/etc/gnuc
> ash
> But when GnuCash is restarted, the trace file still shows:
> INFO <gnc.gui> [Gnucash::CoreApp::start] Effective locale set to 
> en_AU.UTF-8.
> Can flatpak GnuCash read an environment.local file and if so, where 
> should it be?
> Regards,
> Chris Good

More information about the gnucash-devel mailing list