Sunday 12 December 2004

How to set Linux Proxy Settings

Many programs support the use of an environment variable, so setting this in '/.profile' for example can make programs work:
export http_proxy=http://192.168.0.2:8080

KDE has an option in the Control Centre to configure it:
Control Centre > Internet & Network > Proxy

Gnome uses the gconftool-2 command line for proxy settings:
gconftool-2 -s /system/http_proxy/use_http_proxy -t bool true
gconftool-2 -s /system/http_proxy/host -t string "192.168.0.2"
gconftool-2 -s /system/http_proxy/port -t int 8080

No comments:

Post a Comment