diff options
| author | Tomas Volf <~@wolfsden.cz> | 2024-04-05 19:09:36 +0200 |
|---|---|---|
| committer | Ludovic Courtès <ludo@gnu.org> | 2024-04-29 22:56:05 +0200 |
| commit | d7bf731573b99b4e057fc3b85c86083f5d4c125a (patch) | |
| tree | 5b83a88e57870bcab87f16a70f62ac38b5ca90bf /etc/guix-install.sh | |
| parent | a15db2ee5090441c08d9a642d9284ef3ccdd95d0 (diff) | |
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>
Diffstat (limited to 'etc/guix-install.sh')
| -rwxr-xr-x | etc/guix-install.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/etc/guix-install.sh b/etc/guix-install.sh index 72b456ee7a6..3d9c9f4e585 100755 --- a/etc/guix-install.sh +++ b/etc/guix-install.sh | |||
| @@ -14,6 +14,7 @@ | |||
| 14 | # Copyright © 2023 Andrew Tropin <andrew@trop.in> | 14 | # Copyright © 2023 Andrew Tropin <andrew@trop.in> |
| 15 | # Copyright © 2020 David A. Redick <david.a.redick@gmail.com> | 15 | # Copyright © 2020 David A. Redick <david.a.redick@gmail.com> |
| 16 | # Copyright © 2024 Janneke Nieuwenhuizen <janneke@gnu.org> | 16 | # Copyright © 2024 Janneke Nieuwenhuizen <janneke@gnu.org> |
| 17 | # Copyright © 2024 Tomas Volf <~@wolfsden.cz> | ||
| 17 | # | 18 | # |
| 18 | # This file is part of GNU Guix. | 19 | # This file is part of GNU Guix. |
| 19 | # | 20 | # |
| @@ -613,6 +614,7 @@ sys_create_init_profile() | |||
| 613 | cat <<"EOF" > /etc/profile.d/zzz-guix.sh | 614 | cat <<"EOF" > /etc/profile.d/zzz-guix.sh |
| 614 | # Explicitly initialize XDG base directory variables to ease compatibility | 615 | # Explicitly initialize XDG base directory variables to ease compatibility |
| 615 | # with Guix System: see <https://issues.guix.gnu.org/56050#3>. | 616 | # with Guix System: see <https://issues.guix.gnu.org/56050#3>. |
| 617 | export XCURSOR_PATH="${XCURSOR_PATH:-/usr/local/share/icons:/usr/share/icons}" | ||
| 616 | export XDG_DATA_HOME="${XDG_DATA_HOME:-$HOME/.local/share}" | 618 | export XDG_DATA_HOME="${XDG_DATA_HOME:-$HOME/.local/share}" |
| 617 | export XDG_CONFIG_HOME="${XDG_CONFIG_HOME:-$HOME/.config}" | 619 | export XDG_CONFIG_HOME="${XDG_CONFIG_HOME:-$HOME/.config}" |
| 618 | export XDG_STATE_HOME="${XDG_STATE_HOME:-$HOME/.local/state}" | 620 | export XDG_STATE_HOME="${XDG_STATE_HOME:-$HOME/.local/state}" |
