GNU bug report logs -
#70218
[PATCH 0/2] Some fixes for guix-install.sh
Previous Next
Reported by: Tomas Volf <~@wolfsden.cz>
Date: Fri, 5 Apr 2024 17:05:01 UTC
Severity: normal
Tags: patch
Done: Ludovic Courtès <ludo <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
Message #11 received at 70218 <at> debbugs.gnu.org (full text, mbox):
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
---
etc/guix-install.sh | 2 ++
1 file changed, 2 insertions(+)
diff --git a/etc/guix-install.sh b/etc/guix-install.sh
index 982fb0a266..7876afa196 100755
--- a/etc/guix-install.sh
+++ b/etc/guix-install.sh
@@ -12,6 +12,7 @@
# Copyright © 2021, 2022, 2023 Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
# Copyright © 2022 Prafulla Giri <prafulla.giri <at> protonmail.com>
# Copyright © 2023 Andrew Tropin <andrew <at> trop.in>
+# Copyright © 2024 Tomas Volf <~@wolfsden.cz>
#
# This file is part of GNU Guix.
#
@@ -527,6 +528,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}"
--
2.41.0
This bug report was last modified 1 year and 77 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.