Page 1 of 1
Global Proxy In Xubuntu
Posted: Mon Oct 13, 2008 1:16 pm
by DMB2000uk
There isn't a system menu like in Ubuntu, so I can't add it there.
What's the fix/tweak/hack to set it via other means?
Dan
Re: Global Proxy In Xubuntu
Posted: Mon Oct 13, 2008 1:44 pm
by dicecca112
Re: Global Proxy In Xubuntu
Posted: Mon Oct 13, 2008 2:27 pm
by DMB2000uk
Saw both those threads earlier today, and did try this:
Here's what worked for me.
Add the following line to /etc/environment :
Code:
http_proxy="http://user:pw@proxyaddress:port"
But it didn't do anything, I can't remember if i rebooted though or not, so will have to check again tomorrow (the machine is at work).
Accessories>Appfinder
and Network Proxy is in the list of applications.
Couldn't find that, they must have removed it.
Dan
Re: Global Proxy In Xubuntu
Posted: Tue Oct 14, 2008 3:53 am
by DMB2000uk
Well despite those links saying that the export of proxy in the terminal would only be good for the console they were in, it seems that it has applied it system wide and updates and additional programs/packages are now working.
Thanks Matt and Kyle,
Dan
Re: Global Proxy In Xubuntu
Posted: Tue Oct 14, 2008 4:50 am
by Alathald
NP if it doesn't stick after a reboot stick the
export http_proxy="http://[proxy]@[port]" in your /etc/rc.local and that command will be run every startup. If it still works after a reboot though just ignore me

Re: Global Proxy In Xubuntu
Posted: Tue Oct 14, 2008 4:40 pm
by Alathald
I'm a dolt...run
sudo gnome-network-preferences from the terminal. It even has a GUI

Re: Global Proxy In Xubuntu
Posted: Wed Oct 15, 2008 3:08 am
by DMB2000uk
Well it didn't stick after the reboot so I had to export the proxy in the terminal then,
apt-get install gnome-network-preferences, but that installed and worked a treat.
Thanks Kyle.
Dan
Re: Global Proxy In Xubuntu
Posted: Wed Dec 16, 2009 7:37 am
by John_M
I know this is a bit late, but perhaps it will help someone with Xubuntu's proxy settings. I'm using 9.10 now.
In order to set a global proxy, you need to edit the following files:
I use mc (Midnight Commander) to do this.
Install mc by using:
Then, sudo mc, to browse to and edit the files.
The first file to edit is:
/etc/apt/apt.conf
You should add a line similar to this one. It depends on your proxy server address.
Acquire::http::Proxy "
http://192.168.0.1:3128/";
This will allow synaptic to work properly.
In order for wget to work, you need to edit:
/etc/wgetrc
About 1/3 way down, remove the #s and change
the address to your proxy server address.
# You can set the default proxies for Wget to use for http and ftp.
# They will override the value in the environment.
http_proxy =
http://192.168.0.1:3128/
ftp_proxy =
http://192.168.0.1:3128/
# If you do not want to use proxy at all, set this to off.
use_proxy = on
I hope this helps!!!
John