I'm not positive, as I use WindowMaker and haven't ever tried anything like this, but it looks like "gconftool-2" might be a helpful command for you.
The man page (online) is here:
http://newton.waglo.com/cgi-bin/dwww...onftool-2.1.gz
gconftool-2 appears to store its keys in a heirarchical manner, reminiscent of the linux file system structure.
This command will list all the keys you can get/set under /desktop/gnome:
$ gconftool-2 --recursive-list /desktop/gnome
Hope that helps!