> The gnome-color-chooser application creates a separate file which overrides
> the particular user's default settings. Making some changes with
> gnome-color-chooser and then reading the resulting file should be
> instructive on finding which key/variable pairs you need to read.
> The gconf-editor package is a graphical interface to gconf, and it may also
> be of assistance.
Hmm.. I should be reading the colors from gconf instead of directly from gtk? I noticed that some colors were in gconf, but I thought the location varied with the gtk engine you are using.
> python-gconf contains the bindings that allow you to work with gconf in
> python.
I've already got gconf in the script to read the Gnome Desktop background color.
> The gnome-color-chooser application creates a separate file which overrides
> the particular user's default settings. Making some changes with
> gnome-color-chooser and then reading the resulting file should be
> instructive on finding which key/variable pairs you need to read.
> The gconf-editor package is a graphical interface to gconf, and it may also
> be of assistance.
Hmm.. I should be reading the colors from gconf instead of directly from gtk? I noticed that some colors were in gconf, but I thought the location varied with the gtk engine you are using.
> python-gconf contains the bindings that allow you to work with gconf in
> python.
I've already got gconf in the script to read the Gnome Desktop background color.
http:// bazaar. launchpad. net/~endolith/ %2Bjunk/ wine-color- scraper/ files
> (KDE's wine configuration tool is written in python, if my memory
> serves me correctly. )
What's the name of the KDE tool?