Periodically my windows would loose their borders, and much of their functionality, when under compiz-fusion the kde window decorator kept crashing. One quick solution was to run as root
CODE
# kde-window-decorator --restore
Obviously this got old pretty quickly, particularly when after installing wbar (simple dockbar, great project) from source this would happen every session... So since then I've switched to using the gtk window decorator instead. There aren't as many feautres, it's not supported from the kde control centre, but it works solidly, and I've had no more crashes. Make sure it's installed in the MCC, then in konsole type:
CODE
# gtk-window-decorator --replace
After that, open the compiz config settings manager (should be under 'tools' in the menu bar), go to 'window decoration', and in the 'Command' box type "gtk-window-decorator --replace" without the parenthesis, of course. This will make sure the gtk window decorator starts in place of the kde one on login. If you decide to go back to the kde window decorator, and it's various problems, then in Konsole you can type:
CODE
# kde-window-decorator --replace
Then go into the compiz config settings manager again, and hit the little paintbrush next to the 'Command' option. This will return it to default. I've heard you can also use the emerald windows decorator, though I haven't tried it. In any event, I'm using a backported version of Compiz-Fusion, and this later release doesn't support Emerald yet. Good luck!
[moved from Software by spinynorman]
