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