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

Saturday, October 25th 2003, 3:25pm

KDE default settings

Hi to all,
I need to dynamically change some default settings for ALL the users defined in my system, but I don't know how to do it. I tried defining a new system tree and export-ing KDEDIRS envvar. I expected that existent users could change their defaults in such a way but it doesn't seem to work.
I have KDE 3.1.0 under Mandrake 9.1
Is there anyone that can help me?
Regards
Giampiero

2

Saturday, October 25th 2003, 4:20pm

You cannot change anything dynamically while KDE is running, especially not form environment variables. (KDE reads them and then keeps the result internaly.)

What are you trying to do? Perhaps there is a way after all?

Have a nice day!

3

Sunday, October 26th 2003, 12:19am

Quoted

Original von Nicolas Goutte

You cannot change anything dynamically while KDE is running, especially not form environment variables. (KDE reads them and then keeps the result internaly.)

What are you trying to do? Perhaps there is a way after all?

Have a nice day!


I have to attend 3 different work site, plus my home of course. Everyone with its own printer, dns search list,eventually proxies,samba shares and so on, just to tell some. So I decided to write a little program that can recognize the network to which I'm connected to, and provide automatical filesystem mounting, printer definition, dns search completition and so on. One of my aim is to define the proxy too, but I saw that the KDE proxy definition id done in the system tree definitions of kioslaverc. So I wish to change it while, through ifconfig-up scripts, I understand to which domain I'm connected to.
This is the reason why I tried a way for changing that !
Does it exist any kde API through which I can obtain this?

Regards
Giampiero

anda_skoa

Professional

Posts: 1,273

Location: Graz, Austria

Occupation: Software Developer

  • Send private message

4

Sunday, October 26th 2003, 11:48am

What about running a local proxy and changing its parent proxy setting?

This would be a central settings change then.

Cheers,
_
Qt/KDE Developer
Debian User

5

Sunday, October 26th 2003, 12:29pm

Quoted

Original von giampiero_gabbiani

Quoted

Original von Nicolas Goutte

You cannot change anything dynamically while KDE is running, especially not form environment variables. (KDE reads them and then keeps the result internaly.)

What are you trying to do? Perhaps there is a way after all?

Have a nice day!


I have to attend 3 different work site, plus my home of course. Everyone with its own printer, dns search list,eventually proxies,samba shares and so on, just to tell some. So I decided to write a little program that can recognize the network to which I'm connected to, and provide automatical filesystem mounting, printer definition, dns search completition and so on. One of my aim is to define the proxy too, but I saw that the KDE proxy definition id done in the system tree definitions of kioslaverc. So I wish to change it while, through ifconfig-up scripts, I understand to which domain I'm connected to.
This is the reason why I tried a way for changing that !
Does it exist any kde API through which I can obtain this?

Regards
Giampiero


If it would be possible, it would be by DCOP. A DCOP expert might perhaps tell you in seconds what to do, however I am not one of them. (And the program kdcop does not seem to show any useful interface for this case.)

So I would like to join the recommendation of the preview poster: see if you can do it localy outside KDE, so that KDE could use that local proxy/switch/whatever.

Have a nice day!