From: Alex Kost <alezost@gmail.com>
To: Catonano <catonano@gmail.com>
Cc: help-guix@gnu.org
Subject: Re: guix installed Emacs
Date: Mon, 18 Apr 2016 22:29:03 +0300 [thread overview]
Message-ID: <87a8kqk96o.fsf@gmail.com> (raw)
In-Reply-To: <CAJ98PDxw8N9S0WQdrPD+ChXJS3n8qKgPjp8Epu2=EWGf5_XFEw@mail.gmail.com> (catonano@gmail.com's message of "Mon, 18 Apr 2016 14:39:47 +0200")
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
next prev parent reply other threads:[~2016-04-18 19:29 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
2016-04-17 17:35 ` Catonano
2016-04-18 12:39 ` Catonano
2016-04-18 19:29 ` Alex Kost [this message]
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
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87a8kqk96o.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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).