proxy settings

Osvaldo Martin aloctavodia at gmail.com
Fri Sep 9 16:49:55 BST 2011


Hi,

Googling kioslaverc I found that there is a command to read from that file,
in order to extract the http proxy settings I should use this command:

"kreadconfig --file kioslaverc --group Proxy\ Settings --key httpproxy"

this will return the http host and the port, If the user is ussing and
authentication proxy conecction it will give also the username and password?


It this command available by default or require the installation some extra
package?

thanks.

On Fri, Sep 9, 2011 at 4:46 AM, Osvaldo Martin <aloctavodia at gmail.com>wrote:

> Hi Kevin,
>
> Thanks for your answer
>
> Let me give you a little of background I am writing code in Python. The
> idea is to try to avoid asking the user to set the proxy, I already solve
> this for gnome (and may be for Windows and Mac Osx...) do you know how to
> get the proxy setting from this kioslaverc file? or may be could you send me
> an example of that file? (I am using gnome). Thanks.
>
> On Fri, Sep 9, 2011 at 4:26 AM, Kevin Krammer <kevin.krammer at gmx.at>wrote:
>
>> On Friday, 2011-09-09, Osvaldo Martin wrote:
>> > Hi,
>> >
>> > Proxy setting can be stored in the environment variable HHTP_PROXY (I
>> think
>> > this works in every Linux), but in GNOME the proxy setting co
>>
>

> uld be
>> > configured using "Network Proxy Preference" in that case proxy setting
>> are
>> > stored inside Gconf. KDE uses environment variable HHTP_PROXY and/or
>> other
>> > place to store proxy settings?
>>
>> KDE stores its proxy settings in a file called kioslaverc, usually located
>> in
>> $HOME/.kde/share/config or $HOME/.kde4/share/config
>>
>> Cheers,
>> Kevin
>> --
>> Kevin Krammer, KDE developer, xdg-utils developer
>> KDE user support, developer mentoring
>>
>> ___________________________________________________
>> This message is from the kde mailing list.
>> Account management:  https://mail.kde.org/mailman/listinfo/kde.
>> Archives: http://lists.kde.org/.
>> More info: http://www.kde.org/faq.html.
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde/attachments/20110909/94e88a6f/attachment.htm>
-------------- next part --------------
___________________________________________________
This message is from the kde mailing list.
Account management:  https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.


More information about the kde mailing list