guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Gtk+ themes


From: Ricardo Wurmus
Subject: Re: Gtk+ themes
Date: Mon, 8 Feb 2016 12:49:36 +0100

Fabian Harfert <address@hidden> 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’t seem to negatively
affect anything else.  (‘_gtk_get_data_prefix ()’ still returns the
compile-time prefix and is used to find ‘settings.ini’.)

GTK_DATA_PREFIX is not a search path, so it’s expected that only one
directory can be specified.  Is this a problem?

~~ Ricardo



reply via email to

[Prev in Thread] Current Thread [Next in Thread]