[Bug 48682] Re: adept doesn't work behind a proxy server
ancoron at chaoslayer.de
Mon Mar 23 19:26:26 UTC 2009
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
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
# the following is "true" if the proxy is only used for the sites in "NoProxyFor"
# the following variables store the proxy settings for manual configuration
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
ancoron at bitch:~$ kreadconfig --file kioslaverc --group Proxy\ Settings --key ProxyType
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).
adept doesn't work behind a proxy server
You received this bug notification because you are a member of Kubuntu
Bugs, which is a direct subscriber.
More information about the kubuntu-bugs