You are Here:
Download Linux Lite 5.6 Final today - See Release Announcements

X Close Ad
X Close Ad
[ HELPFUL TIP ] Global proxy settings in Linux Lite 3.2

Author (Read 11910 times)

0 Members and 1 Guest are viewing this topic.

Global proxy settings in Linux Lite 3.2
« on: November 21, 2016, 02:03:26 AM »


  • PayPal Supporter
  • Gold Level Poster
  • *****
  • 741
  • Country: us
  • Reputation: 116
  • Linux Lite Developer

  • Linux Lite: 3.8 64bit
Web Proxy tip for Linux Lite 3.2

If you're looking for a way to configure web proxy settings system-wide in Linux Lite 3.2, this guide may help you accomplish just that. dconf-tools/dconf-editor do not seem to work (or at least it didn't work for me in Linux Lite 3.2) and that's why I'm writing this post; hopefully it will help others.

What works: Environment variables

You will define some environment variables such as:

... in /etc/environment

Note: Some applications require the above mentioned variables all in upper case while others in lower case. Therefore we will define each variable using all 'UPPER CASE' as well as 'lower case'.

Depending on your needs, you can define different variables to connect to the desired proxy such as:


You can set the http_proxy variable with the hostname or IP address of the proxy server as well as its connection port:

http_proxy=http://proxy.domain.tld     (assumes port 80 by default)
http_proxy=http://proxy.domain.tld:8080 (connects to proxy.domain.tld on port 8080)
http_proxy=   (connects to on port 8080)

If the proxy server you are connecting to requires a user name and password, include them as follow:

http_proxy=http://username:[email protected]
http_proxy=http://username:[email protected]:8080
http_proxy=http://username:[email protected]:8080

Similarly https_proxy is for https protocol.

Done with the basics, time to get it done :)  In this guide, we will be configuring some variables to connect to a http/https proxy without authentication. Use your favorite text editor to edit /etc/environment... vi, gedit, leafpad, you name it. Let's use leafpad in this guide for demonstrations purposes:

Code: [Select]
gksu leafpad /etc/environment

Let's add the variables needed to connect to a local ( web http/https proxy on port 3128 that does not require authentication:

You must logout or restart for your desktop environment to refresh it's environment variables. Since all desktop applications are started by the desktop environment, they subsequently inherit its environment settings.

By default, most web browsers use the system proxy settings but it is worth checking just to be sure. For example, in Firefox, check the network settings under Preferences => Advanced => Network => Settings... and make sure it is using the system proxy settings.

Have fun!

Sorry for seeming stupid and preferring Linux - I just don't know any better.



X Close Ad
X Close Ad

Download Linux Lite 5.6 Final today - See Release Announcements