From mboxrd@z Thu Jan 1 00:00:00 1970 From: Fabian Harfert Subject: Gtk+ themes Date: Sun, 7 Feb 2016 18:47:28 +0100 Message-ID: <20160207184728.048fd6cd@alarmpi> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:40663) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSTQt-0002tX-Kh for guix-devel@gnu.org; Sun, 07 Feb 2016 12:47:36 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aSTQq-0001Aj-Ee for guix-devel@gnu.org; Sun, 07 Feb 2016 12:47:35 -0500 Received: from mout.web.de ([212.227.17.12]:57638) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSTQq-0001Ad-4Q for guix-devel@gnu.org; Sun, 07 Feb 2016 12:47:32 -0500 Received: from alarmpi ([217.232.223.4]) by smtp.web.de (mrweb102) with ESMTPSA (Nemesis) id 0LgpJ4-1ZeLMD15yY-00oDT6 for ; Sun, 07 Feb 2016 18:47:31 +0100 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: guix-devel@gnu.org Hi! 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. Fabian