Quick Tips: Change System Proxy Settings via Command Line in Ubuntu Precise

If you are  using computer installed any ubuntu version in your office or at home and connected internet, but your ubuntu computer behind proxy server. well, I’ll provide tutorial about How to Change System Proxy Settings Ubuntu Computer to use proxy server via command line or terminal.

Enable proxy setting via Command line in Ubuntu 12.04

In this case,IP Address proxy server is and proxy server port number 3128. Now Open your terminal and run the following commands

gsettings set org.gnome.system.proxy.socks host ''
gsettings set org.gnome.system.proxy.socks port 3128
gsettings set org.gnome.system.proxy mode 'manual'

To remove/disable Proxy Setting via Command Line

If you wan to remove proxy setting via command line/Terminal you can use command below

gsettings set org.gnome.system.proxy mode 'none'

You may also like...

By continuing to use the site, you agree to the use of cookies. more information

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.