4
rated 0 times
[
4]
[
0]
/ answers: 1 / hits: 7278
/ 2 Years ago, thu, february 17, 2022, 7:49:34
How do I switch between the proxy methods(none,manual,automatic) and apply it system wide from terminal?
More From » command-line
How do I switch between the proxy methods(none,manual,automatic) and apply it system wide from terminal?
Some examples, using gsettings
:
# setting a proxy manual
gsettings set org.gnome.system.proxy.socks host '192.168.10.100'
gsettings set org.gnome.system.proxy.socks port 8080
gsettings set org.gnome.system.proxy mode 'manual'
gsettings set org.gnome.system.proxy mode 'none' # this will disable proxy setting
gsettings set org.gnome.system.proxy mode 'auto' # this will set the proxy automatic