This is an old revision of the document!


hmm… I did came through a lot of tutorial / references on this. It took quite some time to actually made it to work. I actually did numerous trial and errors to finally did it.

My hardware / software specs

1) IBM Thinkpad R61i (Intel Centrino Core 2 Duo) 2)Intel 965 Chipset 3)Slackware 13.0 (Kernel 2.6.29.6) 4)GCC 4.3.3 and libs

Here is the task that I did to make it work. I'm using kde4, and i do not use the kde4 backend. Optionally you can download the kconfig4 / kconfig / gconf backend

Get and install the latest compiz releases from http://releases.compiz.org/0.8.2/ . I'm installing from the source and did not encounter any problems during this task. There might be some dependency issues here, depending or your system. Just take care of it and proceed the next step.

<span class="info">For all of the plugins <strong>main / extra / unsupported</strong>, i've specified <strong>--prefix </strong>to prevent bcop error.&nbsp;<strong> ./configure --prefix=/usr/local<br /> <br /> </strong>Alternately you can just make a symlink to bcop.pc<br /> <br /> <strong> ln -s /usr/local/share/pkgconfig/bcop.pc /usr/local/lib/pkgconfig/bcop.pc<br /> </strong></span> <p><span class="note">After installing the plugins, install libcompizconfig.<br /> I create symlinks to the libs.<strong><br /> <br /> ln -s /usr/local/lib/libcompizconfig.so.0.0.0 /usr/lib/libcompizconfig.so.0<br /> ln -s /usr/local/lib/libemeraldengine.so.0.0.0 /usr/lib/libemeraldengine.so.0<br /> ln -s /usr/local/lib/libdecoration.so.0.0.0 /usr/lib/libdecoration.so.0<br /> <br /> </strong>and created symlinks for the libcompizconfig-python<strong><br /> <br /> ln -s /usr/local/lib/python2.6/site-packages/compizconfig* /usr/lib/python2.6/site-packages/<br /> ln -s /usr/local/lib/python2.6/site-packages/ccm/ /usr/lib/python2.6/site-packages/<br /> <br /> </strong> and I also edited /etc/xorg.conf to use super key.<br /> <strong> Option &quot;XkbOptions&quot; &quot;altwin:super_win&quot;</strong></span><span class="down"><a href="http://releases.compiz.org/0.8.2/ccsm-0.8.2.tar.bz2">ccsm-0.8.2.tar.bz2</a><br /> <a href="http://releases.compiz.org/0.8.2/compiz-0.8.2.tar.bz2">compiz-0.8.2.tar.bz2</a><br /> <a href="http://releases.compiz.org/0.8.2/compiz-bcop-0.8.2.tar.bz2">compiz-bcop-0.8.2.tar.bz2</a><br /> <a href="http://releases.compiz.org/0.8.2/libcompizconfig-0.8.2.tar.bz2">libcompizconfig-0.8.2.tar.bz2</a><br /> <a href="http://releases.compiz.org/0.8.2/compiz-plugins-main-0.8.2.tar.bz2">compiz-plugins-main-0.8.2.tar.bz2</a><br /> <a href="http://releases.compiz.org/0.8.2/compiz-plugins-extra-0.8.2.tar.bz2">compiz-plugins-extra-0.8.2.tar.bz2</a><br /> <a href="http://releases.compiz.org/0.8.2/compiz-plugins-unsupported-0.8.2.tar.bz2">compiz-plugins-unsupported-0.8.2.tar.bz2</a><br /> <a href="http://releases.compiz.org/0.8.2/compizconfig-python-0.8.2.tar.bz2">compizconfig-python-0.8.2.tar.bz2</a><br /> <a href="http://releases.compiz.org/0.8.2/simple-ccsm-0.8.2.tar.bz2">simple-ccsm-0.8.2.tar.bz2</a><br /> <a href="http://releases.compiz.org/0.8.2/emerald-0.8.2.tar.bz2">emerald-0.8.2.tar.bz2</a></span></p>

Create a compiz launcher script (i created this in /usr/bin/kde4compiz and I'm using emerald for the windows decoration)

kde4compiz
#!/bin/bash
LIBGL_ALWAYS_INDIRECT=True 
compiz --replace --sm-disable --ignore-desktop-hints ccp --indirect-rendering
wait
sleep 1
emerald --replace &

Make it executable

chmod 644 /usr/bin/kde4compiz

Create a compiz-kde-launcher script ( just link it )

ln -s /usr/bin/kde4compiz /usr/local/bin/compiz-kde-launcher

<span class="idea">In KDE4, Go to <b>KMenu>System Settings>Default Applications>Window Manager</b> and select <b>"use a different window manager"</b> and choose <b>Compiz custom</b></span> At this point, you might not see any window decoration. To enable it, <span class="idea">Under <b>ccsm>Effects>Window Decoration>Command</b>, put <b>compiz-kde-launcher</b></span> Restart your KDE to test it out. <span class="help">If these fails, you can checkout these sites<br /> <a target="_blank" href="http://wiki.archlinux.org/index.php/Compiz">http://wiki.archlinux.org/index.php/Compiz</a><br /> <a target="_blank" href="http://www.linuxquestions.org/questions/slackware-14/down-and-dirty-compiz-howto.-600765/">http://www.linuxquestions.org/questions/slackware-14/down-and-dirty-compiz-howto.-600765/</a></span> Alternately you can use any of these methods to launch compiz from the console. Good luck compizing… hahaha