guix-devel
[Top][All Lists]
Advanced

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

Re: [PATCH 1/2] services: slim: Use /run/current-system/profile/share/xs


From: Ludovic Courtès
Subject: Re: [PATCH 1/2] services: slim: Use /run/current-system/profile/share/xsessions as sessiondir.
Date: Thu, 12 Mar 2015 21:11:04 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux)

宋文武 <address@hidden> skribis:

> 2015-03-10 16:46 GMT+08:00 Ludovic Courtès <address@hidden>:
>> 宋文武 <address@hidden> skribis:
>>
>>> * gnu/services/xorg.scm (<session-type>, %windowmaker-session-type)
>>>   (%ratposion-session-type, %sawfish-session-type, %default-xsessions)
>>>   (xsessions-directory): Remove.
>>>   (slim-service): Remove #:sessions parameter.
>>>   [slim.cfg]: Use /run/current-system/profile/share/xsessions as sessiondir.
>>> * doc/guix.texi <X Window>: Adjust accordingly.
>>
>> [...]
>>
>>> -(define (xsessions-directory sessions)
>>> -  "Return a directory containing SESSIONS, a list of <session-type> 
>>> objects.
>>> -The alphabetical order of the files in that directory match the order of 
>>> the
>>> -elements in SESSIONS."
>>
>> This patch looks like a desirable simplification.  However, we would
>> lose the ability to specify the order in which sessions are presented to
>> the user (added in commit a21b23d3.)
>>
>> Any idea how we could preserve that property?
> Have no idea here, since now xsession files are unmodified,
> and login managers usually choose the order alphabetical.
>
> But other login managers (eg: lightdm) will remember the lasted
> select session.  (If this helps :-)

OK.  So please push, with the understanding that you’re encouraged to
add lightdm and/or GDM support.  :-)

Thank you,
Ludo’.



reply via email to

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