desktop-packages team mailing list archive
-
desktop-packages team
-
Mailing list archive
-
Message #40692
[Bug 880081] [NEW] gnome-terminal ignores /system/http_proxy/host gsetings key
Public bug reported:
When I set manual proxy configuration, and run gnome-terminal, after running "env | grep proxy" i get no "http_proxy" environment variable set:
----8<----
michal@michal-c1:~$ env | grep proxy
ftp_proxy=http://myproxyhost.com:8000/
FTP_PROXY=http://myproxyhost.com:8000/
ALL_PROXY=socks://myproxyhost.com:8000/
all_proxy=socks://myproxyhost.com:8000/
https_proxy=http://pl.proxy.lucent.com:8000/
HTTPS_PROXY=http://myproxyhost.com:8000/
no_proxy=localhost,127.0.0.0/8
----8<----
After some investigation, I found, that when setting proxy in manual mode, the host and port configuration for protocols https, ftp and socks is stored in the "/system/proxy/" gsettings path, while http protocol, the host and port is stored in the "/system/http_proxy/".
Looking at the gnome-terminal code, the CONF_HTTP_PROXY_PREFIX is not used in the code at all, only declared in:
src/terminal-util.h:#define CONF_HTTP_PROXY_PREFIX "/system/http_proxy"
ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: gnome-terminal 3.0.1-0ubuntu3
ProcVersionSignature: Ubuntu 3.0.0-12.20-generic 3.0.4
Uname: Linux 3.0.0-12-generic i686
ApportVersion: 1.23-0ubuntu3
Architecture: i386
Date: Sat Oct 22 22:18:39 2011
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release i386 (20110427.1)
ProcEnviron:
PATH=(custom, no user)
LANG=pl_PL.UTF-8
SHELL=/bin/bash
SourcePackage: gnome-terminal
UpgradeStatus: Upgraded to oneiric on 2011-10-14 (8 days ago)
** Affects: gnome-terminal (Ubuntu)
Importance: Undecided
Status: New
** Tags: apport-bug i386 oneiric running-unity
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gnome-terminal in Ubuntu.
https://bugs.launchpad.net/bugs/880081
Title:
gnome-terminal ignores /system/http_proxy/host gsetings key
Status in “gnome-terminal” package in Ubuntu:
New
Bug description:
When I set manual proxy configuration, and run gnome-terminal, after running "env | grep proxy" i get no "http_proxy" environment variable set:
----8<----
michal@michal-c1:~$ env | grep proxy
ftp_proxy=http://myproxyhost.com:8000/
FTP_PROXY=http://myproxyhost.com:8000/
ALL_PROXY=socks://myproxyhost.com:8000/
all_proxy=socks://myproxyhost.com:8000/
https_proxy=http://pl.proxy.lucent.com:8000/
HTTPS_PROXY=http://myproxyhost.com:8000/
no_proxy=localhost,127.0.0.0/8
----8<----
After some investigation, I found, that when setting proxy in manual mode, the host and port configuration for protocols https, ftp and socks is stored in the "/system/proxy/" gsettings path, while http protocol, the host and port is stored in the "/system/http_proxy/".
Looking at the gnome-terminal code, the CONF_HTTP_PROXY_PREFIX is not used in the code at all, only declared in:
src/terminal-util.h:#define CONF_HTTP_PROXY_PREFIX "/system/http_proxy"
ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: gnome-terminal 3.0.1-0ubuntu3
ProcVersionSignature: Ubuntu 3.0.0-12.20-generic 3.0.4
Uname: Linux 3.0.0-12-generic i686
ApportVersion: 1.23-0ubuntu3
Architecture: i386
Date: Sat Oct 22 22:18:39 2011
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release i386 (20110427.1)
ProcEnviron:
PATH=(custom, no user)
LANG=pl_PL.UTF-8
SHELL=/bin/bash
SourcePackage: gnome-terminal
UpgradeStatus: Upgraded to oneiric on 2011-10-14 (8 days ago)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-terminal/+bug/880081/+subscriptions
Follow ups
References