Fabian Harfert <fhmg...@web.de> 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