Another way to shade windows is by double clicking in the window title bar but for this to work we must first enable it in kwin by editing the file: ~/.kde/share/config/kwinrc. Inside this file after the section [Windows] simply add the following line:
TitlebarDoubleClickCommand=Shade
Now after you have restarted you KDE session you will be able to shade windows by double clicking their title bars.
This works if using kwin window manager, but not if using compiz (compiz stops kwin when it starts). So it is quite useless changing kwin configuration when running compiz.
ReplyDeleteBy the way, you can configure KDE's kwin in a simpler way: run "kcontrol" > Desktop > Window Behaviour > Titlebar actions > set "Titlebar double-click" to "Shade". Again, this will work if kwin is running, but NOT with compiz.