GNU bug report logs - #71077
[PATCH] home: services: Avoid garbling mouse cursor when used in Trisquel.

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: Simon Josefsson <simon@HIDDEN>; Keywords: patch; dated Mon, 20 May 2024 10:32:01 UTC; Maintainer for guix-patches is guix-patches@HIDDEN.

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


Received: (at 71077) by debbugs.gnu.org; 24 Jun 2024 03:09:55 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Jun 23 23:09:55 2024
Received: from localhost ([127.0.0.1]:35423 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1sLa5a-0000Dr-4Y
	for submit <at> debbugs.gnu.org; Sun, 23 Jun 2024 23:09:55 -0400
Received: from mail-oi1-f169.google.com ([209.85.167.169]:59588)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <maxim.cournoyer@HIDDEN>) id 1sLa5W-0000DO-Q9
 for 71077 <at> debbugs.gnu.org; Sun, 23 Jun 2024 23:09:51 -0400
Received: by mail-oi1-f169.google.com with SMTP id
 5614622812f47-3d22802674cso2049815b6e.2
 for <71077 <at> debbugs.gnu.org>; Sun, 23 Jun 2024 20:09:49 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1719198523; x=1719803323; darn=debbugs.gnu.org;
 h=mime-version:user-agent:message-id:date:references:in-reply-to
 :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to;
 bh=2yqF5JYhWhKr5BqVSoMR9zNA0hesfNLzKymvaVFqgTM=;
 b=cep+gwMItUUA7vcHgGcXgQY7qpFnd44nrEl03v2sfGA4T0syMfEdO5PCC8weAFzB4T
 yayZ/bXVySDxEo1dvfw/z56PKT+qUO/RAvdlFlvM0vbhzDv2rVsUdV+2MychAyWN6zvS
 m/pgFlKt1gVU3dLtcHk42Kpbd9n1XQX9xkqUpydG0q25ol2N0CQV4LsFPeQY2swO9j9+
 g7rjcAQT5vlA9RErclOCFGa6aBH/NhdvLbq9ms5rLfC/KxKWXxTzl5O8poyZsAenMEMy
 LZ6n+7qogMx8hVkc7SaQFF6D2CIUJhuOeUJp078Z5Jr9hb7PnVojzsttifgfQPsRUA5r
 xxJw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1719198523; x=1719803323;
 h=mime-version:user-agent:message-id:date:references:in-reply-to
 :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date
 :message-id:reply-to;
 bh=2yqF5JYhWhKr5BqVSoMR9zNA0hesfNLzKymvaVFqgTM=;
 b=i3xNx5S+16SAS4jBbuYWjO+BEGmjevv+/6AT9FdefRGNVDAwIuRObf98ekJO2/JxZt
 oq/GgrhKNpwr9uXsKXRaHRtqUeIxcdNC/z1teqroGdFTSthHWhicKVPVJrXe1SFVJEff
 s3YgeDVXzHbHjMpMCvCGNFxgfqglqBXyX+t2CkIrqIBjy8wwtBOq8CAJdGUu5hNas2M9
 bglxGB8GTwxKL2py1QLnd6/1ym2Br20MA6pQOpd+oW50W/MvXgqtWj2lAgwTUzq3yf4r
 EUXXYVJHXoXiL3u21nF7reB+olSToek/bmGePvMwBUDlKHplSfX/Q1oECLRd25tUjzgl
 zUlQ==
X-Gm-Message-State: AOJu0YwWt8DidGsAepp/MtZK7VMrMTKdxew2WL4TyVNjOAKiuG6Lsmi/
 iL2X7WsG422eFKOyb1Un9466gZ0Qy08GNKOQBEIaVuK+ryIzP8/cpowJ6Dwd6+Y=
X-Google-Smtp-Source: AGHT+IH8t31VBkFURTcESWiYKtgWqpvDx4hhC4Bm2OueS3cXDdX2voUf+gQZkzkKwPpla5yLN1SywQ==
X-Received: by 2002:a05:6808:13d5:b0:3d2:1f5f:abeb with SMTP id
 5614622812f47-3d54594d533mr5608410b6e.10.1719198523247; 
 Sun, 23 Jun 2024 20:08:43 -0700 (PDT)
Received: from hurd (dsl-205-233-124-241.b2b2c.ca. [205.233.124.241])
 by smtp.gmail.com with ESMTPSA id
 d75a77b69052e-444c2c97136sm37446771cf.95.2024.06.23.20.08.42
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Sun, 23 Jun 2024 20:08:42 -0700 (PDT)
From: Maxim Cournoyer <maxim.cournoyer@HIDDEN>
To: Simon Josefsson <simon@HIDDEN>
Subject: Re: [bug#71077] [PATCH] home: services: Avoid garbling mouse cursor
 when used in Trisquel.
In-Reply-To: <87o790vktk.fsf@HIDDEN> (Simon Josefsson's message of "Mon, 
 20 May 2024 12:28:39 +0200")
References: <87o790vktk.fsf@HIDDEN>
Date: Sun, 23 Jun 2024 23:08:41 -0400
Message-ID: <871q4n596u.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 71077
Cc: 71077 <at> debbugs.gnu.org
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: -1.0 (-)

Simon Josefsson <simon@HIDDEN> writes:

> Hi!  If you install Trisquel 11 and then install guix with 'sudo apt
> install guix' and then do 'guix home reconfigure foo' it will create a
> .profile file that sets XCURSOR_PATH which disables system paths.  The
> end result is that your mouse cursor is garbled on next login.
>
> This thread seems related, but I think it has to be fixed in guix home
> too: https://lists.gnu.org/r/guix-patches/2022-07/msg00096.html
>
> /Simon
>
> From 46c63f80ae061b830b8e82903c016461d0bb0f1b Mon Sep 17 00:00:00 2001
> From: Simon Josefsson <simon@HIDDEN>
> Date: Mon, 20 May 2024 12:23:39 +0200
> Subject: [PATCH] home: services: Avoid garbling mouse cursor when used in
>  Trisquel.
>
> * gnu/home/services.scm (environment-variables->setup-environment-script): Add
> common system directories when setting XCURSOR_PATH.

Reviewed-by: Maxim Cournoyer <maxim.cournoyer@gmail>

-- 
Thanks,
Maxim




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

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


Received: (at submit) by debbugs.gnu.org; 20 May 2024 10:31:21 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon May 20 06:31:21 2024
Received: from localhost ([127.0.0.1]:41908 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1s90Ib-00008W-AI
	for submit <at> debbugs.gnu.org; Mon, 20 May 2024 06:31:21 -0400
Received: from lists.gnu.org ([209.51.188.17]:54830)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <simon@HIDDEN>) id 1s90IW-00008Q-T4
 for submit <at> debbugs.gnu.org; Mon, 20 May 2024 06:31:19 -0400
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 <simon@HIDDEN>)
 id 1s90II-0000Iw-Mv
 for guix-patches@HIDDEN; Mon, 20 May 2024 06:31:03 -0400
Received: from uggla.sjd.se ([2001:9b1:8633::107])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <simon@HIDDEN>)
 id 1s90IC-0007xv-QT
 for guix-patches@HIDDEN; Mon, 20 May 2024 06:31:01 -0400
DKIM-Signature: v=1; a=ed25519-sha256; q=dns/txt; c=relaxed/relaxed;
 d=josefsson.org; s=ed2303; h=Content-Type:MIME-Version:Message-ID:Date:
 Subject:To:From:Sender:Reply-To:Cc:Content-Transfer-Encoding:Content-ID:
 Content-Description; bh=stu0ENPnunE6AluJbpIwEootxivnk9+vbGzeXXC8h0w=;
 t=1716201054; x=1717410654; b=o9aXqIJglxJ8gTsPfdCCzDzHUyjMgugxsqx/452RcJuuNkn
 M9xjBd3Tmu0fROVbTvb9fFUOngdHdlV2lEdsLBQ==;
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;
 d=josefsson.org; s=rsa2303; h=Content-Type:MIME-Version:Message-ID:Date:
 Subject:To:From:Sender:Reply-To:Cc:Content-Transfer-Encoding:Content-ID:
 Content-Description; bh=stu0ENPnunE6AluJbpIwEootxivnk9+vbGzeXXC8h0w=;
 t=1716201054; x=1717410654; b=pPSf0Mnx5YG6DroZz9qzwbp3zj9SDCqmpjHdTjd2Nl+g6jj
 DkyjiQaR0LiBCwXfB5Kc3H2fgFhTwOm9GynUx8pWHd8H7t++Qt+y0v+FlAmMMGbfy+MdIr8aigpCc
 EpgcP02VpyDwE9fT9i+7UPfa0XUEFVsItrwKnoNN9mZxlsGiCelqeqUhK7euKmH4O3ZDFlGJG+Ew4
 pgLaEb+Uf/aTyBOdD0T1KiadApqeccH8YezMR4/D9juUxIsSKeYdh1IMISrssuTrSBLegPrzFCDpp
 OpsewyHrBq72FBhfjkTzpf6T2sKfIjQUKu9Toax9/FqGQ8UBvfDU0TIiVZqPP1JWelRjgyhiL0ICs
 JN5723E7eakavSlUku6mYjop8o3d0haQJ+e7vkbZc0BH22EjDq7IrH4P2wez6HvR4xrPiS7mSTPL8
 gMRjxJP7xQf3mN3DhGyraE7f;
Received: from [2001:9b1:41ac:ff00:823f:5dff:fe09:16ac] (port=41282 helo=kaka)
 by uggla.sjd.se with esmtpsa (TLS1.3) tls
 TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95)
 (envelope-from <simon@HIDDEN>) id 1s90I7-003pGd-E8
 for guix-patches@HIDDEN; Mon, 20 May 2024 10:30:51 +0000
X-Hashcash: 1:23:240520:guix-patches@HIDDEN::wEAVlkjssoERCBZB:4Ng6
From: Simon Josefsson <simon@HIDDEN>
To: guix-patches@HIDDEN
Subject: [PATCH] home: services: Avoid garbling mouse cursor when used in
 Trisquel.
OpenPGP: id=B1D2BD1375BECB784CF4F8C4D73CF638C53C06BE;
 url=https://josefsson.org/key-20190320.txt
Date: Mon, 20 May 2024 12:28:39 +0200
Message-ID: <87o790vktk.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="==-=-=";
 micalg=pgp-sha256; protocol="application/pgp-signature"
Received-SPF: pass client-ip=2001:9b1:8633::107;
 envelope-from=simon@HIDDEN; helo=uggla.sjd.se
X-Spam_score_int: -43
X-Spam_score: -4.4
X-Spam_bar: ----
X-Spam_report: (-4.4 / 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,
 RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_PASS=-0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.4 (-)
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: -2.4 (--)

--==-=-=
Content-Type: multipart/mixed; boundary="=-=-="

--=-=-=
Content-Type: text/plain

Hi!  If you install Trisquel 11 and then install guix with 'sudo apt
install guix' and then do 'guix home reconfigure foo' it will create a
.profile file that sets XCURSOR_PATH which disables system paths.  The
end result is that your mouse cursor is garbled on next login.

This thread seems related, but I think it has to be fixed in guix home
too: https://lists.gnu.org/r/guix-patches/2022-07/msg00096.html

/Simon

--=-=-=
Content-Type: text/x-diff
Content-Disposition: inline;
 filename=0001-home-services-Avoid-garbling-mouse-cursor-when-used-.patch
Content-Transfer-Encoding: quoted-printable

From=2046c63f80ae061b830b8e82903c016461d0bb0f1b Mon Sep 17 00:00:00 2001
From: Simon Josefsson <simon@HIDDEN>
Date: Mon, 20 May 2024 12:23:39 +0200
Subject: [PATCH] home: services: Avoid garbling mouse cursor when used in
 Trisquel.

* gnu/home/services.scm (environment-variables->setup-environment-script): =
Add
common system directories when setting XCURSOR_PATH.
=2D--
 gnu/home/services.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gnu/home/services.scm b/gnu/home/services.scm
index b69cd91203..b7413408f0 100644
=2D-- a/gnu/home/services.scm
+++ b/gnu/home/services.scm
@@ -298,7 +298,7 @@ (define (warn-about-duplicate-definitions)
 esac
 case $XCURSOR_PATH in
   *$HOME_ENVIRONMENT/profile/share/icons*) ;;
=2D  *) export XCURSOR_PATH=3D$HOME_ENVIRONMENT/profile/share/icons:$XCURSO=
R_PATH ;;
+  *) export XCURSOR_PATH=3D$HOME_ENVIRONMENT/profile/share/icons:${XCURSOR=
_PATH:-/usr/local/share/icons:/usr/share/icons} ;;
 esac
=20
 " port)
=2D-=20
2.41.0


--=-=-=--

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

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

iIoEARYIADIWIQSjzJyHC50xCrrUzy9RcisI/kdFogUCZksl1xQcc2ltb25Aam9z
ZWZzc29uLm9yZwAKCRBRcisI/kdFord/AQCQ/Y/tc9prVRNJaQmPIiVx6j4j+REi
sOi/dveZBhbEEgEA0z3b/m12Dl22df0L+M9SCnI1xNy2vMTx79LOrz8IzA4=
=y755
-----END PGP SIGNATURE-----
--==-=-=--




Acknowledgement sent to Simon Josefsson <simon@HIDDEN>:
New bug report received and forwarded. Copy sent to guix-patches@HIDDEN. Full text available.
Report forwarded to guix-patches@HIDDEN:
bug#71077; 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: Mon, 24 Jun 2024 03:15:01 UTC

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