[Bug 48682] Re: adept doesn't work behind a proxy server

Ancoron ancoron at chaoslayer.de
Mon Mar 23 19:26:26 UTC 2009


Hi Chucky,

that sounds somewhat like a wrapper around a wrapper in my ears.

Well I just fooled around a bit and found out, that the proxy settings
are stored in ~/.kde/share/config/kioslaverc...

ancoron at bitch:~$ cat .kde/share/config/kioslaverc
PersistentProxyConnection=false

[$Version]
update_info=kioslave.upd:kde2.2/r1,kioslave.upd:kde2.2/r2,kioslave.upd:kde2.2/r3

[Proxy Settings]
AuthMode=0
NoProxyFor=blizzard.com,deviantart.com
Proxy Config Script=http://proxy.test.net:8080/test.pac

# the following is the type of the configuration where
# 0 = direct connection (no proxy)
# 1 = manual configuration
# 2 = configuration script
# 3 = automatic proxy configuration
ProxyType=1

# the following is "true" if the proxy is only used for the sites in "NoProxyFor"
ReversedException=false

# the following variables store the proxy settings for manual configuration
ftpProxy=http://proxy.test.net:8080
httpProxy=http://proxy.test.net:8080
httpsProxy=http://proxy.test.net:8080


I then googled again and found out that there is a command line tool called "kreadconfig". So I tried:

ancoron at bitch:~$ kreadconfig --file kioslaverc --group Proxy\ Settings --key httpProxy
http://proxy.test.net:8080
ancoron at bitch:~$ kreadconfig --file kioslaverc --group Proxy\ Settings --key ProxyType
1
ancoron at bitch:~$ 

Well, that's all we need, don't we?

If that command gets used in the scripts that invoke apt and the like
the problem could be solved (at least I think that).


In addition there is the kioslave subsystem which should automatically apply the proxy settings. That would be another option for adept to use for access to the repos (but that would change implementation and not just configuration).

Ancoron

-- 
adept doesn't work behind a proxy server
https://bugs.launchpad.net/bugs/48682
You received this bug notification because you are a member of Kubuntu
Bugs, which is a direct subscriber.




More information about the kubuntu-bugs mailing list