From: Timothy Sample <samplet@ngyro.com>
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: guix-devel@gnu.org
Subject: Re: GDM update!
Date: Mon, 11 Feb 2019 10:12:31 -0500 [thread overview]
Message-ID: <8736oucqao.fsf@ngyro.com> (raw)
In-Reply-To: <875ztrp982.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Sun, 10 Feb 2019 23:30:37 +0100")
Hi Ludo,
Ludovic Courtès <ludo@gnu.org> writes:
> Hello Guix!
>
> I’m happy to report that GDM basically works, including choosing among X
> session… and it has a neat Guix theme!
Woohoo! I like the background!
I have some changes that are more-or-less ready. It’s mostly just
cleaning up, but it makes it so that GNOME does not have to be in the
system profile for GDM to work. (Note that the GDM service references
GNOME Shell, which requires most of GNOME, but it doesn’t end up in the
profile.)
I spent some time trying to get “libgdm” split out from GDM, but GNOME
Shell kept getting killed with SIGTRAP. This happens during the
execution of JavaScript code, and the recommended way to get a backtrace
did not work, so I’m stuck there.
I will try and send patches in the next day or two.
> The one thing I didn’t get to work is ~/.xsession support. Any ideas?
Digging around in the source code, there’s a comment that says that the
distributed “Xsession” script should run “~/.xsession” if passed the
special keyword “custom”. However, looking at the actual script
suggests that this comment is mistaken. (If it did work, you might be
able to make a “custom.desktop” file with “Exec=custom” that would
trigger the right behaviour. I did not test this.)
Debian provides a custom “Xsession” script and a custom
“default.desktop” file, which runs the script with the special argument
“default”. With this argument, the “Xsession” does a bunch of stuff by
running all of the scripts in an “Xsession.d” directory, including one
that tries running “~/.xsession”.
In short, it looks like we have to either fix or customize the
“Xsession” script. Making the script work like the comment suggests and
using “custom.desktop” is probably the simplest thing to do.
> I’d real like to get that fixed and then we can finally replace SLiM
> with GDM as the default.
>
> BTW, at the Guix Days, there were discussions about defaulting to
> LightDM instead of GDM. I forgot to mention then that using LightDM
> wouldn’t solve the GNOME use case; in particular, closing the lid under
> GNOME wouldn’t lock the screen, and clicking the lock button wouldn’t
> have any effect, which is pretty bad.
Of course, it is good to have a nice alternative to SLiM that is simpler
than GDM. GDM is needed for the proper GNOME experience, but it is too
much for most non-GNOME setups. Ultimately, Guix is nice and
configurable, so I’m everyone can find a way to be happy. :)
-- Tim
next prev parent reply other threads:[~2019-02-11 15:12 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-02-10 22:30 GDM update! Ludovic Courtès
2019-02-11 13:30 ` Marco van Hulten
2019-02-11 14:39 ` Danny Milosavljevic
2019-02-11 15:31 ` Timothy Sample
2019-02-12 14:13 ` Ludovic Courtès
2019-02-12 15:39 ` Timothy Sample
2019-02-12 16:11 ` Pierre Neidhardt
2019-02-12 19:04 ` Timothy Sample
2019-02-11 14:43 ` Alex Griffin
2019-02-11 15:12 ` Timothy Sample [this message]
2019-02-12 14:18 ` 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=8736oucqao.fsf@ngyro.com \
--to=samplet@ngyro.com \
--cc=guix-devel@gnu.org \
--cc=ludo@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.