|
From: | Jonathan Frederickson |
Subject: | Re: Setting environment variables in Gnome session |
Date: | Wed, 28 Aug 2019 20:50:35 -0400 |
On Wed, Aug 28, 2019 at 8:40 PM, Timothy Sample <address@hidden> wrote:
If you use GDM and GNOME, and have Bash as your shell, you need to setthe variables in “~/.bash_profile” or “~/.bashrc”. Guix System sets up GDM to run your X session from the your login shell (which I’m assumingis Bash). Since Guix System provides a “~/.bash_profile” file by default, Bash will read this and skip “~/.profile”. So if you set the variables in a Bash-specific file it should work. -- Tim
Thanks, but the environment variable I'm looking to set needs to apply to Gnome itself rather than my terminal shell. It's the search path that Gnome uses to find XDG application files. I believe ~/.bash_profile is only read by bash specifically?
(I've just tried adding the relevant env var to ~/.bash_profile in any case, but it doesn't seem to have affected gnome-shell's environment.)
[Prev in Thread] | Current Thread | [Next in Thread] |