all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#71077] [PATCH] home: services: Avoid garbling mouse cursor when used in Trisquel.
@ 2024-05-20 10:28 Simon Josefsson via Guix-patches via
  2024-06-24  3:08 ` Maxim Cournoyer
  0 siblings, 1 reply; 2+ messages in thread
From: Simon Josefsson via Guix-patches via @ 2024-05-20 10:28 UTC (permalink / raw)
  To: 71077


[-- Attachment #1.1: Type: text/plain, Size: 418 bytes --]

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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1.2: 0001-home-services-Avoid-garbling-mouse-cursor-when-used-.patch --]
[-- Type: text/x-diff, Size: 1005 bytes --]

From 46c63f80ae061b830b8e82903c016461d0bb0f1b Mon Sep 17 00:00:00 2001
From: Simon Josefsson <simon@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


[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 255 bytes --]

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [bug#71077] [PATCH] home: services: Avoid garbling mouse cursor when used in Trisquel.
  2024-05-20 10:28 [bug#71077] [PATCH] home: services: Avoid garbling mouse cursor when used in Trisquel Simon Josefsson via Guix-patches via
@ 2024-06-24  3:08 ` Maxim Cournoyer
  0 siblings, 0 replies; 2+ messages in thread
From: Maxim Cournoyer @ 2024-06-24  3:08 UTC (permalink / raw)
  To: Simon Josefsson; +Cc: 71077

Simon Josefsson <simon@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@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@gmail>

-- 
Thanks,
Maxim




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-06-24  3:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-20 10:28 [bug#71077] [PATCH] home: services: Avoid garbling mouse cursor when used in Trisquel Simon Josefsson via Guix-patches via
2024-06-24  3:08 ` Maxim Cournoyer

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.