How do I set systemwide proxy servers in Xubuntu, Lubuntu or Ubuntu Studio?

1

I cannot find the settings anywhere do I have to set it through terminal through gconftools or is there some GUI present for it?

Go to Dash Home type System Settings, click system settings then network.Proxy settings will be visible to you. Click system wide. It may work as in system proxy settings.

Anish Lodhi
June 13, 2012 12:39 PM

System-wide proxies in Ubuntu Studio, Xubuntu and XFCE must be set via environment variables

Ubuntu Studio, like Xubuntu, uses the XFCE desktop environment which does not contain a graphical settings tool to set systemwide proxies (unlike the default Ubuntu desktop environment, Unity).

1. Set up the proxy/proxies for most programs

Open the /etc/environment file with gksudo leafpad (or your favorite editor). This file stores the system-wide variables initialized upon boot.

Add the following lines, modifying appropriately. You must duplicate in both upper-case and lower-case because (unfortunately) some...

0 0
2

System-wide proxies in Ubuntu Studio, Xubuntu and XFCE must be set via environment variables

Ubuntu Studio, like Xubuntu, uses the XFCE desktop environment which does not contain a graphical settings tool to set systemwide proxies (unlike the default Ubuntu desktop environment, Unity).

1. Set up the proxy/proxies for most programs

Open the /etc/environment file with gksudo leafpad (or your favorite editor). This file stores the system-wide variables initialized upon boot.

Add the following lines, modifying appropriately. You must duplicate in both upper-case and lower-case because (unfortunately) some programs only look for one or the other:

http_proxy=http://myproxy.server.com:8080/ https_proxy=http://myproxy.server.com:8080/ ftp_proxy=http://myproxy.server.com:8080/ no_proxy="localhost,127.0.0.1,localaddress,.localdomain.com" HTTP_PROXY=http://myproxy.server.com:8080/ HTTPS_PROXY=http://myproxy.server.com:8080/ FTP_PROXY=http://myproxy.server.com:8080/...
0 0
3

I cannot find the settings anywhere do I have to set it through terminal through gconftools or is there some GUI present for it?

System-wide proxies in Ubuntu Studio, Xubuntu and XFCE must be set via environment variables

Ubuntu Studio, like Xubuntu, uses the XFCE desktop environment which does not contain a graphical settings tool to set systemwide proxies (unlike the default Ubuntu desktop environment, Unity).

1. Set up the proxy/proxies for most programs

Open the /etc/environment file with gksudo leafpad (or your favorite editor). This file stores the system-wide variables initialized upon boot.

Add the following lines, modifying appropriately. You must duplicate in both upper-case and lower-case because (unfortunately) some programs only look for one or the other:

http_proxy=http://myproxy.server.com:8080/ https_proxy=http://myproxy.server.com:8080/ ftp_proxy=http://myproxy.server.com:8080/...
0 0
4
...
0 0
5

Hi there.

This is my first post in Linux Mint forum, after about a year playing around with it, which is quite elucidative of the ease of use of this nice distribution.
Only recently I've ran against this particular issue that I am unable to solve.I did my previous research before posting but unfortunately I couldn't find an exact solution to my issue, sorry if I missed something. I'm not a complete novice in Debian-based distros but I do have a lack of knowledge with network configuration, regardless of the OS.

Recently I grabbed Linux Mint 14 XFCE, installed and configured it to my liking on my 2009 Toshiba Satellite Intel Pentium Dual Core T4300 laptop, runs like a charm.
I use it as main OS at home but whenever I need to carry the laptop to my university, I have to use Windows 7 because I can never configure the eduroam wireless network properly.

I've introduced all provided details of the wireless network, including the student username and...

0 0
6

I am desperately trying to set my proxy.pac file in dconf-editor. My autoconfig url is 'file:///home/me/.openvpn/proxy.pac'. Contents:

function FindProxyForURL(url, host)
{
if (isInNet(myIpAddress(), "192.168.16.172", "255.255.255.255")) {
if (isInNet(host, "192.168.0.0", "255.255.0.0"))
return "DIRECT";
if (shExpMatch(url, "http:*"))
return "PROXY 192.168.16.35:8080" ;
if (shExpMatch(url, "https:*"))
return "PROXY 192.168.16.35:8080" ;
if (shExpMatch(url, "ftp:*"))
return "PROXY 192.168.16.35:8080" ;
return "DIRECT";
} else {
return "DIRECT";
}
}

which makes me think that if 'hostname -i' returns that I am on a subnet where DHCP had given me the address 192.168.16.172 I WILL use 192.168.16.35:8080 as my proxy, otherwise, especially if I am on a subnet 192.168.0.* connection is DIRECT.

This pac file has been tested n my previous Linux Mint environment, so I am...

0 0
7

I wanted to use internet on my college proxy server which also requires authentication. I searched google for solutions and the best solution I found yet was this . I have modified the script in the accepted answer to include authentication. Here it goes:

if [ $(id -u) -ne 0 ]; then echo "This script must be run as root"; exit 1; fi if [ $# -eq 4 ] then gsettings set org.gnome.system.proxy mode 'manual' ; gsettings set org.gnome.system.proxy.http host '$1'; gsettings set org.gnome.system.proxy.http port $2; gsettings set org.gnome.system.proxy.http authentication-user '$3'; gsettings set org.gnome.system.proxy.http authentication-password '$4'; grep PATH /etc/environment > lol.t; printf "http_proxy=http://$3:$4@$1:$2/n https_proxy=http://$3:$4@$1:$2/n ftp_proxy=http://$3:$4@$1:$2/n no_proxy="localhost,127.0.0.1,localaddress,.localdomain.com"n HTTP_PROXY=http://$3:$4@$1:$2/n HTTPS_PROXY=http://$3:$4@$1:$2/n FTP_PROXY=http://$3:$4@$1:$2/n...
0 0
8
Mar 18, 2011

I have just installed LUbuntu on a machine, mostly to try it out. I have been trying to setup a global proxy, but there doesn't appear to be an option for that. I have changed the /etc/wgetrc file to enable the proxy & set the proxy in there, but this has not helped.



ADVERTISEMENT

Oct 11, 2010

Please, how do i set up the global proxy in Kubuntu 10.10

i need to use internet and install software packages. But when i run sudo apt-get update it can't connect

Jun 14, 2011

I think there is an application which lets you set the proxy settings for all applications. I remember seeing something like this in Gnome's network menu but now I'm using XFCE.

Feb 19, 2010

I have two major issues, and one minor one, after I started using Ubuntu, I tried searching the forum for them, but couldn't find anything relevant to my problems.First issue: Screenshots and the cursor.This is...

0 0
9

System-wide proxies in ChaletOS, Ubuntu Studio, Xubuntu and XFCE must be set via environment variables

Scripts for turning Proxy server on/off:

Disclaimer:: Before proceeding, note that I have tried this on Lubuntu 14.04 and it is IMPORTANT that before you run the mentioned scripts, the file /etc/environment should have only one line in it i.e. '$PATH...' and there should be nothing else in the file, else you might need to modify the script's code. These scripts set and unset the proxy as described above, but they rely upon file truncation and file appending to change /etc/environment and /etc/apt/apt.conf.d/95proxies files. So make sure that:

1) /etc/environment contains only one line i.e. '$PATH:...'. And nothing else.

2) The file /etc/apt/apt.conf.d/95proxies does not exist or does not have anything important in it.

So! If you want to automate the process of turning proxy on and off without having to type allot. you can make two executable...

0 0
10

The environment variables for controlling proxy behaviour are as follows: http_proxy, ftp_proxy, https_proxy, all_proxy and no_proxy. Unfortunately, some applications require these in upper case, other applications need these variables in lower case, that just the way it is.

The format for declaring a proxy exclusion list is simply a comma separated list, the declaration has some wildcard capabilities but not all applications respect these:

no_proxy=127.0.0.1,*.local.com

Your /etc/environment needs to have the following proxy configuration:

no_proxy=localhost,127.0.0.0/8,*.local NO_PROXY=localhost,127.0.0.0/8,*.local all_proxy=socks://proxy.example.com:8080/ ALL_PROXY=socks://proxy.example.com:8080/ http_proxy=http://proxy.example.com:8080 HTTP_PROXY=http://proxy.example.com:8080 ftp_proxy=http://proxy.example.com:8080 FTP_PROXY=http://proxy.example.com:8080 https_proxy=http://proxy.example.com:8080 HTTPS_PROXY=http://proxy.example.com:8080

You must log out...

0 0