GNU bug report logs - #23200
XFCE: selecting a style has no effect

Previous Next

Package: guix;

Reported by: Chris Marusich <cmmarusich <at> gmail.com>

Date: Sat, 2 Apr 2016 21:47:02 UTC

Severity: normal

Done: ludo <at> gnu.org (Ludovic Courtès)

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: ludo <at> gnu.org (Ludovic Courtès)
To: Chris Marusich <cmmarusich <at> gmail.com>
Cc: Ricardo Wurmus <rekado <at> elephly.net>, 23200 <at> debbugs.gnu.org
Subject: bug#23200: XFCE: selecting a style has no effect
Date: Mon, 04 Apr 2016 22:26:55 +0200
[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.