From: 宋文武 <iyzsong@gmail.com>
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: Guix-devel <guix-devel@gnu.org>
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 [thread overview]
Message-ID: <CAHZE2pe3KyhBcCw9iqGUZzv_KBLwNoQFWGaz+6wP=+Qr5xG=nw@mail.gmail.com> (raw)
In-Reply-To: <87zj7lp7ea.fsf@gnu.org>
2015-03-10 16:46 GMT+08:00 Ludovic Courtès <ludo@gnu.org>:
> 宋文武 <iyzsong@gmail.com> 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’.
next prev parent reply other threads:[~2015-03-10 9:20 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-08 14:14 [PATCH 1/2] services: slim: Use /run/current-system/profile/share/xsessions as sessiondir 宋文武
2015-03-08 14:14 ` [PATCH 2/2] services: slim: Allow non-absolute path to be used as session command 宋文武
2015-03-10 8:48 ` Ludovic Courtès
2015-03-10 8:46 ` [PATCH 1/2] services: slim: Use /run/current-system/profile/share/xsessions as sessiondir Ludovic Courtès
2015-03-10 9:20 ` 宋文武 [this message]
2015-03-12 20:11 ` 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='CAHZE2pe3KyhBcCw9iqGUZzv_KBLwNoQFWGaz+6wP=+Qr5xG=nw@mail.gmail.com' \
--to=iyzsong@gmail.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.