From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= Subject: Re: GDM update! Date: Tue, 12 Feb 2019 15:13:29 +0100 Message-ID: <87r2cdksc6.fsf@gnu.org> References: <875ztrp982.fsf@gnu.org> <20190211153946.2a38a740@scratchpost.org> <87y36mbav3.fsf@ngyro.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([209.51.188.92]:54134) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gtYoq-00088F-8n for guix-devel@gnu.org; Tue, 12 Feb 2019 09:13:53 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gtYop-0006WJ-E2 for guix-devel@gnu.org; Tue, 12 Feb 2019 09:13:52 -0500 Received: from hera.aquilenet.fr ([2a0c:e300::1]:56640) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gtYop-00069I-5j for guix-devel@gnu.org; Tue, 12 Feb 2019 09:13:51 -0500 In-Reply-To: <87y36mbav3.fsf@ngyro.com> (Timothy Sample's message of "Mon, 11 Feb 2019 10:31:12 -0500") 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" To: Timothy Sample Cc: guix-devel@gnu.org Hello! Timothy Sample skribis: > Maybe the GDM folks expect that we write a custom =E2=80=9C.desktop=E2=80= =9D file that > runs a custom script that checks for =E2=80=9C~/.xsession=E2=80=9D and ru= ns it. It > could use =E2=80=9CTryExec=E2=80=9D to figure out if =E2=80=9C~/.xsession= =E2=80=9D exists, and offer it > to the user (in the session selector) in that case. To be concrete, we > would create a =E2=80=9Cuser.desktop=E2=80=9D session file with the follo= wing contents. > > [Desktop Entry] > Name=3DUser Session > Comment=3DStart a user-defined session > Exec=3Drun-user-xsession > TryExec=3Dxsession-exists-p > Icon=3D > Type=3DApplication > > Here, =E2=80=9Crun-user-xsession=E2=80=9D and =E2=80=9Cxsession-exists-p= =E2=80=9D are custom scripts > that we would write. If this file were somewhere that GDM knows about > (e.g., =E2=80=9C/run/current-system/profile/share/xsessions=E2=80=9D), it= should work. We could do that, or should we just arrange for GDM to honor .xsession when it exists just like we do for SLiM? Specifically I=E2=80=99m thinking of the =E2=80=98xinitrd=E2=80=99 procedur= e in (gnu services xorg) and how we pass it to SLiM via =E2=80=98slim.cfg=E2=80=99. WDYT? Thanks, Ludo=E2=80=99.