GNOME Bugzilla – Bug 425430
gnome-network-preferences don't set $https_proxy,$ftp_proxy
Last modified: 2010-01-20 17:18:42 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 ..."
I don't think there's a way we can re-set the env vars in the running shell...
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
(note: I'm not sure if I can do this, but I think severity should be "minor")
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
This bug was fixed a while ago. *** This bug has been marked as a duplicate of bug 596688 ***
"a while" means 1 month ;) But you seem right, thanks.