This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# gsettings list-recursively org.gnome.system.proxy | |
# Change de ip address and port number accordingly. | |
function myProxyOn() { | |
gsettings set org.gnome.system.proxy mode 'manual' # ' manual / nome / automatic ' | |
gsettings set org.gnome.system.proxy.http host '10.0.0.1' | |
gsettings set org.gnome.system.proxy.http port 8080 | |
gsettings set org.gnome.system.proxy.https host '10.0.0.1' |