[Sugar-devel] [PATCH sugar] sugar-session: export manual Gnome proxy settings as $http_proxy

Sascha Silbe silbe at activitycentral.com
Mon Jan 30 07:44:29 EST 2012


Excerpts from Simon Schampijer's message of 2012-01-26 19:01:37 +0100:

[http_proxy env var vs. Gnome gconf proxy settings]
> can you give a few examples which ones are using which method? My fist 
> hit was wget using the env variable [1]. More light on that welcome.

The <protocol>_proxy environment variables are the traditional way to
configure a proxy on unices. Most non-GUI programs that can use a proxy
and don't require custom configuration will honour it.

The Gnome gconf settings are a Gnome invention, but also used by some
other GUI applications (e.g. Mozilla [2]).

AFAICT KDE and thus all applications based on KDE use yet another way of
configuring proxies. XFCE OTOH seems to use <procotol>_proxy.

> [1] http://www.gnu.org/software/wget/manual/html_node/Proxies.html


Some parts of Python (e.g. urllib.urlopen [3]) honour http_proxy. gio,
which is used by the (a.sl.o format) Software Updater shipped in sugar,
does not use any proxy by default and I couldn't figure out how to make
it use a proxy.

Sascha

[2] message-id:1295519458-sup-8589 at twin.sascha.silbe.org
    https://lists.sugarlabs.org/archive/sugar-devel/2011-January/029624.html
[3] http://docs.python.org/library/urllib.html
-- 
http://sascha.silbe.org/
http://www.infra-silbe.de/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: not available
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20120130/57f98ada/attachment.pgp>


More information about the Sugar-devel mailing list