help-guix
[Top][All Lists]
Advanced

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

Re: Setting environment variables (GUIX on foreign distro)


From: Leo Famulari
Subject: Re: Setting environment variables (GUIX on foreign distro)
Date: Tue, 7 Apr 2020 19:45:39 -0400

On Wed, Apr 08, 2020 at 01:14:40AM +0200, Zelphir Kaltstahl wrote:
> 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?

Check the Bash man page, section INVOCATION, and then FILES. That
explains what files are used and in what situations.

In short, ~/.profile or ~/.bash_profile should both work. Remember, they
are for login shells, so you need to log in again to see the effect.



reply via email to

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