Hey there,
I was wondering if anybody knew how a non-GTK application could detect the current theme that gnome is using.

There is an environment variable called GTK_RC_FILES which points me to a file called .gtkrc-1.2-gnome2 which contains the following lines:

# Autowritten by gnome-settings-daemon. Do not edit

include "/home/my_user_name/.gtkrc.mine"


This file, as near as I can tell, does not exist. I know where the themes are stored and I obviously know which theme I am using but I would like to be able to have an application find out automatically.

Any thoughts would be greatly appreciated.

--twenty1grand