[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
06/10: guix-install.sh: Add default value for XCURSOR_PATH.
From: |
guix-commits |
Subject: |
06/10: guix-install.sh: Add default value for XCURSOR_PATH. |
Date: |
Mon, 29 Apr 2024 18:27:48 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit d7bf731573b99b4e057fc3b85c86083f5d4c125a
Author: Tomas Volf <~@wolfsden.cz>
AuthorDate: Fri Apr 5 19:09:36 2024 +0200
guix-install.sh: Add default value for XCURSOR_PATH.
This improves compatibility with (at least) Gnome based systems. On my new
Ubuntu 22.04 install the mouse cursor was broken (after I installed Guix)
until I set this.
* etc/guix-install.sh (sys_create_init_profile): Set default value for
XCURSOR_PATH.
Change-Id: I489f0307d99e4d8d82671f291c78b90c7b6dae4a
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
---
etc/guix-install.sh | 2 ++
1 file changed, 2 insertions(+)
diff --git a/etc/guix-install.sh b/etc/guix-install.sh
index 72b456ee7a..3d9c9f4e58 100755
--- a/etc/guix-install.sh
+++ b/etc/guix-install.sh
@@ -14,6 +14,7 @@
# Copyright © 2023 Andrew Tropin <andrew@trop.in>
# Copyright © 2020 David A. Redick <david.a.redick@gmail.com>
# Copyright © 2024 Janneke Nieuwenhuizen <janneke@gnu.org>
+# Copyright © 2024 Tomas Volf <~@wolfsden.cz>
#
# This file is part of GNU Guix.
#
@@ -613,6 +614,7 @@ sys_create_init_profile()
cat <<"EOF" > /etc/profile.d/zzz-guix.sh
# Explicitly initialize XDG base directory variables to ease compatibility
# with Guix System: see <https://issues.guix.gnu.org/56050#3>.
+export XCURSOR_PATH="${XCURSOR_PATH:-/usr/local/share/icons:/usr/share/icons}"
export XDG_DATA_HOME="${XDG_DATA_HOME:-$HOME/.local/share}"
export XDG_CONFIG_HOME="${XDG_CONFIG_HOME:-$HOME/.config}"
export XDG_STATE_HOME="${XDG_STATE_HOME:-$HOME/.local/state}"
- branch master updated (d6a6e832e6 -> c1c367b55e), guix-commits, 2024/04/29
- 05/10: pack: ‘-R’ (once) does not include fakechroot fallback., guix-commits, 2024/04/29
- 08/10: home: services: bash: Move default PS1 prompt to bashrc, guix-commits, 2024/04/29
- 09/10: import: beautify-description: Fix ". ." case., guix-commits, 2024/04/29
- 10/10: gnu: Add libdecor., guix-commits, 2024/04/29
- 01/10: system: Remove ‘glibc-2.33’ from ‘%default-locale-libcs’., guix-commits, 2024/04/29
- 04/10: linux-initrd: Further strip the static Guile., guix-commits, 2024/04/29
- 07/10: guix-install.sh: Fix setting GUIX_LOCPATH., guix-commits, 2024/04/29
- 06/10: guix-install.sh: Add default value for XCURSOR_PATH.,
guix-commits <=
- 02/10: locale: Shrink ‘%default-locale-definitions’ from 34 to 10 locales., guix-commits, 2024/04/29
- 03/10: services: build-vm: Provide only one locale., guix-commits, 2024/04/29