guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GDM update!


From: Ludovic Courtès
Subject: Re: GDM update!
Date: Tue, 12 Feb 2019 15:13:29 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux)

Hello!

Timothy Sample <address@hidden> skribis:

> Maybe the GDM folks expect that we write a custom “.desktop” file that
> runs a custom script that checks for “~/.xsession” and runs it.  It
> could use “TryExec” to figure out if “~/.xsession” exists, and offer it
> to the user (in the session selector) in that case.  To be concrete, we
> would create a “user.desktop” session file with the following contents.
>
>     [Desktop Entry]
>     Name=User Session
>     Comment=Start a user-defined session
>     Exec=run-user-xsession
>     TryExec=xsession-exists-p
>     Icon=
>     Type=Application
>
> Here, “run-user-xsession” and “xsession-exists-p” are custom scripts
> that we would write.  If this file were somewhere that GDM knows about
> (e.g., “/run/current-system/profile/share/xsessions”), it should work.

We could do that, or should we just arrange for GDM to honor .xsession
when it exists just like we do for SLiM?

Specifically I’m thinking of the ‘xinitrd’ procedure in (gnu services
xorg) and how we pass it to SLiM via ‘slim.cfg’.

WDYT?

Thanks,
Ludo’.



reply via email to

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