Super User is a question and answer site for computer enthusiasts and power users. 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

How do I configure proxy settings for chrome on linux? It doesn't have a configuration interface like in firefox. I'd like to configure it in a way that i dont have to type in the login and password everytime.

EDIT: I'm using Fluxbox as my window manager.

share|improve this question
up vote 4 down vote accepted

Try the --proxy-server command line option, and/or http_proxy environment variable.

google-chrome-stable --proxy-server=""

Also, Chrome/Chromium makes use of xdg scripts, so you can try configuring the proxy server in GNOME/KDE, and set up xdg scripts to use settings of the desktop environment. That is how I solved MIME-type file associations at least.

share|improve this answer
Calling the google chrome executable with the --proxy-server parameter worked fine, thanks. When browsing it pops up an authentication screen for every tab from the last session, is there a way to 'remember' the login and password, or make it authenticate automatically? using the --proxy-server parameter like --proxy-server="username:password@proxy-ip:port" didn't work. – David McDavidson Dec 14 '09 at 17:55
'google-chrome --proxy-pac-url=file:///...' works perfectly. There's no need to use http_proxy this no_proxy that. If you've got a pac file for use with firefox it'll work fine here. If you need help writing a .pac file google is your friend... But you can still configure via the command line. Please see man google-chrome for more information on flags and environment variables. – RckLN Aug 8 '13 at 18:28
Re the username and password auth in chrome using the --proxy-server parameter - this appears to be a bug in Chrome - please star the issue here: – hawkeye May 31 at 10:20
How does one enable and disable the proxy connection within a running chrome instance? – Fopedush Jun 7 at 16:33

Chrome uses the Proxy settings for your DE. If you use KDE it will use this. If you use Gnome it will use theirs. If you don't use either, I think it will try to use Gnome's, but not 100% sure.

If you go the the Wrench -> Under the Hood , you should have a button under Network labeled Change proxy settings. When I click this, in my case, it loads KDE Proxy settings.

If you don't use either KDE or Gnome, you could try browsing gconf , Chrome uses it to store it's settings.

share|improve this answer
How should I proceed under Fluxbox? Do I have to set the proxy for the whole system? – David McDavidson Dec 14 '09 at 17:56
Did going to the settings under the Wrench give you the option to Change Proxy Settings? – Ryan Gibbons Dec 14 '09 at 20:20
Nope, it shows a page giving explanations of possible ways to set up proxy configurations. Apparently i'd have to change the proxy settings on the OS itself, i'd like to set it only for chrome. – David McDavidson Dec 15 '09 at 0:34
Doing a bit more reading out of curiosity, chrome either uses the system proxy or through the command switch. But now way to remember the username / password – Ryan Gibbons Dec 15 '09 at 3:24

run this as root gedit /usr/share/applications/google-chrome.desktop then add your proxy settings as you would like ie --proxy-server="" then save and run chrome .

share|improve this answer
Can you explain how this works? – bwDraco Oct 2 '15 at 19:20
that's editing the chrome's app settings, so as to pick them during start. – Patrick Mutwiri Oct 3 '15 at 0:37

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .