help-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: guix installed Emacs


From: Alex Kost
Subject: Re: guix installed Emacs
Date: Sun, 17 Apr 2016 18:45:27 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)

Catonano (2016-04-17 15:45 +0300) wrote:

> 2016-04-17 10:25 GMT+02:00 Alex Kost <address@hidden>:
>
>     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":
>
>       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="$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.

-- 
Alex



reply via email to

[Prev in Thread] Current Thread [Next in Thread]