GNU bug report logs - #67453
[PATCH] home: services: unclutter: Convert to non-one-shot service

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix-patches; Reported by: Saku Laesvuori <saku@HIDDEN>; Keywords: patch; dated Sun, 26 Nov 2023 09:02:02 UTC; Maintainer for guix-patches is guix-patches@HIDDEN.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 15 Jan 2024 15:50:31 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Jan 15 10:50:31 2024
Received: from localhost ([127.0.0.1]:46716 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1rPPEN-0005cv-8u
	for submit <at> debbugs.gnu.org; Mon, 15 Jan 2024 10:50:31 -0500
Received: from lists.gnu.org ([2001:470:142::17]:56824)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <saku@HIDDEN>) id 1rPPEL-0005ci-AC
 for submit <at> debbugs.gnu.org; Mon, 15 Jan 2024 10:50:29 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <saku@HIDDEN>) id 1rPPEF-0004tp-78
 for guix-patches@HIDDEN; Mon, 15 Jan 2024 10:50:23 -0500
Received: from vmi571514.contaboserver.net ([75.119.130.101]
 helo=mail.laesvuori.fi)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <saku@HIDDEN>) id 1rPPED-0007vN-OH
 for guix-patches@HIDDEN; Mon, 15 Jan 2024 10:50:22 -0500
Received: from X-kone (88-113-24-127.elisa-laajakaista.fi [88.113.24.127])
 by mail.laesvuori.fi (Postfix) with ESMTPSA id B8D62342BB9
 for <guix-patches@HIDDEN>; Mon, 15 Jan 2024 16:50:38 +0100 (CET)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=laesvuori.fi; s=mail;
 t=1705333839; bh=Re2KTbkLpUlCuckcFOdhknjLWCgnERylPZr2v7ruSWw=;
 h=Date:From:To:Subject:References:In-Reply-To;
 b=h4ID7Hg6Jp40fPYtI1SYtEzg/JWen6qVPmR2Vo4J3bYJXPTk2URnII2o8VdoICbe1
 bFT8QoD/bqs/UbQCUt99tZJNypV3CXe1eApCn3ge6mBB3oyAKY8O4fOc4UZEwGTD1r
 yIN7HVJbgaqA0/aztS033pFqIaemm/vadxbO0dZ0=
Date: Mon, 15 Jan 2024 17:50:12 +0200
From: Saku Laesvuori <saku@HIDDEN>
To: guix-patches@HIDDEN
Subject: Re: [PATCH] home: services: unclutter: Convert to non-one-shot service
Message-ID: <nlpl3o6hzsuagsskn3xlfvjzxt5a5ivlyucueym7n6doy3p75m@7azrwrkk3bzn>
References: <d61d25b0d5875d3350babd43fb4bef2d64a5233b.1700989215.git.saku@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha256;
 protocol="application/pgp-signature"; boundary="idxpw6biuifcygjn"
Content-Disposition: inline
In-Reply-To: <d61d25b0d5875d3350babd43fb4bef2d64a5233b.1700989215.git.saku@HIDDEN>
Received-SPF: pass client-ip=75.119.130.101; envelope-from=saku@HIDDEN;
 helo=mail.laesvuori.fi
X-Spam_score_int: -20
X-Spam_score: -2.1
X-Spam_bar: --
X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001,
 SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 0.9 (/)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.1 (/)


--idxpw6biuifcygjn
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

On Sun, Nov 26, 2023 at 11:00:15AM +0200, Saku Laesvuori wrote:
> * gnu/home/services/desktop.scm (home-unclutter-shepherd-service)
> [one-shot?]: Remove field.
> [stop]: Add kill action.

A reminder about this trivial change. The unclutter service spawns a
process that hides the cursor when it is inactive. The process runs for
the entire session and killing it causes the cursor to stay visible even
when inactive, so it seems to me that it should be provided by a normal
service that can be started/stopped.

--idxpw6biuifcygjn
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIzBAABCAAdFiEEoMkZR3NPB29fCOn/JX0oSiodOjIFAmWlVDQACgkQJX0oSiod
OjItFQ//SwUo4D4K8COWqcZCj4pvXOjSriJKDi+S99zPgNGAS1DCh9VMZIq2HPYi
IInrJqHWcfB6ioJQIL7SE8TYT1etGGezgvkCxgnKpfU4O/BvsG843hXhIiCtXXFH
SgGE3sZCWsAGX1Jp3uKleooL3/WgrV7BJTKHZ6/F8fugxj6V6y53rlgvOiV8tTow
fayijqV+5VV7UkCrxjz/qx+CBiOEuWvrUHAWTIqO87Hmv0Aq7vtWvlH5OX4W9zQw
wSR/Dg/V69BbBTyRFCMFWmrAYZKkfWw5vMpCCPXuXaZUmo0vpviaH0pRqbdT14Y1
U6Sll8Ojquecbyx+IPkJIN9NVTR4Xs+kZ+e9JrDUpizWtcwhX/lbI9XIaVwd3Yf4
sT9ZQYFOcBV/U/c376nCgFhY8dEhqgV43kY+7mASWjLVXdpBajmIGfmryf2WHjT+
TPhKgBl8qdokQ4sWpbDsQpKSIADd7Ky4lbhQoV12gOds3xpr04wFzQgbFszzBejN
DquDIYM5FusMh8j5mDyCGFsqrUqyXrAzhy4D6LDcbYfa2CQExWoX2rxaNY7Tm9e1
wb97Ebk56iUHZZMrqQ1aqkv7g5sw9Iuu42OfxSbTQWp+9K9sbGKPtwLAxipp/Z6H
GksLabCJt8Xp1OzRZ2dk5+z5vuWi3XKUPPmQOICE/tpZTOwjo9Q=
=zJ1o
-----END PGP SIGNATURE-----

--idxpw6biuifcygjn--




Information forwarded to guix-patches@HIDDEN:
bug#67453; Package guix-patches. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 26 Nov 2023 09:01:22 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Nov 26 04:01:22 2023
Received: from localhost ([127.0.0.1]:40686 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1r7B10-0004UI-GI
	for submit <at> debbugs.gnu.org; Sun, 26 Nov 2023 04:01:22 -0500
Received: from lists.gnu.org ([2001:470:142::17]:41210)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <saku@HIDDEN>) id 1r7B0z-0004Ty-F0
 for submit <at> debbugs.gnu.org; Sun, 26 Nov 2023 04:01:21 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <saku@HIDDEN>) id 1r7B0m-0000D3-4p
 for guix-patches@HIDDEN; Sun, 26 Nov 2023 04:01:08 -0500
Received: from vmi571514.contaboserver.net ([75.119.130.101]
 helo=mail.laesvuori.fi)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <saku@HIDDEN>) id 1r7B0h-0004dc-R5
 for guix-patches@HIDDEN; Sun, 26 Nov 2023 04:01:07 -0500
Received: from X-kone.lan (88-113-24-127.elisa-laajakaista.fi [88.113.24.127])
 by mail.laesvuori.fi (Postfix) with ESMTPSA id 3EF6A34014B;
 Sun, 26 Nov 2023 10:02:09 +0100 (CET)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=laesvuori.fi; s=mail;
 t=1700989330; bh=rbfJVbCljm6q85sbI+0lnBoscoFmw8pd+E8w1DDx34E=;
 h=From:To:Cc:Subject:Date;
 b=IrlXX0VKYVa22WXLE013UtJeJngskKnGroGCVrUYQQGv5TUeyjmSpTzVJpR7/u0JX
 nfqz10LmIh0NYsdNHDxaPMJYGl6XDXGREPFvCOMK+xEIX7x8AKVs1HgC7B7/CCLof7
 0sSqpb4iyeRuaDB3SRVhguPRydLDoaghTeteYCoU=
From: Saku Laesvuori <saku@HIDDEN>
To: guix-patches@HIDDEN
Subject: [PATCH] home: services: unclutter: Convert to non-one-shot service
Date: Sun, 26 Nov 2023 11:00:15 +0200
Message-ID: <d61d25b0d5875d3350babd43fb4bef2d64a5233b.1700989215.git.saku@HIDDEN>
X-Mailer: git-send-email 2.41.0
MIME-Version: 1.0
X-Debbugs-Cc: ( <paren@HIDDEN>, Andrew Tropin <andrew@HIDDEN>, Ludovic Courtès <ludo@HIDDEN>
Content-Transfer-Encoding: 8bit
Received-SPF: pass client-ip=75.119.130.101; envelope-from=saku@HIDDEN;
 helo=mail.laesvuori.fi
X-Spam_score_int: -20
X-Spam_score: -2.1
X-Spam_bar: --
X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001,
 SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 0.9 (/)
X-Debbugs-Envelope-To: submit
Cc: Saku Laesvuori <saku@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.1 (/)

* gnu/home/services/desktop.scm (home-unclutter-shepherd-service)
[one-shot?]: Remove field.
[stop]: Add kill action.

Change-Id: I33551607b05dbac30da94f81fd605ff9624ebe24
---
 gnu/home/services/desktop.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/home/services/desktop.scm b/gnu/home/services/desktop.scm
index 91465bf168..6bb117ea8c 100644
--- a/gnu/home/services/desktop.scm
+++ b/gnu/home/services/desktop.scm
@@ -347,7 +347,6 @@ (define (home-unclutter-shepherd-service config)
    (shepherd-service
     (provision '(unclutter))
     (requirement '())
-    (one-shot? #t)
     (start #~(make-forkexec-constructor
               (list
                #$(file-append
@@ -360,7 +359,8 @@ (define (home-unclutter-shepherd-service config)
                           (or (getenv "XDG_STATE_HOME")
                               (format #f "~a/.local/state"
                                       (getenv "HOME")))
-                          "/log/unclutter.log"))))))
+                          "/log/unclutter.log")))
+    (stop #~(make-kill-destructor)))))
 
 (define home-unclutter-service-type
   (service-type

base-commit: 9f67681db15d22f7ede5488315d52b78e357343e
-- 
2.41.0





Acknowledgement sent to Saku Laesvuori <saku@HIDDEN>:
New bug report received and forwarded. Copy sent to , guix-patches@HIDDEN. Full text available.
Report forwarded to , guix-patches@HIDDEN:
bug#67453; Package guix-patches. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Sat, 20 Jan 2024 12:30:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.