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: Mon, 18 Apr 2016 22:29:03 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)

Catonano (2016-04-18 15:39 +0300) wrote:

> I have some news about this
>
> Suddenly I couldn't log in anymore as catonano. The login window
> didn't let the desktopo come up, rather it popped up again and again
>
> I logged in as root and saw some gvfs and gsettings segfaults in the
> dmesg output.
>
> The only new thing was the XDG_DATA_DIRS setting, so I commented it
> and than I could log in again as catonano

Ouch, I think this could happen just because Fedora doesn't set a
default value of xdg variables.  So when some program sees that
XDG_DATA_DIRS is set, it doesn't use /usr/share anymore.  So the problem
you faced will probably be fixed if you also append /usr/share to
XDG_DATA_DIRS.  I would do it like this:

  # Set XDG variables to default values if needed.
  [ ! -v XDG_DATA_DIRS ] && [ -d /usr/share ] && export XDG_DATA_DIRS=/usr/share
  [ ! -v XDG_CONFIG_DIRS ] && [ -d /etc/xdg ] && export XDG_CONFIG_DIRS=/etc/xdg

  export XDG_DATA_DIRS="$HOME/.guix-profile/share:$XDG_DATA_DIRS"

--
Alex



reply via email to

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