From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Subject: bug#23118: Duplicate entries in various environment variables Date: Sat, 26 Mar 2016 19:53:09 +0100 Message-ID: <87io09ystm.fsf@gnu.org> References: <874mbt28k4.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:45777) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ajtLZ-00020n-VY for bug-guix@gnu.org; Sat, 26 Mar 2016 14:54:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ajtLW-0001ab-PJ for bug-guix@gnu.org; Sat, 26 Mar 2016 14:54:05 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:41787) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ajtLW-0001aW-Lg for bug-guix@gnu.org; Sat, 26 Mar 2016 14:54:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ajtLW-0005fD-GS for bug-guix@gnu.org; Sat, 26 Mar 2016 14:54:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <874mbt28k4.fsf@gmail.com> (Chris Marusich's message of "Fri, 25 Mar 2016 20:59:39 -0700") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org To: Chris Marusich Cc: 23118@debbugs.gnu.org Chris Marusich skribis: > This behavior should be reproducible. I created a new user to test > this. When I logged into GNOME on GuixSD (built via "guix system > reconfigure" using git commit 43a58615bfc37a053ddaca1fcf11af5c14c0b4b6) > as the new user, I opened up the "Terminal" program (which launched bash > as an interactive, non-login shell). I then typed [...] I think the main problem is that gnome-terminal is wrapped: --8<---------------cut here---------------start------------->8--- $ cat /gnu/store/x2hz7q806ry8lmwdya0jlff01w7djbn2-gnome-terminal-3.18.2/bin= /gnome-terminal=20 #!/gnu/store/b1yqjimbdh5bf9jnizd4h7yf110744j2-bash-4.3.42/bin/bash export XDG_DATA_DIRS=3D"/gnu/store/lbkdykh3aa1469li01rwyya02q50r3b9-glib-2.= 46.1/share:/gnu/store/sm1i06dhgpkhvgj2bhcn6nfi275slgjz-gsettings-desktop-sc= hemas-3.18.0/share:/gnu/store/sqd3q1xq5fsbga00bwhghi9shi7xdaac-gtk+-3.18.2/= share:/gnu/store/x2hz7q806ry8lmwdya0jlff01w7djbn2-gnome-terminal-3.18.2/sha= re${XDG_DATA_DIRS:+:}$XDG_DATA_DIRS" export GTK_PATH=3D"/gnu/store/sqd3q1xq5fsbga00bwhghi9shi7xdaac-gtk+-3.18.2/= lib/gtk-3.0${GTK_PATH:+:}$GTK_PATH" export GIO_EXTRA_MODULES=3D"/gnu/store/lbkdykh3aa1469li01rwyya02q50r3b9-gli= b-2.46.1/lib/gio/modules:/gnu/store/ygn4vavcgr79p86jrlmvdycjs81ki4dl-dconf-= 0.24.0/lib/gio/modules${GIO_EXTRA_MODULES:+:}$GIO_EXTRA_MODULES" exec -a "$0" "/gnu/store/x2hz7q806ry8lmwdya0jlff01w7djbn2-gnome-terminal-3.= 18.2/bin/.gnome-terminal-real" "$@" --8<---------------cut here---------------end--------------->8--- This is done automatically by =E2=80=98glib-or-gtk-build-system=E2=80=99, b= ut obviously it=E2=80=99s not so great here. I suppose that in practice, it would work to simply switch gnome-terminal to =E2=80=98gnu-build-system=E2=80=99. Could you try that? There may still be other places that add extra entries, though. Ludo=E2=80=99.