Setting a default HTTP proxy configuration using GConf

This article was first written in April 2004 for
the BeezNest technical website (http://glasnost.beeznest.org/articles/115)
To set the default HTTP proxy configuration for GNOME using GConf in command-line:
$ gconftool-2 --direct --config-source xml:readwrite:/etc/gconf/gconf.xml.mandatory --type string --set /system/http_proxy/host proxy-name
$ gconftool-2 --direct --config-source xml:readwrite:/etc/gconf/gconf.xml.mandatory --type string --set /system/http_proxy/port proxy-port