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.

1 comment:

  1. Anonymous11:35 PM

    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.

    By 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.

    ReplyDelete