Blurring my window decoration

As of today, I can finally use my favorite Emerald window decoration again (unblurred it looked really awful) so I guess now that I have my eyecandy working again, I have no excuse not to post anymore....

So without further ado, I present you my very first post, HowTo get compiz working with xorg and native nVidia drivers (and make sure your window decorations are blurred).

First of all, make sure you have the proprietary nVidia drivers installed - in openSUSE 10.3, this can easily be achieved via 1-click install.

Then, install the following packages:


Modify your xorg.conf:

Section "Module"

Make sure the following two lines are commented out if they exist:

# Load "dri"
# Load "GLcore"

Ad the following line:

Load "glx"

Section "Device"

Add the following lines below "Driver":

Option "RenderAccel" "true"
Option "AllowGLXWithComposite" "true"

Section "Screen"

Make sure "DefaultDepth" is set to 24, if it isn't already, then add the following lines below "EndSubSection" or above the first "SubSection":

Option "AddARGBGLXVisuals" "true"
Option "DisableGLXRootClipping" "true"

Restart your X server.

Open the Compiz Settings Manager (ccsm), go to the "Window Decoration" plugin and in "Command" enter the following:

"emerald --replace" if you want Emerald as your window decorator or

"kde-window-decorator --replace" if you want the classical KDE window decorator.

Use the following command to start compiz:

compiz --replace ccp &

If your window decorations are not blurred (which seems to be a problem with some nVidia cards), try the following:

Start the Emerald Theme Manager (emerald-theme-manager -i) and go to the "Emerald Settings" tab, and make sure "Compiz Decoration Blur Type" is set to "All decoration".

If your decorations still aren't blurred, start compiz with the following options:

compiz --replace --no-libgl-fallback ccp & .

To return to use the default KDE window manager, run: kwin --replace &

To make compiz automatically load upon login, create a file called compiz.sh in ~/.kde/Autostart, and into it paste the following:

::cut here::

sleep 12

compiz --replace --no-libgl-fallback ccp &

::cut here::

Make the file executable:

# chmod +x compiz.sh

No comments: