On Fri, Aug 1, 2025 at 11:04 PM Cam Ellison <[email protected]> wrote:

> On 2025-08-01 19:32, R Losey wrote:
> > Which environment file did you add it to?
> >
> Both root and home.
>
> Cheers
>
>
I don't know if you're running it via flatpak or not (and that may not read
or inherit your environment.

Which file, precisely? There are some files that are only read for
interactive shells, meaning that the environment variable is set in your
terminal, but not for a script (could that be it?)

Alternatively, you could set up a "wrapper" alias that will set the
environment variable and then invoke Gnucash - something like
alias gnucash='(FRED=1 /usr/local/bin/gnucash')

(I used FRED instead of the proper variable, and you'd have to use the
correct path to GnuCash, too. I'm also not entirely sure I have the alias
command properly set -- too much pinging between various shells over the
years. But you get the idea.)

-- 
_________________________________
Richard Losey
[email protected]
Micah 6:8
_______________________________________________
gnucash-user mailing list
[email protected]
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
-----
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