From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id MM6wN3SVP2FEuAAAgWs5BA (envelope-from ) for ; Mon, 13 Sep 2021 20:16:20 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id SGRcM3SVP2GmPgAAB5/wlQ (envelope-from ) for ; Mon, 13 Sep 2021 18:16:20 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id C29511FFEC for ; Mon, 13 Sep 2021 20:16:19 +0200 (CEST) Received: from localhost ([::1]:41098 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mPqV8-0004Ik-NI for larch@yhetil.org; Mon, 13 Sep 2021 14:16:18 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40546) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mPqUs-0004IL-Fv for guix-patches@gnu.org; Mon, 13 Sep 2021 14:16:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:35239) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mPqUs-0002pA-7Y for guix-patches@gnu.org; Mon, 13 Sep 2021 14:16:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mPqUr-0005qt-VP for guix-patches@gnu.org; Mon, 13 Sep 2021 14:16:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#50563] [PATCH 2/2] gnu: gdm: Add Wayland session wrapper script. Resent-From: Maxime Devos Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 13 Sep 2021 18:16:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50563 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Josselin Poiret , "50563@debbugs.gnu.org" <50563@debbugs.gnu.org> Received: via spool by 50563-submit@debbugs.gnu.org id=B50563.163155693122455 (code B ref 50563); Mon, 13 Sep 2021 18:16:01 +0000 Received: (at 50563) by debbugs.gnu.org; 13 Sep 2021 18:15:31 +0000 Received: from localhost ([127.0.0.1]:46785 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mPqUM-0005q7-NA for submit@debbugs.gnu.org; Mon, 13 Sep 2021 14:15:30 -0400 Received: from andre.telenet-ops.be ([195.130.132.53]:32966) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mPqUJ-0005px-Ht for 50563@debbugs.gnu.org; Mon, 13 Sep 2021 14:15:29 -0400 Received: from butterfly.local ([213.119.220.40]) by andre.telenet-ops.be with bizsmtp id tWFN2500T0stn0d01WFRHQ; Mon, 13 Sep 2021 20:15:25 +0200 Message-ID: From: Maxime Devos Date: Mon, 13 Sep 2021 20:14:45 +0200 In-Reply-To: <_O63PhtCI8ZiwBgDZppLf6SqqIgEm3Y0iFYKUIsuLOeAM4yMfbqumjltWSuHKl8tfgUdL0yAC2TVR4nqKvLNJ18Rgs7iImwzPAztAEvIcmM=@jpoiret.xyz> References: <_O63PhtCI8ZiwBgDZppLf6SqqIgEm3Y0iFYKUIsuLOeAM4yMfbqumjltWSuHKl8tfgUdL0yAC2TVR4nqKvLNJ18Rgs7iImwzPAztAEvIcmM=@jpoiret.xyz> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-3zOric5hMf+o8isJ31sC" User-Agent: Evolution 3.34.2 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r21; t=1631556926; bh=IqeXCvWHv3TLOo2Ohfk3B18b/7laH8SYmSZV/ryxAA4=; h=Subject:From:To:Date:In-Reply-To:References; b=NWF9VbLmDNevt3UsyeEwlD/PBmPUPukFeH7nOhxGg0ZmjF/O9I3XFuGVZork2nkxe eko5UoDUIKH3auFFhCJxroq/7hSt4u1mvSR5v7dN5/AmA0d85fFaWKqp4zqtJbe894 yNMqJ5uIs/up7QCbPrQXd1STyWg5p+o+lVP/YHWZ52jzpjd1jY49Ggb3RGwAWQuJ3Z g68xEbsgLj+4Z2ThcHMje5pwjtXURl+sxIBCnDcfNx4hSp+8TlXuDRBe/C6r6tfBn9 BFeKIRtqZe7yZGe054F0TdzYAzsoJCAQjqwcMEBNT+2kxFcZnZovaPExBQ+u81GK/T kSCSz/lJnwHng== X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1631556980; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=IqeXCvWHv3TLOo2Ohfk3B18b/7laH8SYmSZV/ryxAA4=; b=upSIK/enRwWZGP6jw5sVkzV5Dh7cOPvK+ZQI05TFzLnuoJXxeYGVmLbbOcE8IQok5YDkfd QD+lQzcvj1RshaX0rebSGdsIMNxzYb6t79CDEasydmeXuX/gHnN6yCv/D37bCxEyM8a2MG wXsGMB8/IWkMaUFClFLuJ2c9eaj3zl8AFmd6515b6aEKdMiXuHJ9iXIqVuwNjxh7c4aTfv FsiSkev/k0njDY8TpwSrOLNLNA0L+E86XrGvbUI9BsXPEQ5k50i86ZxkAnyGpGrgAEs3+Z 8/fzzosFfCylqOt5dXamQJoSQjhaaQX54RGPpp24/XSIoq9tbi+hk/q18YGiPg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1631556980; a=rsa-sha256; cv=none; b=cDXxw2yu39/wCT0+xgGC8KjGAoPd3dU9k1ZD7f0iIUNVUQMcrYcnFfX9US13yBkCbOGgmr KAv18p+l/fWpffwLrNPicYDqzqloB6UpK9xj3AELkDo0PlBRzMufQOI7D1YiWIg6qNvVjB 18swlQyIbUgGHnAZelKSaio7ycY0GKsdG4gwzgtCD6mTdZeiLZExsZCP8zZcoEVcz3SJnW dsvaHThFMCQ8u1jLSvcFweVTOMf9SntYZ67QXCUokopcuUvxCEPqlsihZd4jagnZ0ShSS5 J6hloEEVZbVDwMwjs1uLl6HGQdg4XlGX9ZunPOY7vnlKHnhQUAkTSarb/9jOYw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r21 header.b=NWF9VbLm; dmarc=fail reason="SPF not aligned (relaxed)" header.from=telenet.be (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: -3.40 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r21 header.b=NWF9VbLm; dmarc=fail reason="SPF not aligned (relaxed)" header.from=telenet.be (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: C29511FFEC X-Spam-Score: -3.40 X-Migadu-Scanner: scn1.migadu.com X-TUID: ziOKQxq60+6i --=-3zOric5hMf+o8isJ31sC Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Josselin Poiret schreef op ma 13-09-2021 om 08:15 [+0000]: > * Patch GDM to support launching a wrapper script for Wayland sessions. > * Add `wayland-session` in `gdm-configuration` to specify the wrapper to = use. > * Add default wrapper that runs non-GDM sessions through a login shell (b= ased > on the `xinitrc`). > * Update the documentation with those changes. > --- > doc/guix.texi | 4 +++ > gnu/packages/gnome.scm | 3 +- > ...gdm-wayland-session-wrapper-from-env.patch | 35 +++++++++++++++++++ > gnu/services/xorg.scm | 21 +++++++++-- > 4 files changed, 60 insertions(+), 3 deletions(-) > create mode 100644 gnu/packages/patches/gdm-wayland-session-wrapper-from= -env.patch >=20 > diff --git a/doc/guix.texi b/doc/guix.texi > index 93ea4a321f..3e6157c8ab 100644 > --- a/doc/guix.texi > +++ b/doc/guix.texi > @@ -18098,6 +18098,10 @@ The GDM package to use. >=20 > @item @code{wayland?} (default: @code{#f}) > When true, enables Wayland in GDM, necessary to use Wayland sessions. > + > +@item @code{wayland-session} (default: @code{gdm-wayland-session-wrapper= }) > +The Wayland session wrapper to use, needed to setup the > +environment. =E2=80=98needed to setup the environment=E2=80=99 --> this sounds like some= times, the session wrapper needs to be changed such that the environment variables are correct= . However, gdm-wayland-session-wrapper doesn't actually set any environment v= ariables, and the X equivalent 'xsession' doesn't need to be modified (at least on my= system, when I last used gdm), so I presume the default is quite reasonable for mos= t users. So to reduce confusion, I would drop the =E2=80=98needed to set up the envi= ronment=E2=80=99. A =E2=80=98real-world=E2=80=99 example of a custom 'wayland-session' would = be helpful to illustrate matters. Greetings, Maxime --=-3zOric5hMf+o8isJ31sC Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYT+VGxccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7vUrAP41wO5adtiLf9BExaViGMzViFVQ faROde9MmScFYevGBwD/QCNNAqKkLA8PHvmJXmWkNP4xnLKVvpwZNDDza16D9Ao= =+4qJ -----END PGP SIGNATURE----- --=-3zOric5hMf+o8isJ31sC--