From patchwork Mon May 20 10:28:39 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Josefsson X-Patchwork-Id: 64738 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 1322527BBEA; Mon, 20 May 2024 11:32:30 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id AB8AE27BBE2 for ; Mon, 20 May 2024 11:32:24 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s90JD-0000Th-R6; Mon, 20 May 2024 06:31:59 -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 ) id 1s90JC-0000T9-35 for guix-patches@gnu.org; Mon, 20 May 2024 06:31:58 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1s90JB-00083l-M6 for guix-patches@gnu.org; Mon, 20 May 2024 06:31:57 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1s90JF-00008o-PT for guix-patches@gnu.org; Mon, 20 May 2024 06:32:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#71077] [PATCH] home: services: Avoid garbling mouse cursor when used in Trisquel. Resent-From: Simon Josefsson Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 20 May 2024 10:32:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 71077 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 71077@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.1716201081532 (code B ref -1); Mon, 20 May 2024 10:32:01 +0000 Received: (at submit) by debbugs.gnu.org; 20 May 2024 10:31:21 +0000 Received: from localhost ([127.0.0.1]:41908 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s90Ib-00008W-AI for submit@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 ) id 1s90IW-00008Q-T4 for submit@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 ) id 1s90II-0000Iw-Mv for guix-patches@gnu.org; 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 ) id 1s90IC-0007xv-QT for guix-patches@gnu.org; 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 ) id 1s90I7-003pGd-E8 for guix-patches@gnu.org; Mon, 20 May 2024 10:30:51 +0000 X-Hashcash: 1:23:240520:guix-patches@gnu.org::wEAVlkjssoERCBZB:4Ng6 OpenPGP: id=B1D2BD1375BECB784CF4F8C4D73CF638C53C06BE; url=https://josefsson.org/key-20190320.txt Date: Mon, 20 May 2024 12:28:39 +0200 Message-ID: <87o790vktk.fsf@kaka.sjd.se> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Received-SPF: pass client-ip=2001:9b1:8633::107; envelope-from=simon@josefsson.org; 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-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Simon Josefsson X-ACL-Warn: , Simon Josefsson via Guix-patches X-Patchwork-Original-From: Simon Josefsson via Guix-patches via From: Simon Josefsson Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches 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 Reviewed-by: Maxim Cournoyer From 46c63f80ae061b830b8e82903c016461d0bb0f1b Mon Sep 17 00:00:00 2001 From: Simon Josefsson 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