From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: SLiM session types Date: Sat, 13 Dec 2014 16:28:50 +0100 Message-ID: <878uibo9fx.fsf_-_@gnu.org> References: <87h9xtwruo.fsf@gnu.org> <87iohh53ff.fsf@gnu.org> <87388jve1p.fsf@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]:55357) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xzod3-0002Br-4D for guix-devel@gnu.org; Sat, 13 Dec 2014 10:29:18 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xzoct-0006kF-0n for guix-devel@gnu.org; Sat, 13 Dec 2014 10:29:09 -0500 Received: from hera.aquilenet.fr ([2a01:474::1]:47443) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xzocs-0006jx-QX for guix-devel@gnu.org; Sat, 13 Dec 2014 10:28:58 -0500 In-Reply-To: <87388jve1p.fsf@gmail.com> (=?utf-8?B?IuWui+aWh+atpiIncw==?= message of "Sat, 13 Dec 2014 22:07:30 +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: > And currently ratposion and windowmaker are hardcoded, > how about make sessions configurable? > Like: > (define %default-sessions > `(("windowmaker" . #~(execl #$windowmaker "/bin/wmaker")) > ("ratposion" . #~(execl #$ratposion "/bin/ratposion")))) > > (define* (slim-service #:key (sessions %default-sessions) > ... I agree that something along these lines is needed. However, these session types are currently unused. SLiM is supposed to support session choice from the log-in screen, but for that, a =E2=80=98session_dir=E2=80=99 key needs to be added to slim.cfg (in xorg.sc= m). The =E2=80=98session_dir=E2=80=99 value should be the name of a directory c= ontaining entries describing the various session types available, in a format that SLiM understands. Would you like to try adding that? Thanks, Ludo=E2=80=99.