From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:48765) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gdRJw-0003JF-W7 for guix-patches@gnu.org; Sat, 29 Dec 2018 21:59:24 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gdR4B-00042U-2n for guix-patches@gnu.org; Sat, 29 Dec 2018 21:43:07 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:46130) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gdR49-00041K-Vq for guix-patches@gnu.org; Sat, 29 Dec 2018 21:43:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gdR49-0004vR-Ri for guix-patches@gnu.org; Sat, 29 Dec 2018 21:43:01 -0500 Subject: [bug#33916] [PATCH 1/4] gnu: gdm: Pass XDG_DATA_DIRS into session environment. Resent-Message-ID: From: Timothy Sample Date: Sat, 29 Dec 2018 21:42:01 -0500 Message-Id: <20181230024204.4230-1-samplet@ngyro.com> In-Reply-To: <87bm53n3iu.fsf@ngyro.com> References: <87bm53n3iu.fsf@ngyro.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 33916@debbugs.gnu.org * gnu/packages/gnome.scm (gdm)[arguments]: Update the pre-configure phase so that GDM preserves the XDG_DATA_DIRS variable when setting up the session environment. --- gnu/packages/gnome.scm | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm index 415398eee..da12a2987 100644 --- a/gnu/packages/gnome.scm +++ b/gnu/packages/gnome.scm @@ -32,6 +32,7 @@ ;;; Copyright © 2018 Jovany Leandro G.C ;;; Copyright © 2018 Vasile Dumitrascu ;;; Copyright © 2018 Björn Höfling +;;; Copyright © 2018 Timothy Sample ;;; ;;; This file is part of GNU Guix. ;;; @@ -5399,6 +5400,11 @@ libxml2.") ;; are met (provided GNOME is installed of course). "gdm_session_set_environment_variable (self, \"XDG_CONFIG_DIRS\",\n" " \"/run/current-system/profile/etc/xdg\");\n" + ;; The session bus (which GDM will initialize from the this + ;; session environment) needs to know where to find the system + ;; service files. + "gdm_session_set_environment_variable (self, \"XDG_DATA_DIRS\",\n" + " \"/run/current-system/profile/share\");\n" ))) ;; Look for custom GDM conf in /run/current-system. (substitute* '("common/gdm-settings-desktop-backend.c") -- 2.20.1