Another way to do it is to use ksystraycmd which is included with your KDE. Some usage info is covered in my tutorial: http://xmelegance.org/customising-window-behaviour/html/customising-window-behaviour.html Rich.