After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 425430 - gnome-network-preferences don't set $https_proxy,$ftp_proxy
gnome-network-preferences don't set $https_proxy,$ftp_proxy
Status: RESOLVED DUPLICATE of bug 596688
Product: gnome-terminal
Classification: Core
Component: general
2.18.x
Other Linux
: Normal enhancement
: ---
Assigned To: GNOME Terminal Maintainers
GNOME Terminal Maintainers
Depends on:
Blocks:
 
 
Reported: 2007-04-02 10:03 UTC by Sebastien Bacher
Modified: 2010-01-20 17:18 UTC
See Also:
GNOME target: ---
GNOME version: Unversioned Enhancement



Description Sebastien Bacher 2007-04-02 10:03:07 UTC
The bug has been opened on https://launchpad.net/bugs/95939

"Binary package hint: gnome-system-tools

Hi I'm running Edgy,
if i setup the proxy sever in gnome-network-preferences for http,https and ftp
only $http_proxy and $no_proxy are set.

thx Oliver
..."
Comment 1 Christian Persch 2008-05-29 20:52:24 UTC
I don't think there's a way we can re-set the env vars in the running shell...
Comment 2 felash 2010-01-20 09:35:01 UTC
We don't want to reset the env vars, but to actually set ftp_proxy and https_proxy environment variables.

I have :

$ printenv | grep proxy
http_proxy=http://myproxy:3128/
no_proxy=localhost,127.0.0.0/8,mydomain.fr

Because I set the informations for ftp proxy and https proxy, I should read :

$ printenv | grep proxy
ftp_proxy=http://myproxy:3128/
http_proxy=http://myproxy:3128/
https_proxy=http://myproxy:3128/
no_proxy=localhost,127.0.0.0/8,mydomain.fr

Thanks
Comment 3 felash 2010-01-20 09:36:35 UTC
(note: I'm not sure if I can do this, but I think severity should be "minor")
Comment 4 felash 2010-01-20 10:18:00 UTC
For any person interested, you can workaround the bug using this code in .bashrc :

if [ x"$DESKTOP_SESSION" = "xgnome" ] ; then
        ftp_host=`gconftool --get /system/proxy/ftp_host`
        ftp_port=`gconftool --get /system/proxy/ftp_port`
        https_host=`gconftool --get /system/proxy/secure_host`
        https_port=`gconftool --get /system/proxy/secure_port`

        if [ -z "$ftp_port" ] ; then ftp_port=8080 ; fi
        if [ -z "$https_port" ] ; then https_port=8080 ; fi
        if [ -n "$ftp_host" ] ; then export ftp_proxy="http://$ftp_host:$ftp_port" ; fi
        if [ -n "$https_host" ] ; then export https_proxy="http://$https_host:$https_port" ; fi
fi
Comment 5 Behdad Esfahbod 2010-01-20 16:03:26 UTC
This bug was fixed a while ago.

*** This bug has been marked as a duplicate of bug 596688 ***
Comment 6 felash 2010-01-20 17:18:42 UTC
"a while" means 1 month ;)

But you seem right, thanks.