You are not logged in.

Dear visitor, welcome to KDE-Forum.org. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

1

Tuesday, December 6th 2005, 9:29pm

Defining the proxy for Firefox, Gaim etc. from KDE's Control Center

Greetings

I use Fedora Core 4 + KDE 3.4.2 on a notebook, that I connect at different networks. In this connection I need to switch proxy. I have made a small bash-script that pings the proxy and exports it if needed, and KDE is setup to import this environment variable. But I can not make Firefox, Gaim or Thunderbird detect the proxy-setting from the control center. Does anyone know how to do this?

Thank you

Martin

canllaith

Beginner

Posts: 8

Location: New Zealand

Occupation: freelance writer

  • Send private message

2

Saturday, March 11th 2006, 9:54pm

RE: Defining the proxy for Firefox, Gaim etc. from KDE's Control Center

Unless you're willing to write something to parse the KControl rc file and then write the appropriate settings to the Firefox, Thunderbird and Gaim rc files no, as far as I'm aware it can't be done. They're completely seperate from KDE and don't pay any attention to any KControl settings.

What you can do is look into environment variables that they do obey, and look into adding those to your script. Gaim obeys http_proxy and http_proxy_port variables if they're set and I believe firefox and thunderbird should too.

Hope this helps!
panic("esp_handle: current_SC == penguin within interrupt!");

This post has been edited 1 times, last edit by "canllaith" (Mar 11th 2006, 9:54pm)