Hi, I am trying to develop a small piece of code (a plugin for PyMol) that needs access to the Internet to send and receive data, (this plug-in should work on Linux, Windows and Mac OsX). I use a python library (mechanize) to handle the Internet data exchange. I would like to (at least) try to auto-detect proxy settings to avoid asking the user for those setting. The mechanize library auto-detects the proxy settings on Windows and Mac OsX (it reads the windows registry and some registry on Mac), On Linux this library check the existence of the http_proxy and https_proxy environment variables. At least on gnome this can be a problem because using the "network proxy" (a graphical interface) the proxy setting are stored inside gconf and not in those variables (i.e. in gnome there are at least two "places" to store proxy setting and hence two places I need to check for the proxy setting). Something similar happens with KDE? googling and asking in forums I found out that KDE stores its proxy settings in a file called kioslaverc. If the settings are stored in kioslaverc file they are also stored in the http_proxy and https_proxy environment variables.
thanks.
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
