(02-15-2021, 07:48 AM)Amila perera link Wrote: 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.
(02-15-2021, 07:48 AM)Amila perera link Wrote: 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.