Please add a key-value pair in org.gnome.system.proxy.socks to specify the version of socks the proxy is using
When using
gsettings set org.gnome.system.proxy.socks host xxx.com
gsettings set org.gnome.system.proxy.socks port yyy
to set a system-wide proxy for a gnome system, the resulting environmental variables are set to
all_proxy=socks://xxx.com:yyy
ALL_PROXY=socks://xxx.com:yyy
Here, the version of socks is NOT specified and this will cause many apps unable to tell the version of socks (e.g., pip). I have to manually set
all_proxy=socks5://xxx.com:yyy
ALL_PROXY=socks5://xxx.com:yyy
in order to make these apps work properly. Can Gnome provide a new key-value pair, like 'socks-version' or whatsoever, to help users specify the version of socks they are using, like socks4 or socks5, to build a proper proxy environment in a system? So the commands to set socks5 proxy will be like:
gsettings set org.gnome.system.proxy.socks host xxx.com
gsettings set org.gnome.system.proxy.socks port yyy
gsettings set org.gnome.system.proxy.socks socks-version 5
It will be very helpful.
Besides, I also want to know, without an update from Gnome, what I can do to work around this situation? Because I can only proxychains
or export all_proxy=socks5://xxx.com:yyy
before every app I'm about to open. That's a tiresome.
My Linux distribution is Ubuntu 22.04 LTS, with gnome-flashback-metacity.