Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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
add comment

2 Answers

up vote 3 down vote accepted

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

google-chrome-stable --proxy-server="http://example.com:8080"

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
add comment

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
add comment

Your Answer

 
discard

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.