Put Global Proxy in LMDE Xfce

Those of us who are users of Xfce we know this excellent and minimalist Desktop Environment he doesn't have the same option as his older brother Gnome, to put a Global Proxy in the system.

This results in that if we use Chromium (which uses the proxy of Gnome) We should declare manually what is the proxy to use in Xfce. Well, I have already found the solution for this and it is the following.

First we edit the file / etc / environment and we put this inside:

# Proxy Global
http_proxy="http://10.10.0.5:3128"
https_proxy="http://10.10.0.5:3128"
ftp_proxy="http://10.10.0.5:3128"
no_proxy="10.10.0.0/24"

Where 10.10.0.5 is the IP of the proxy server. We save and edit the file / Etc / profile and we put at the end:

# Proxy Global
export http_proxy="http://10.10.0.5:3128"
export https_proxy="http://10.10.0.5:3128"
export ftp_proxy="http://10.10.0.5:3128"
export no_proxy="10.10.0.0/24"

We restart the equipment and we can now navigate with Chromium (for example).


The content of the article adheres to our principles of editorial ethics. To report an error click here!.

9 comments, leave yours

Leave a Comment

Your email address will not be published. Required fields are marked with *

*

*

  1. Responsible for the data: Miguel Ángel Gatón
  2. Purpose of the data: Control SPAM, comment management.
  3. Legitimation: Your consent
  4. Communication of the data: The data will not be communicated to third parties except by legal obligation.
  5. Data storage: Database hosted by Occentus Networks (EU)
  6. Rights: At any time you can limit, recover and delete your information.

  1.   sangener said

    Elav and this also works for Gnome? I have wanted to learn how to use proxy, but I am a basic user

    1.    elav <° Linux said

      Although Gnome has its own Global Proxy manager, yes, it is evident that it has to work because the variables are declared in files that affect the entire system 😀

  2.   sangener said

    Thanks Elav I'll try

  3.   nelson said

    I have two doubts that perhaps I will clarify by checking the blog a little more, but I will leave them here anyway. My objective is:
    1-use Turpial behind a proxy, 2-but the proxy has authentication….

    Could it be something like this ?:

    http_proxy = »http: // user: password@10.10.0.5: 3128 ″

    ¿?

    1.    nelson said

      Ahhh, in Gnome

    2.    elav <° Linux said

      Exactly Nelson. In theory it should work that way.

  4.   doofycuba said

    A question, how can I add exceptions, an example I want to exclude a range of IP that is not mine, example 10.13.xx.xx I want to exclude those IPs, like a name * .company. * ………?

  5.   dasht0 said

    Excellent article (as we are used to from Linux)
    I think I will publish it in other spaces (of course, identifying the source)

  6.   Alfred said

    I work in a company where we have the output through a proxy and sometimes I need to set an "automatic" proxy and other times to go through a specific one. Would it be possible to change proxy without having to restart / log off the computer?