On Windows it's at C:\Program Files (x86)\gnucash\etc\gnucash\environment, 
while on other Unix-like systems it will be at /usr/etc/gnucash/environment if 
a distro install; substitute whatever installation prefix you used if not a 
distro install. Flatpak installs will put it in the flatpak's etc/gnucash 
directory.

For those who use distro installation one can create environment.local 
alongside it with your customizations so that it persists through updates. That 
might work as well on Windows, I'm not sure. It won't work for Gnucash.app on 
MacOS or on flatpak where the whole directory structure is replaced.

It's a way to set environment variables so that they apply only to GnuCash and 
are loaded without reference to the shell resource files like .bash_profile, 
very convenient for all desktop launchers that don't read the shell resource 
files.

Regards,
John Ralls



> On Sep 17, 2020, at 6:58 AM, David Reiser via gnucash-user 
> <[email protected]> wrote:
> 
> On a mac, there is a file
> 
> /Applications/Gnucash.app/Contents/Resources/etc/gnucash/environment
> 
> that declares all the locations for gnucash to find things like configuration 
> files and support library files. 
> I don’t know where the same information lives in linux or windows.
> --
> Dave Reiser
> [email protected]
> 
> 
> 
> 
> 
>> On Sep 16, 2020, at 11:26 PM, Tom B via gnucash-user 
>> <[email protected]> wrote:
>> 
>> Dave,
>> Please excuse my ignorance but I'm not familiar with the "gnucash
>> environment file", please provide a bit more explanation.
>> 
>> regards,
>> Tom
>> 
> 
> _______________________________________________
> gnucash-user mailing list
> [email protected]
> To update your subscription preferences or to unsubscribe:
> https://lists.gnucash.org/mailman/listinfo/gnucash-user
> If you are using Nabble or Gmane, please see 
> https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
> -----
> Please remember to CC this list on all your replies.
> You can do this by using Reply-To-List or Reply-All.

_______________________________________________
gnucash-user mailing list
[email protected]
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see 
https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
-----
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.

Reply via email to