From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: Re: Gtk+ themes Date: Mon, 8 Feb 2016 12:49:36 +0100 Message-ID: References: <20160207184728.048fd6cd@alarmpi> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:44882) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSkKE-0001yg-UN for guix-devel@gnu.org; Mon, 08 Feb 2016 06:49:52 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aSkK9-00020G-Ug for guix-devel@gnu.org; Mon, 08 Feb 2016 06:49:50 -0500 Received: from pegasus.bbbm.mdc-berlin.de ([141.80.25.20]:56055) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSkK9-00020A-Lg for guix-devel@gnu.org; Mon, 08 Feb 2016 06:49:45 -0500 In-Reply-To: <20160207184728.048fd6cd@alarmpi> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Fabian Harfert Cc: guix-devel@gnu.org Fabian Harfert writes: > Looking into this source file I found out that it would make it > possible to support Gtk+ themes out of the box, if the environment > variable GTK_DATA_PREFIX is set to the base directory of the user's > profile (e.g. /home/rms/.guix_profile/). I tried it with lxapearance > and it seems to work. The problem Mark mentioned on IRC is that this > can't contain multiple directories. But looking at the sources (e.g. > https://git.gnome.org/browse/gtk+/tree/gtk/gtkcssprovider.c, line 2071) > this seems to be the only opportunity to set this. Any ideas? Maybe > there's a better option, I don't know. It does seem to be the only environment variable to allow for a different location for themes. It also doesn=E2=80=99t seem to negativel= y affect anything else. (=E2=80=98_gtk_get_data_prefix ()=E2=80=99 still r= eturns the compile-time prefix and is used to find =E2=80=98settings.ini=E2=80=99.) GTK_DATA_PREFIX is not a search path, so it=E2=80=99s expected that only = one directory can be specified. Is this a problem? ~~ Ricardo