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

Previous Next

Package: guix-patches;

Reported by: Simon Josefsson <simon <at> josefsson.org>

Date: Mon, 20 May 2024 10:32:01 UTC

Severity: normal

Tags: patch

To reply to this bug, email your comments to 71077 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#71077; Package guix-patches. (Mon, 20 May 2024 10:32:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Simon Josefsson <simon <at> josefsson.org>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Mon, 20 May 2024 10:32:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Simon Josefsson <simon <at> josefsson.org>
To: guix-patches <at> gnu.org
Subject: [PATCH] home: services: Avoid garbling mouse cursor when used in
 Trisquel.
Date: Mon, 20 May 2024 12:28:39 +0200
[Message part 1 (text/plain, inline)]
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
[0001-home-services-Avoid-garbling-mouse-cursor-when-used-.patch (text/x-diff, inline)]
From 46c63f80ae061b830b8e82903c016461d0bb0f1b Mon Sep 17 00:00:00 2001
From: Simon Josefsson <simon <at> josefsson.org>
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.
---
 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
--- 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*) ;;
-  *) export XCURSOR_PATH=$HOME_ENVIRONMENT/profile/share/icons:$XCURSOR_PATH ;;
+  *) export XCURSOR_PATH=$HOME_ENVIRONMENT/profile/share/icons:${XCURSOR_PATH:-/usr/local/share/icons:/usr/share/icons} ;;
 esac
 
 " port)
-- 
2.41.0

[signature.asc (application/pgp-signature, inline)]

Information forwarded to guix-patches <at> gnu.org:
bug#71077; Package guix-patches. (Mon, 24 Jun 2024 03:10:02 GMT) Full text and rfc822 format available.

Message #8 received at 71077 <at> debbugs.gnu.org (full text, mbox):

From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: Simon Josefsson <simon <at> josefsson.org>
Cc: 71077 <at> debbugs.gnu.org
Subject: Re: [bug#71077] [PATCH] home: services: Avoid garbling mouse cursor
 when used in Trisquel.
Date: Sun, 23 Jun 2024 23:08:41 -0400
Simon Josefsson <simon <at> josefsson.org> 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 <at> josefsson.org>
> 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 <at> gmail>

-- 
Thanks,
Maxim




This bug report was last modified 355 days ago.

Previous Next


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