From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?q?=E5=AE=8B=E6=96=87=E6=AD=A6?= Subject: [PATCH 2/2] services: slim: Pass SESSION to ~/.xsession as "$1". Date: Tue, 10 Mar 2015 21:23:23 +0800 Message-ID: <1425993803-446-2-git-send-email-iyzsong@gmail.com> References: <1425993803-446-1-git-send-email-iyzsong@gmail.com> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59082) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YVK82-0002rQ-Oh for guix-devel@gnu.org; Tue, 10 Mar 2015 09:23:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YVK81-0008NI-Oh for guix-devel@gnu.org; Tue, 10 Mar 2015 09:23:22 -0400 Received: from mail-pd0-x236.google.com ([2607:f8b0:400e:c02::236]:39831) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YVK81-0008Mo-Ij for guix-devel@gnu.org; Tue, 10 Mar 2015 09:23:21 -0400 Received: by pdbft15 with SMTP id ft15so1708124pdb.6 for ; Tue, 10 Mar 2015 06:23:21 -0700 (PDT) In-Reply-To: <1425993803-446-1-git-send-email-iyzsong@gmail.com> 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: guix-devel@gnu.org * gnu/services/xorg.scm (xinitrc)[builder]: Pass SESSION to ~/.xsession. --- gnu/services/xorg.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gnu/services/xorg.scm b/gnu/services/xorg.scm index ae3a9ad..728544b 100644 --- a/gnu/services/xorg.scm +++ b/gnu/services/xorg.scm @@ -175,7 +175,7 @@ which should be passed to this script as the first argument. If not, the (_ #$fallback-session)))) (if (file-exists? xsession-file) ;; Run ~/.xsession when it exists. - (exec-from-login-shell xsession-file) + (exec-from-login-shell xsession-file session) ;; Otherwise, start the specified session. (exec-from-login-shell session))))) (gexp->script "xinitrc" builder)) -- 2.2.1