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

I use my laptop at school and at home. However, internet access to each requires different proxy settings. I searched for a way to do this, but I couldn't find a solution, short of manually setting it.

share|improve this question
What proxy settings exactly? APT proxy? Browser proxy? etc. And where do you set them? If there's a command-line way of setting it, this can be done using a Network Manager dispatcher script. (basically what the answer of jdthood comes down to) – gertvdijk Jan 16 '13 at 10:53
@gertvdijk The system-wide proxy set in Network Settings. I need it to be system-wide for all processes to access the Internet. – StAlRuth Jan 17 '13 at 3:42
You can't force all programs to use a proxy. They need to have the support for that and they listen to those settings completely voluntarily. Anyway, would these scripts help you in combination with a dispatcher script? – gertvdijk Jan 17 '13 at 8:59

The author of the program claims that proxydriver can do that for you.

share|improve this answer
Can you please elaborate it more? Perhaps with a short info about the usage of the software. – Anwar Shah Jan 16 '13 at 10:49
This works for me - install the script manually as per the instructions, connect to your network, edit the created config file and set Firefox to use the system proxy. – Mark Williams Mar 12 '13 at 15:09

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.