From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jonathan Frederickson Subject: Setting environment variables in Gnome session Date: Wed, 28 Aug 2019 15:53:48 -0400 Message-ID: <20190828155348.5dbe862c@terracrypt.net> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:46803) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i340v-0001oL-CQ for help-guix@gnu.org; Wed, 28 Aug 2019 15:53:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1i340u-0001We-Bg for help-guix@gnu.org; Wed, 28 Aug 2019 15:53:53 -0400 Received: from out4-smtp.messagingengine.com ([66.111.4.28]:32869) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1i340u-0001Vk-2Y for help-guix@gnu.org; Wed, 28 Aug 2019 15:53:52 -0400 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 657E021FE9 for ; Wed, 28 Aug 2019 15:53:49 -0400 (EDT) Received: from localhost (pool-108-4-228-188.phlapa.fios.verizon.net [108.4.228.188]) by mail.messagingengine.com (Postfix) with ESMTPA id 0403CD60065 for ; Wed, 28 Aug 2019 15:53:48 -0400 (EDT) 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: help-guix@gnu.org I'm trying to install some software through Flatpak alongside software installed through Guix (on a Guix System install) and I'm running into what feels like it should be a minor issue. On other distros (including my desktop where I'm running Guix as a foreign package manager), I would modify XDG_DATA_DIRS in $HOME/.profile to accomplish this. However, my Gnome session in Guix System seems to ignore this file. I've tried creating a file in my home directory in /etc/profile like so, and as far as I can tell it's never getting run: export XDG_DATA_DIRS=$XDG_DATA_DIRS:/var/lib/flatpak/exports/share echo "hi there!" > $HOME/test.txt Is there a preferred way to set environment variables in a graphical session?