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...

anco...@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:

anco...@bitch:~$ kreadconfig --file kioslaverc --group Proxy\ Settings --key 
httpProxy
http://proxy.test.net:8080
anco...@bitch:~$ kreadconfig --file kioslaverc --group Proxy\ Settings --key 
ProxyType
1
anco...@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.

-- 
kubuntu-bugs mailing list
kubuntu-b...@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs

Reply via email to