On Fri, 10 Sep 2004 08:42:45 +1200, Dave O'Reilly <dave.oreilly@metservice.com> wrote:
Hi all, don't know if anyone will know this, but perhaps you can point me in the right direction. If I manually edit the $KDEHOME/share/config/kwinrc file to change some settings (in a script, for example), how can I get KDE to reread the config file?
In case you're wondering, what I'm doing is I have a load of automated tests to run but some of them pop up test windows which get in the way of my work. I want to set the focus stealing prevention policy to extreme while the tests are running and then set it back to normal again when I'm finished. Alternative suggestions for approaches to this problem would also be appreciated.
I have run into situations like this before. The easiest solution I have found is to launch a vncserver and run the tests in the vncviewer. If, for whatever reason, this is not acceptable and you are running KDE 3.3 - look into Kcontrol -> Desktop -> Window-Specific Settings. This module allows you to create application specific window settings (e.g. you can say that all firefox windows should always go on Desktop 2 and never steal focus). I have used it to place certain specific windows on specific desktop with certain geometries and it seems to work well. If you are not using KDE 3.3 - I think there might be similar window settings - but I don't know where in KDE Control Center. Osho