Is there any way of running a logout script in KDE? Currently I rely on .xsession to start up some processes and then run KDE, but when I logout some of those processes remain running, and need to be killed. John