Ubuntu – How to a proxy be set for the whole xubuntu system

PROXYxubuntu

Hello I need to find out how to enable a system wide proxy in xubuntu 10.10

Best Answer

Whilst the the other answers are good & ok (for terminal/bash prompts), in my opinion the correct place to add these are /etc/environment.

Use sudo or gksu then add:

http_proxy="http://user:password@proxyserver:port"
https_proxy="http://user:password@proxyserver:port"
ftp_proxy="http://user:password@proxyserver:port"

Very similar but for those who run everything from within a term then yes the other answers will give results but for those in GUI land would be better off adding the above line to the environment file for full correct system wide usage.