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