Thursday, December 27, 2007

Shade windows in KDE using double click in the title bar

In KDE using compiz-fusion to shade the current active window we need to press Ctrl+Alt+s that is not a very easy thing to do specially in small keyboards (i.e. laptops).

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.