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

Full log


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)]

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.