From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jonathan Frederickson Subject: Re: Setting environment variables in Gnome session Date: Wed, 28 Aug 2019 20:50:35 -0400 Message-ID: <1567039835.10983.0@terracrypt.net> References: <20190828155348.5dbe862c@terracrypt.net> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-13; format=flowed Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:39877) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i38e6-0007tI-0n for help-guix@gnu.org; Wed, 28 Aug 2019 20:50:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1i38e5-0005me-3M for help-guix@gnu.org; Wed, 28 Aug 2019 20:50:37 -0400 Received: from out2-smtp.messagingengine.com ([66.111.4.26]:38601) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1i38e4-0005lo-Py for help-guix@gnu.org; Wed, 28 Aug 2019 20:50:37 -0400 In-Reply-To: <87ef14pzx4.fsf@ngyro.com> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: Timothy Sample Cc: help-guix@gnu.org On Wed, Aug 28, 2019 at 8:40 PM, Timothy Sample =20 wrote: > If you use GDM and GNOME, and have Bash as your shell, you need to set > the variables in =B4~/.bash_profile=A1 or =B4~/.bashrc=A1. Guix=20 > System sets up > GDM to run your X session from the your login shell (which I=FFm=20 > assuming > is Bash). Since Guix System provides a =B4~/.bash_profile=A1 file by > default, Bash will read this and skip =B4~/.profile=A1. >=20 > So if you set the variables in a Bash-specific file it should work. >=20 >=20 > -- Tim Thanks, but the environment variable I'm looking to set needs to apply=20 to Gnome itself rather than my terminal shell. It's the search path=20 that Gnome uses to find XDG application files. I believe=20 ~/.bash_profile is only read by bash specifically? (I've just tried adding the relevant env var to ~/.bash_profile in any=20 case, but it doesn't seem to have affected gnome-shell's environment.) =