From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id gJ7YA1bck2DiRgEAgWs5BA (envelope-from ) for ; Thu, 06 May 2021 14:08:54 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id oLYOO1Xck2DvDQAAB5/wlQ (envelope-from ) for ; Thu, 06 May 2021 12:08:53 +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 95BAB2277D for ; Thu, 6 May 2021 14:08:53 +0200 (CEST) Received: from localhost ([::1]:43062 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lecoG-0001OT-QH for larch@yhetil.org; Thu, 06 May 2021 08:08:52 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:57764) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lecja-0007Rg-Rl for guix-patches@gnu.org; Thu, 06 May 2021 08:04:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:54160) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lecja-0001lL-0c for guix-patches@gnu.org; Thu, 06 May 2021 08:04:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lecjZ-0003rw-Sj for guix-patches@gnu.org; Thu, 06 May 2021 08:04:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48220] [PATCH] gnu: xfce4-session: Add xset to propagated-inputs. Resent-From: Efraim Flashner Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 06 May 2021 12:04:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48220 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Brendan Tildesley Cc: Ludovic =?UTF-8?Q?Court=C3=A8s?= , 48220@debbugs.gnu.org Received: via spool by 48220-submit@debbugs.gnu.org id=B48220.162030259714857 (code B ref 48220); Thu, 06 May 2021 12:04:01 +0000 Received: (at 48220) by debbugs.gnu.org; 6 May 2021 12:03:17 +0000 Received: from localhost ([127.0.0.1]:37473 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lecir-0003rZ-2b for submit@debbugs.gnu.org; Thu, 06 May 2021 08:03:17 -0400 Received: from flashner.co.il ([178.62.234.194]:34312) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lecio-0003rN-QF for 48220@debbugs.gnu.org; Thu, 06 May 2021 08:03:15 -0400 Received: from localhost (unknown [31.210.177.125]) by flashner.co.il (Postfix) with ESMTPSA id BA50940041; Thu, 6 May 2021 12:03:08 +0000 (UTC) Date: Thu, 6 May 2021 15:03:06 +0300 From: Efraim Flashner Message-ID: Mail-Followup-To: Efraim Flashner , Brendan Tildesley , Ludovic =?UTF-8?Q?Court=C3=A8s?= , 48220@debbugs.gnu.org References: <20210504092051.24383-1-mail@brendan.scot> <87v97xjoux.fsf@gnu.org> <615974577.179836.1620268738791@office.mailbox.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="yP+X7DGQ7v5ZxAKB" Content-Disposition: inline In-Reply-To: <615974577.179836.1620268738791@office.mailbox.org> X-PGP-Key-ID: 0x41AAE7DCCA3D8351 X-PGP-Key: https://flashner.co.il/~efraim/efraim_flashner.asc X-PGP-Fingerprint: A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 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=1620302933; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc: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; bh=X1mer89KJXwj5KSvR1+ZE+6hf29Vnj+AryOHfHwqgDU=; b=eiJmNK2AXmn8HM10iUcIpnjOTmH/INB5ytBfAEMjf+s7RTbp2E2140AZwCx7x59EhgPPQu oVZkpDlt9EnFHu3fv8fhN3UehJWKTpzqJOcJhG3F6LVW89eLj2NDJ898VYP/Y6y2+ReVbY bBo3KMkisG0noqRNoi4SG7yg0BLeOgu7TeIsEhTk77NAgy+Te2ttksLhqg82YtBEnFsY/7 nZiK2ba+1iRP7vNZgAz7ULGt0LTrDQE0vTP+D4Vf6oY32pvceEym7ANC+BsY1gLA0+sGDX 8v7VGcdga0YZGT2QCINsrj+BOTJIThMidPaKFcG+nmxL65Uh/wIJTBa6+axCVg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1620302933; a=rsa-sha256; cv=none; b=RTuGb/1PFgaVJrlDFWRpoiOxlSW9gVHwsjs6VS02CiFOzg+Fip6+9fmoZuTUNxEI+uXBu0 CGcZO2HcrFvTm4aizURUCJ+QqV9VE5LkjpXf7ZMSfvA3gzjbnHfvPSMY0yFZDpB34UicLM Xz1F7kFJfiWNGIM2WdTDcejCXcB05XCNZNJBC+pe5nh22bM6kNuQ6vRp0VPzo3tjd181wX 4WRaJ1+r2Rjhlf13LHJcczAHPmJscXPf0JqQxviwVvmV17r9X75TCLvUa0VSgBQ7QCGLXR hOrgSAvhnZpTdT3J2IDDT97PHDbyunKaNbniAA7KMfruYmTEunDreT1JQjn3nw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=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.22 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=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: 95BAB2277D X-Spam-Score: -3.22 X-Migadu-Scanner: scn0.migadu.com X-TUID: GinGRsdRJzTv --yP+X7DGQ7v5ZxAKB Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, May 06, 2021 at 04:38:58AM +0200, Brendan Tildesley wrote: >=20 > > On 05/05/2021 3:23 PM Ludovic Court=C3=A8s wrote: > >=20 > > =20 > > Hi Brendan, > >=20 > > Brendan Tildesley skribis: > >=20 > > > * gnu/packages/xfce.scm (xfce4-session):[propagated-inputs]: Add xset= so > > > that xflock4 can turn off the monitor. > >=20 > > Can=E2=80=99t we instead patch =E2=80=98scripts/xflock4=E2=80=99 so tha= t it refers to =E2=80=98xset=E2=80=99 by > > its absolute file name? > >=20 >=20 > I can. It felt weird just patching one command and not others though. >=20 > > However, my understanding is that the xset code is already a fallback: >=20 > >=20 > > --8<---------------cut here---------------start------------->8--- > > # else run another access locking utility, if installed > > for lock_cmd in \ > > "xlock -mode blank" \ > > "slock" > > do > > set -- $lock_cmd > > if command -v -- $1 >/dev/null 2>&1; then > > $lock_cmd >/dev/null 2>&1 & > > # turn off display backlight: > > xset dpms force off > > exit > > fi > > done > > --8<---------------cut here---------------end--------------->8--- > >=20 > > Probably we should ensure the first =E2=80=98for=E2=80=99 loop works as= expected. > > Perhaps we need to replace =E2=80=98xfce4-screensaver-command=E2=80=99 = by its absolute > > file name there. > >=20 >=20 > Currently xfce4-screensaver is not installed in the xfce package at all b= y default, > so it isn't used. I could add it, but for me it was glitchy/flickering an= d I would keep=20 > clearing the password as I was entering it so I couldn't log back in. It = even does it > in a VM. I do have a recent amd graphics card with proprietary linux thou= gh, my computer > can't boot otherwise :(. >=20 > If you run guix environment --ad-hoc xfce4-screensaver > then > xfce4-screensaver &; xfce4-screensaver-command --lock > does it work for you? >=20 > I'm not sure what is best, should we be maximal and include xfce4-screens= aver in the xfce > package, or be minimal and make people have to install it manually? > > WDYT? > >=20 > > Thanks, > > Ludo=E2=80=99. Are you using %desktop-services in your OS config? By default they come with a screen-locker-service for both slock and xlockmore. --=20 Efraim Flashner =D7=90=D7=A4=D7=A8=D7=99=D7=9D = =D7=A4=D7=9C=D7=A9=D7=A0=D7=A8 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --yP+X7DGQ7v5ZxAKB Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAmCT2vcACgkQQarn3Mo9 g1G0MA//fDullq0+dDvHEEfueeo3oZyxdnRNPmEwBk80d9L4+2bfY6wX45hmr8mJ 21+rjqdxGF/x6wzig2g4jBg2uSxNq8Nh/gvTHt0XbfIBdO9LSyc0WJqyJQf/dMku TaU5/s0sqD6izRmUFOH76Qp0PgWOm7vM/AE1FkF+R79Bg6mrW7mVFmffqS8yCVNv ChMbuQSYs6bFadCMhHkyrAQs1zqgI7FHxgkqSZU3Ib0Cw20b9L+IWrPg+hCuXBup 8RNedFl1cTxgIO0EtaShKf58rNWBC61vmXtjhBaG+g2N2p1y2t/8aP7hUYujmaZ/ Jc+FtbE8HDXvptvbAvMraMTi7q2DppXnluIqgZAvOD7dT7jVRJgtCQdLlTGzI4NU vg4YRW5hIkWPEWK783xYVYMpxRSwcXWRQha21oFRw1pU+uhwGcxzipLumX2jVJvW v3kyPk8DGxjY57+LDA2KMjOeMmvkJSZNQvlGiU1LXUu7WMEyuoKemtYytN0H0ruc pLHOAoT/BXOeCZFilpj4ciDEshkQyHjgJqJYc9lm3Ko29PV05/Zj8d7VwGGl7PtG nTrawiD0kEKrPrda7pI0u6PLbYrUTuiI4H6cOZiwyR14rAUIDeuqgKYEJ6AddZxj FuBools/ytRe4KebmCSo9sg45zpuTCTp8u4Eies2Uag9x5G/4uc= =/BB+ -----END PGP SIGNATURE----- --yP+X7DGQ7v5ZxAKB--