all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Alex Kost <alezost@gmail.com>
To: Catonano <catonano@gmail.com>
Cc: help-guix@gnu.org
Subject: Re: guix installed Emacs
Date: Sun, 17 Apr 2016 18:45:27 +0300	[thread overview]
Message-ID: <8760vgtf1k.fsf@gmail.com> (raw)
In-Reply-To: <CAJ98PDzC=Jc5pXjGaz767z-S86b-AFLu2o5ReZq6J+6NaYuhbQ@mail.gmail.com> (catonano@gmail.com's message of "Sun, 17 Apr 2016 14:45:42 +0200")

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

> 2016-04-17 10:25 GMT+02:00 Alex Kost <alezost@gmail.com>:
>
>     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	other threads:[~2016-04-17 15:45 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-15 22:48 guix installed Emacs Catonano
2016-04-16  6:41 ` Jean Louis
2016-04-16  9:10 ` Alex Kost
2016-04-16 11:17   ` Catonano
2016-04-16 11:52     ` Alex Kost
2016-04-16 12:59       ` Jean Louis
2016-04-17  8:25         ` Alex Kost
2016-04-17 12:45           ` Catonano
2016-04-17 15:45             ` Alex Kost [this message]
2016-04-17 17:35               ` Catonano
2016-04-18 12:39                 ` Catonano
2016-04-18 19:29                   ` Alex Kost
2016-04-18 21:08                     ` Catonano
2016-04-16 17:59       ` Catonano
2016-04-17  8:23         ` Alex Kost
2016-04-17 12:28           ` Catonano
2016-04-17 15:58             ` Alex Kost
2016-04-17 17:33               ` Catonano
2016-04-16 12:24   ` Ludovic Courtès
2016-04-16 18:14     ` Catonano

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8760vgtf1k.fsf@gmail.com \
    --to=alezost@gmail.com \
    --cc=catonano@gmail.com \
    --cc=help-guix@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.