Em [2020-02-24 seg 12:49:32+0800], 宋文武 escreveu: > Hello, I'd say it's not a solved problem in general.
Sad to hear. For now, I continue to set GUIX environment variables (including sourcing "${GUIX_PROFILE}/etc/profile") from ~/.profile. To avoid the GIO_EXTRA_MODULES problem, I have moved Gnucash from my default profile to a separate Guix profile. This way my default "${GUIX_PROFILE}/etc/profile" does not export GIO_EXTRA_MODULES. Then to launch Gnucash I created an executable Bash script in ~/bin/gnucash with the following contents: --8<---------------cut here---------------start------------->8--- #!/usr/bin/env bash GIO_PROFILE=~/".guix-extra-profiles/GIO_EXTRA_MODULES/GIO_EXTRA_MODULES" eval $(guix package -p "${GIO_PROFILE}" --search-paths) gnucash --8<---------------cut here---------------end--------------->8--- I also copied ~/.guix-extra-profiles/GIO_EXTRA_MODULES/GIO_EXTRA_MODULES/share/applications/gnucash.desktop into ~/.local/share/applications/gnucash.desktop and changed the Exec line to Exec=/home/jorge/bin/gnucash %f It seems to be working, but I have tested it only lightly. Regards -- - <https://jorgemorais.gitlab.io/justice-for-rms/> - I am Brazilian. I hope my English is correct and I welcome feedback. - <https://www.defectivebydesign.org/> - <https://www.gnu.org/>