From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) 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 Message-ID: <87egou3rjb.fsf@gnu.org> References: <1425824080-350-1-git-send-email-iyzsong@gmail.com> <87zj7lp7ea.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:44976) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YW9Rn-0006Oe-3V for guix-devel@gnu.org; Thu, 12 Mar 2015 16:11:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YW9Rj-0003yE-SM for guix-devel@gnu.org; Thu, 12 Mar 2015 16:11:11 -0400 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:45455) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YW9Rj-0003yA-Pn for guix-devel@gnu.org; Thu, 12 Mar 2015 16:11:07 -0400 In-Reply-To: (=?utf-8?B?IuWui+aWh+atpiIncw==?= message of "Tue, 10 Mar 2015 17:20:19 +0800") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: =?utf-8?B?5a6L5paH5q2m?= Cc: Guix-devel =E5=AE=8B=E6=96=87=E6=AD=A6 skribis: > 2015-03-10 16:46 GMT+08:00 Ludovic Court=C3=A8s : >> =E5=AE=8B=E6=96=87=E6=AD=A6 skribis: >> >>> * gnu/services/xorg.scm (, %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 sessio= ndir. >>> * doc/guix.texi : Adjust accordingly. >> >> [...] >> >>> -(define (xsessions-directory sessions) >>> - "Return a directory containing SESSIONS, a list of ob= jects. >>> -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=E2=80=99re encouraged = to add lightdm and/or GDM support. :-) Thank you, Ludo=E2=80=99.