On 2025-08-02 09:08, R Losey wrote:
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?)

Based on this email, I found a solution.

In xfce, there is a dropdown that displays icons presented by .desktop files, thus: /usr/share/applications/gnucash.desktop. That looks like a script to me. However, simply adding the environment command appears to cause an error, because doing so results in no icon being displayed.  What does work is replacing the Exec command in the gnucash.desktop file with the following line:

Exec=bash -c  'WEBKIT_DISABLE_COMPOSITING_MODE=1; gnucash %f'

It appears that xfce relies only on executables, and (thus?) ignores the environment.

Thank you to all, you and Charlie in particular.

Cheers

Cam

_______________________________________________
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