GNU bug report logs -
#23200
XFCE: selecting a style has no effect
Previous Next
Full log
Message #17 received at 23200 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Chris Marusich <cmmarusich <at> gmail.com> skribis:
> Ricardo Wurmus <rekado <at> elephly.net> writes:
>
>> Here’s what worked for me:
>>
>> * install gnome-themes-standard into the system profile
>> * set GTK_DATA_PREFIX to “/run/current-system/profile”
>
> Can it be arranged for these two things to be done automatically in the
> installation image? I think it would be simple to add
> "gnome-themes-standard" to the sample desktop.scm file we provide, but
> I'm not sure how we would ensure that GTK_DATA_PREFIX gets set up
> correctly. Is there a mechanism in GuixSD for adding such environment
> variables to /etc/profile, for example?
Definitely.
I’ve tested that with this patch changing colors under the “Style” tab
in Xfce does have an effect.
I’ll commit it shortly if there are no objections.
Thanks!
Ludo’.
[Message part 2 (text/x-patch, inline)]
diff --git a/gnu/system.scm b/gnu/system.scm
index 8e05254..a8744ea 100644
--- a/gnu/system.scm
+++ b/gnu/system.scm
@@ -421,6 +421,9 @@ export INFOPATH=$HOME/.guix-profile/share/info:/run/current-system/profile/share
export XDG_DATA_DIRS=$HOME/.guix-profile/share:/run/current-system/profile/share
export XDG_CONFIG_DIRS=$HOME/.guix-profile/etc/xdg:/run/current-system/profile/etc/xdg
+# 'GTK_DATA_PREFIX' must name one directory where themes are searched for.
+export GTK_DATA_PREFIX=/run/current-system/profile
+
# Ignore the default value of 'PATH'.
unset PATH
This bug report was last modified 9 years and 47 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.