guix_mirror_bot pushed a commit to branch master
in repository guix.

commit 178f556aa9718d77b54f56a8797d5f132c03f9b0
Author: Rutherther <[email protected]>
AuthorDate: Mon Dec 29 22:22:48 2025 +0100

    etc: guix-install.sh: Set XCURSOR_PATH to proper default value.
    
    As can be seen in the Xcursor docs, the default path is
    `~/.local/share/icons, ~/.icons, /usr/share/icons, /usr/share/pixmaps`,
    zzz-guix.sh is currently missing the first two.
    
    * etc/guix-install.sh (sys_create_init_profile): Add home paths to 
XCURSOR_PATH.
    
    Change-Id: I4284d7648394c06b83e4eba91882b81c8a35d706
    Signed-off-by: Rutherther <[email protected]>
    Merges: #5231
---
 etc/guix-install.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/etc/guix-install.sh b/etc/guix-install.sh
index 014e30a6a3..c153cd1c28 100755
--- a/etc/guix-install.sh
+++ b/etc/guix-install.sh
@@ -777,7 +777,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 
XCURSOR_PATH="${XCURSOR_PATH:-$HOME/.local/share/icons:$HOME/.icons:/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}"

Reply via email to