Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED]set proxy for chrome in MATE Desktop
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
kenmux
n00b
n00b


Joined: 13 Apr 2014
Posts: 59

PostPosted: Wed Apr 16, 2014 10:26 am    Post subject: [SOLVED]set proxy for chrome in MATE Desktop Reply with quote

Hi guys,

i'm using chrome in MATE desktop behind proxy server.
so the first problem is how to set proxy for chrome.

first, to set global proxy, i wrote the proxy setting to file /etc/env.d/99local,
and i'm sure it works for the emerge & links running well, but,
chrome cannot get the proxy setting, just cannot connect to internet.

then i tried to set proxy using the settings of chrome itself, but it just complained:
Code:
When running Google Chrome under a supported desktop environment, the system proxy settings will be used. However, either your system is not supported or there was a problem launching your system configuration.

But you can still configure via the command line. Please see man google-chrome-stable for more information on flags and environment variables.


then i tried to set proxy using MATE preferences: Main Menu > System > Preferences > Network Proxy,
it did not work also!

i saw someone suggest to use gconf-editor, then i emrege it,
and run it in terminal, it just complained:
Code:
** (gconf-editor:11754): WARNING **: Can't load fallback CSS resource: Failed to import: The resource at '/org/gnome/adwaita/gtk-fallback.css' does not exist

** (gconf-editor:11754): WARNING **: Can't load fallback CSS resource: Failed to import: The resource at '/org/gnome/adwaita/gtk-fallback.css' does not exist

and, i cannot do any config with it!

so, the problem is, how to set proxy for chrome, under MATE desktop?
could any one please give me a hand? thanks!


Last edited by kenmux on Wed Apr 16, 2014 12:57 pm; edited 3 times in total
Back to top
View user's profile Send private message
TomWij
Retired Dev
Retired Dev


Joined: 04 Jul 2012
Posts: 1553

PostPosted: Wed Apr 16, 2014 10:31 am    Post subject: Reply with quote

See `man google-chrome` for information on setting the Proxy server that Google Chrome uses.
Back to top
View user's profile Send private message
kenmux
n00b
n00b


Joined: 13 Apr 2014
Posts: 59

PostPosted: Wed Apr 16, 2014 10:49 am    Post subject: Reply with quote

TomWij wrote:
See `man google-chrome` for information on setting the Proxy server that Google Chrome uses.


Hmm... how to say? i know in terminal, just run google-chrome-stable --proxy-server="host:port" then chrome works well,
but it's unintuitive (i mean, invisible) and troublesome. is there a elegant solution (i mean, visible and easy)?
maybe, just create a shortcut in desktop, and set command: /usr/bin/google-chrome-stable %U --proxy-server="host:port"???
if chrome can pick global proxy settings, or the settings made by MATE desktop, then all is fine...
Back to top
View user's profile Send private message
TomWij
Retired Dev
Retired Dev


Joined: 04 Jul 2012
Posts: 1553

PostPosted: Wed Apr 16, 2014 2:04 pm    Post subject: Reply with quote

Yes, setting it in a shortcut or desktop file will work; it can't pick up those from MATE, it's not written to behave that way. Because of that it has its own proxy parameters system.
Back to top
View user's profile Send private message
kenmux
n00b
n00b


Joined: 13 Apr 2014
Posts: 59

PostPosted: Wed Apr 16, 2014 2:14 pm    Post subject: Reply with quote

TomWij wrote:
Yes, setting it in a shortcut or desktop file will work; it can't pick up those from MATE, it's not written to behave that way. Because of that it has its own proxy parameters system.


thanks a lot! i get it!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum