From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Subject: bug#23200: XFCE: selecting a style has no effect Date: Mon, 04 Apr 2016 22:26:55 +0200 Message-ID: <871t6ldss0.fsf@gnu.org> References: <87oa9r65w6.fsf@gmail.com> <87vb3zyykp.fsf@elephly.net> <87y48us0wr.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:33639) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1anB6U-00064w-OH for bug-guix@gnu.org; Mon, 04 Apr 2016 16:28:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1anB6Q-00023g-MS for bug-guix@gnu.org; Mon, 04 Apr 2016 16:28:06 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:54310) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1anB6Q-00023c-Jl for bug-guix@gnu.org; Mon, 04 Apr 2016 16:28:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1anB6Q-0002mt-Fz for bug-guix@gnu.org; Mon, 04 Apr 2016 16:28:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <87y48us0wr.fsf@gmail.com> (Chris Marusich's message of "Sun, 03 Apr 2016 16:55:16 -0700") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org To: Chris Marusich Cc: 23200@debbugs.gnu.org --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Chris Marusich skribis: > Ricardo Wurmus writes: > >> Here=E2=80=99s what worked for me: >> >> * install gnome-themes-standard into the system profile >> * set GTK_DATA_PREFIX to =E2=80=9C/run/current-system/profile=E2=80=9D > > 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=E2=80=99ve tested that with this patch changing colors under the =E2=80= =9CStyle=E2=80=9D tab in Xfce does have an effect. I=E2=80=99ll commit it shortly if there are no objections. Thanks! Ludo=E2=80=99. --=-=-= Content-Type: text/x-patch Content-Disposition: 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 --=-=-=--