From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alex Kost Subject: Re: guix installed Emacs Date: Sun, 17 Apr 2016 18:45:27 +0300 Message-ID: <8760vgtf1k.fsf@gmail.com> References: <87potpj4w6.fsf@gmail.com> <877ffxixed.fsf@gmail.com> <20160416125924.GA11009@protected.rcdrun.com> <87shykd4lr.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]:59400) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1arotC-0006et-Tf for help-guix@gnu.org; Sun, 17 Apr 2016 11:45:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1arot9-0008DG-Lt for help-guix@gnu.org; Sun, 17 Apr 2016 11:45:34 -0400 Received: from mail-lf0-x244.google.com ([2a00:1450:4010:c07::244]:32818) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1arot9-0008D8-DW for help-guix@gnu.org; Sun, 17 Apr 2016 11:45:31 -0400 Received: by mail-lf0-x244.google.com with SMTP id p64so23055359lfg.0 for ; Sun, 17 Apr 2016 08:45:29 -0700 (PDT) In-Reply-To: (catonano@gmail.com's message of "Sun, 17 Apr 2016 14:45:42 +0200") 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: Catonano Cc: help-guix@gnu.org Catonano (2016-04-17 15:45 +0300) wrote: > 2016-04-17 10:25 GMT+02:00 Alex Kost : > > Jean Louis (2016-04-16 15:59 +0300) wrote: > > > > I guess that is due to wrong environment when running emacs. > > > > Check the $XDG_DATA_DIRS to conform to Guix recommended. > > This may be the case, indeed! > > Catonano, you can set the Guix environment variables by adding > the > following line to your "~/.bash_profile": > > =C2=A0 source "$HOME/.guix-profile/etc/profile" > > Thanks to you both. The missing icons don't bother me much, but since > we're at it, here we go > > The line > > source "$HOME/.guix-profile/etc/profile" > > already is in my .bash_profile file > > The $PATH contains a bunch of guix related paths (starting with /home > /catonano/.guix-profile/bin: ... ) > > But the .guix-profile/etc/profile file doesn't even mention any > XDG_DATA_DIRS variable Yes, sorry, "~/.guix-profile/etc/profile" doesn't set XDG variables. You need to set it manually like this: export XDG_DATA_DIRS=3D"$HOME/.guix-profile/share:$XDG_DATA_DIRS" Do icons appear after this? > In fact, echo $XDG_DATA_DIRS shows an empty line This is surprising. Usually distros set it to "/usr/share", but it is probably not important as it's a default xdg data directory. --=20 Alex