You are Here:
Linux Lite 6.6 FINAL Released - Support for 22 Languages Added - See Release Announcement Section



Proxy settings

Author (Read 5225 times)

0 Members and 1 Guest are viewing this topic.

Re: Proxy settings
« Reply #2 on: June 02, 2021, 08:33:00 AM »
 

WytWun

  • PayPal Supporter
  • Occasional Poster
  • *****
  • 99
    Posts
  • Reputation: 14
  • Linux Lite Member
    • View Profile

  • CPU: Atom z8300

  • MEMORY: 2Gb

  • VIDEO CARD: Intel integrated

  • Kernel: 5.x
How do i manually configure proxy settings here.

You have to set environment variables to the appropriate values to get this to work, and add appropriate references to some other config files because there is no completely standard way to deal with this properly in Linux (or any other Unix like OS for that matter :().

Where you set these variables will affect their coverage:
- if you set them in your shell .rc file that will cover your login but not others
- if you set them in /etc/environment, that will cover all GUI logins but not ssh sessions...
etc.  Pick your poison :(, though the latter is what I use.

The variables to set include http_proxy, https_proxy and ftp_proxy (e.g. if you ever use FTP sites via a browser) and also the upper case versions for good measure.  Some code expects on a specific case variation  ::).

If apt doesn't work with the environment variables you've set (and it doesn't usually for me  ::)) you'll need to add or modify /etc/apt/apt.conf - you'll need to read some apt documentation to get the correct incantation.

Similarly I've had to add specific support to my .gitrc to have git respect a proxy... (and also to alias git:// URLs to https:// or http:// URLs as well).  There may be other applications which can only be properly configured with their native configuration files too.

Ubuntu has a GUI for this task  and i don't know how to get this done in our xfce environment.can you guys help me?
I doubt any of the distros that claim to be able to support proxies globally work for everything other than the standard browsers - there's just too little standardisation in too much code about interpreting those environment variables in my experience.  It also won't support the automatic configuration protocols that exist that can specially treat a variety of URLs with multiple proxies (e.g. this).

The user experience is usually much more consistent on Windows/MacOS, but it's not perfect there either.
 

Proxy settings
« Reply #1 on: February 15, 2021, 02:48:35 AM »
 

Amila perera

  • New to Forums
  • *
  • 2
    Posts
  • Reputation: 0
  • Linux Lite Member
    • View Profile
How do i manually configure proxy settings here. I'm using pdanet to share my mobile unlimited internet connection.for now i'm using this net connection only in Firefox by changing its proxy settings.but it would be really helpful if i could use this network connection in the entire os. Ubuntu has a GUI for this task  and i don't know how to get this done in our xfce environment.can you guys help me?
« Last Edit: February 15, 2021, 02:51:11 AM by Amila perera »
 

 

-->
X Close Ad

Linux Lite 6.6 FINAL Released - Support for 22 Languages Added - See Release Announcement Section