I already set them in my ~/.profile, but that does not seem to work, as
they are not seen when starting LyX (or perhaps any GUIX installed
app?). Would setting them in ~/.bash_profile work? I thought that
~/.profile is loaded on login. I also need the variables to be visible,
when I click a launcher for example, so not only when I open a terminal.
Not sure bash_profile would be considered in that case?

I need to try this. Thanks so far!

On 4/6/20 7:11 PM, Leo Famulari wrote:
> On Sun, Apr 05, 2020 at 10:49:54PM +0200, Zelphir Kaltstahl wrote:
>> My question regards setting environment variables, which are considered
>> by applications installed via GUIX on a foreign distro (Trisquel). What
>> is the best practice to set custom environment variables?
> You should set them in the typical way for your operating system and
> shell. In general, you should do it in the initialization files for
> login shells. If you are using Bash, use ~/.bash_profile.

Reply via email to