On Wed, Aug 28, 2019 at 8:40 PM, Timothy Sample <samp...@ngyro.com>
wrote:
If you use GDM and GNOME, and have Bash as your shell, you need to set
the variables in “~/.bash_profile” or “~/.bashrc”. Guix
System sets up
GDM to run your X session from the your login shell (which I’m
assuming
is 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.)