[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Environment variables on GNOME on foreign distro (Debian)

From: Jorge P . de Morais Neto
Subject: Re: Environment variables on GNOME on foreign distro (Debian)
Date: Sat, 29 Feb 2020 14:21:56 -0300

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

eval $(guix package -p "${GIO_PROFILE}" --search-paths)
--8<---------------cut here---------------end--------------->8---

I also copied
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.


- <>
- I am Brazilian.  I hope my English is correct and I welcome feedback.
- <>
- <>

reply via email to

[Prev in Thread] Current Thread [Next in Thread]