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: Tue, 10 Mar 2015 09:46:05 +0100 Message-ID: <87zj7lp7ea.fsf@gnu.org> References: <1425824080-350-1-git-send-email-iyzsong@gmail.com> 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]:48885) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YVFnn-0008IO-Uv for guix-devel@gnu.org; Tue, 10 Mar 2015 04:46:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YVFnj-00056j-L8 for guix-devel@gnu.org; Tue, 10 Mar 2015 04:46:11 -0400 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:58044) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YVFnj-00056Z-IE for guix-devel@gnu.org; Tue, 10 Mar 2015 04:46:07 -0400 In-Reply-To: <1425824080-350-1-git-send-email-iyzsong@gmail.com> (=?utf-8?B?IuWui+aWh+atpiIncw==?= message of "Sun, 8 Mar 2015 22:14:39 +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@gnu.org =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 sessiond= ir. > * doc/guix.texi : Adjust accordingly. [...] > -(define (xsessions-directory sessions) > - "Return a directory containing SESSIONS, a list of obje= cts. > -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? Thanks, Ludo=E2=80=99.