From: "Ludovic Courtès" <ludo@gnu.org>
To: Timothy Sample <samplet@ngyro.com>
Cc: 35377@debbugs.gnu.org, 35068@debbugs.gnu.org
Subject: bug#35068: GDM crashes when it cannot find any .desktop files
Date: Fri, 26 Apr 2019 10:10:48 +0200 [thread overview]
Message-ID: <87imv1nq47.fsf@gnu.org> (raw)
In-Reply-To: <87tvel7we1.fsf@ngyro.com> (Timothy Sample's message of "Thu, 25 Apr 2019 14:49:42 -0400")
Hello,
Timothy Sample <samplet@ngyro.com> skribis:
> There are two workarounds. The first is to keep Danny’s patch as-is,
> but add logic to “xinitrc” so that it only uses “~/.xsession” when
> passed “custom” as an argument (it’s kinda magic, but it seems to be a
> common convention). I have a slight preference for this option, because
> it makes the whole “~/.xsession” thing more explicit. However, it would
> break other DMs that don’t install a “custom.desktop”. Maybe we could
> integrate it into all DMs at the service level.
>
> The quicker workaround is to keep the current logic, and install the
> following with GDM:
>
> [Desktop Entry]
> Encoding=UTF-8
> Type=Application
> Name=Fail
> Comment=This session always fails.
> NoDisplay=true
> Exec=false
>
> This way, GDM fails cleanly when there are no “.desktop” files. It
> doesn’t show up in the list, either (“NoDisplay=true”), so everything
> just kinda works as expected without any visible changes.
I have a slight preference for the hack you propose Timothy, at least in
the short term, because it seems less likely to break anything than
fiddling with “Exec=custom” and all that.
Anyway, it’d be great if one of you could push a fix by 1.0. :-)
Thanks,
Ludo’.
next prev parent reply other threads:[~2019-04-26 8:11 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-04-01 8:05 bug#35068: GDM crashes when it cannot find any .desktop files Ludovic Courtès
2019-04-20 15:06 ` Danny Milosavljevic
2019-04-20 20:22 ` Ludovic Courtès
2019-04-21 9:37 ` Danny Milosavljevic
2019-04-21 9:43 ` Danny Milosavljevic
2019-04-21 20:12 ` Ludovic Courtès
2019-04-25 18:49 ` Timothy Sample
2019-04-25 19:15 ` Danny Milosavljevic
2019-04-26 1:02 ` Timothy Sample
2019-04-26 9:36 ` Danny Milosavljevic
2019-04-26 8:10 ` Ludovic Courtès [this message]
2019-04-26 18:32 ` Timothy Sample
2019-04-26 18:32 ` bug#35377: " Timothy Sample
2019-04-27 16:27 ` Ludovic Courtès
2019-04-27 16:27 ` [bug#35377] " Ludovic Courtès
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=87imv1nq47.fsf@gnu.org \
--to=ludo@gnu.org \
--cc=35068@debbugs.gnu.org \
--cc=35377@debbugs.gnu.org \
--cc=samplet@ngyro.com \
/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.