Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

In my university Campus I need to connect to Internet through a proxy. As I am using a notebook, in Ubuntu 11.04 I set a shortcut in the Launcher to the proxy settings in order to "easily" change the proxy every time I go to the Campus. However, I can't figure out how to do this under Ubuntu 11.10.

Is there a way to create a shortcut pointing directly to proxy settings?

Even better, but less likely, is there a way to set the network settings so it changes the proxy every time I connect to my Campus WiFi?

Thanks you.

share|improve this question
up vote 4 down vote accepted

Well, it doesn't automatically go to the tab for proxy settings, but it does bring you straight to the network settings: gnome-control-center network.

To create a launcher for it paste this into gedit:

[Desktop Entry]
Name=Network Settings
Exec=gnome-control-center network

Save it somewhere as network-settings.desktop, and drag the file onto the Unity Launcher. Be sure to save the network-settings.desktop file somewhere it doesn't annoy you, because when you remove it it will disappear from the Unity Launcher as well.

share|improve this answer

You can setup your gnome proxy configuration with the command line program gssettings

So you can create some bash scripts that will setup your proxy settings as needed

Use gsettings to see your gnome proxy configuration :

gsettings list-recursively org.gnome.system.proxy

Example of setup script

gsettings set org.gnome.system.proxy mode 'manual'
gsettings set org.gnome.system.proxy.http port 8080
gsettings set org.gnome.system.proxy.http host 'myproxy.domain.lan'

A second script that will disable the proxy

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

See all available configurations keys there :
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.