Having been using this script for about 4 days I can safely say it kinda works.
That is it's better now. But I still get some crashes. I think perhaps the mechanism (whatever that may be) for restarting KDE sessions takes some time to reset the desktop to its previous state. Sometimes, I suspect, Kontact hasn't started by hte time this script (in Autostart) runs, and sometime it has and kontact crashes through a kmail self-conflict.
So thanks. But it's still not completely fixed it.
I guess I could try adding some wait() in there?
Last edited by pbhj; 12-04-2006 at 03:43 PM.