[Top][All Lists]

[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: 宋文武
Subject: Re: [PATCH 1/2] services: slim: Use /run/current-system/profile/share/xsessions as sessiondir.
Date: Tue, 10 Mar 2015 17:20:19 +0800

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 :-)
> Thanks,
> Ludo’.

reply via email to

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