Thursday, April 9, 2009

Install Compiz Fusion From Source Tarball - Part 2 (end)

In the previous article I have explained how to prepare your hardware before install Compiz Fusion. And in this article, I'll show you how to install Compiz Fusion from Source in Slackware Linux 12.1 although my compiz does not work because my hardware configuration is still not correct. I think it's better to share how to install from tarball first.

Suggested Installation Order for dependencies packet:
1. Intltool
2. Orbit-2
3. GConf-2

Suggested Installation order for compiz
1. compiz
2. compiz-bcop
3. licompizconfig
4. compizconfig-backend-kconfig (optional)
5. compizconfig-backend-gconf (optional)
6. compizconfig-python
7. ccsm
8. simple-ccsm (optional)
9. compiz-plugins-main
10. compiz-plugins-extra (optional)
11. compiz-plugins-main (unsupported)
12. emerald (optional)

Install Dependencies:
1. Login as Root

2. Install intltool:

tar xvjf intltool-0.40.6.tar.bz2
cd intltool-0.40.6
./configure
make
make install
make clean

3. Install ORbit-2.0:

tar xvjf ORBit2-2.14.17.tar.bz2
cd ORBit2-2.14.17
./configure
make
make install
make clean

Open /etc/ld.so.conf, add the following line to /etc/ld.so.conf:

/usr/local/lib
/usr/local/lib/orbit-2.0

Run the following command to update your library path:

ldconfig

4. Install GConf-2.0:

tar xvjf GConf-2.26.0.tar.bz2
cd GConf-2.26.0
./configure
make
make install
make clean

Open /etc/ld.so.conf, add the following line to /etc/ld.so.conf:

/usr/local/lib/GConf/2

Run the following command to update your library path:

ldconfig

Install Compiz:
1. Login as Root

2. Install core Compiz:

tar xvjf compiz-0.8.2.tar.bz2
cd compiz-0.8.2
./configure
make
make install
make clean

Open /etc/ld.so.conf, add the following line to /etc/ld.so.conf:

/usr/local/lib/compiz

Run the following command to update your library path:

ldconfig

3. Install Compiz-Bcop:

tar xvjf compiz-bcop-0.8.2.tar.bz2
cd compiz-bcop-0.8.2
./configure
make
make install
make clean

4. Install libcompizconfig:

tar xvjf libcompizconfig-0.8.2.tar.bz2
cd libcompizconfig-0.8.2
./configure
make
make install
make clean

Open /etc/ld.so.conf, add the following line to /etc/ld.so.conf:

/usr/local/lib/compizconfig/backends

Run the following command to update your library path:

ldconfig

5. Install compizconfig-backend-kconf:

tar xvjf compizconfig-backend-kconfig-0.8.2.tar.bz2
cd compizconfig-backend-kconfig-0.8.2
./configure
make
make install
make clean

6. Install compizconfig-backend-gconfig:

tar xvjf compizconfig-backend-gconf-0.8.2.tar.bz2
cd compizconfig-backend-gconf-0.8.2
./configure
make
make install
make clean

7. Install compizconfig-python:

tar xvjf compizconfig-python-0.8.2.tar.bz2
cd compizconfig-python-0.8.2
./configure
make
make install
make clean

Open /etc/ld.so.conf, add the following line to /etc/ld.so.conf:

/usr/local/lib/python2.5/site-packages

Run the following command to update your library path:

ldconfig

8. Install ccsm:

tar xvjf ccsm-0.8.2.tar.bz2
cd ccsm-0.8.2
python setup.py install

9. Install simple-ccsm:

tar xvjf simple-ccsm-0.8.2.tar.bz2
cd simple-ccsm-0.8.2
python setup.py install

10. Install compiz-plugins-main:

tar xvjf compiz-plugins-main-0.8.2.tar.bz2
cd compiz-plugins-main-0.8.2
./configure
make
make install
make clean

If you get the following error when install compiz-plugins-main:

Traceback (most recent call last):
File "/usr/local/bin/ccsm", line 99, in
import compizconfig
ImportError: No module named compizconfig

Run this command:

export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/usr/local/share/pkgconfig/

11. Install compiz-plugins-extra:

tar xvjf compiz-plugins-extra-0.8.2.tar.bz2
cd compiz-plugins-extra-0.8.2
./configure
make
make install
make clean

12. Install compiz-plugins-unsupported:

tar xvjf compiz-plugins-unsupported-0.8.2.tar.bz2
cd compiz-plugins-unsupported-0.8.2
./configure
make
make install
make clean

13. Install emerald:

tar xvjf emerald-0.8.2.tar.bz2
cd emerald-0.8.2
./configure
make
make install
make clean

Open /etc/ld.so.conf, add the following line to /etc/ld.so.conf:

/usr/local/lib/emerald/engines

Run the following command to update your library path:

ldconfig


After your installation complete, reboot your computer. After reboot, try to run ccsm:

ccsm

if you get the following when running ccsm error:

Traceback (most recent call last):
File "/usr/local/bin/ccsm", line 99, in
import compizconfig
ImportError: No module named compizconfig

Run this command:

export PYTHONPATH=/usr/local/lib/python2.5/site-packages/


COMPIZ SHORTCUTS (thx to ubuntunerd)

ALT+SCROLL WHEEL ON THE MOUSE= transparent screen
CTRL+ALT+DRAG LEFT MOUSE = rotate cube
CTRL+ALT+LEFT ARROW = rotate cube
CTRL+ALT+DOWN ARROW = flat desktop
SUPER+SHIFT+DRAG LEFT MOUSE = draw fire
SUPER+SHIFT+C = clear fire
CTRL+ALT+DOWN = unfold cube
ALT+TAB = window switch
SUPER+TAB = flip switcher or ring switcher
SHIFT+F9 = water effect
ALT+F7 = initiate move windows
SHIFT+F10 = slow animations

CTRL+ALT+D = show desktop
SUPER+S = select single window
SUPER+T = tab group
SUPER+Left = change left tab
SUPER+Right = change right tab
SUPER+G = group windows
SUPER+R = remove group window
SUPER+C = close group
SUPER+X = ignore group
SUPER button (Windows key)

note: Please correct me if I'm wrong. And sorry for my english, it's not my native language.

2 comments:

  1. >> After your installation complete, reboot your computer.

    On Debian just restart your X, it will be enough to run compiz.

    ReplyDelete
  2. @suppler:
    not only Debian, but also Slackware. it can be done with restarting X.

    ReplyDelete

Related Posts Plugin for WordPress, Blogger...