HowTo Install Compiz Fusion on Debian (Etch, Lenny, Sid) by Sonique

Tutorial writted by Sonique - Cedric Ferry
inspirate by Shame (blog)
WARNING : This software and documentation are ABSOLUTELY NO WARRANTY,
Author of this docucumentation can't be in charge of any bug, crash, errors...
Release v2.1 - March, 19 2009
Update repositores paths

Hi !
I come back here to update my tutorial, and show you a new simple method to install Compiz Fusion on your favorite Distro Debian !


Send Your ScreenShots !

Follow this
link and send your screenshots in the gallery !

Install Driver (ATI or Nvidia)

NVIDIA Drivers


Etch : (from Nvidia)
Lenny/Sid : (from Nvidia)
Lenny/Sid (64-bits): (from Nvidia)

Install linux-headers for you Kernel

uname -a example of return : Linux Mebitanz 2.6.22-2-k7 #1 SMP Fri Aug 31 01:02:37 UTC 2007 i686 GNU/Linux
apt-get install linux-headers-2.6.22-2-k7
cd /usr/src/
ln -s linux-headers-2.6.22-2-k7 linux
(replace bold by your kernel version)

Stopping Xorg (gdm)

/etc/init.d/gdm stop

Install Nvidia

Follow instruction on screen
Etch :
You can add -s at end of line for no questions.

Lenny and Sid :
You may see the message during NVIDIA compilation :
The CC version check failed:

The compiler used to compile the kernel (gcc 4.1) does not exactly match the
current compiler (gcc 4.2)
. The Linux 2.6 kernel module loader rejects
kernel modules built with a version of gcc that does not exactly match that
of the compiler used to build the running kernel.

If you know what you are doing and want to ignore the gcc version check,
select "No" to continue installation. Otherwise, select "Yes" to abort
installation, set the CC environment variable to the name of the compiler
used to compile your kernel, and restart installation. Abort now?

Say "No"

Edit your /etc/X11/xorg.conf

In Module Section Add :
Load "glx"

In Driver Section Add :
Driver "nvidia"
Option "AddARGBGLXVisuals" "True"
Option "AllowGLXWithComposite" "True"

In screen Section make sure you DefaultDepth is set to 24
DefaultDepth 24

Add this section :
Section "Extensions"
    Option "Composite" "Enable"

Launch GDM

/etc/init.d/gdm start

ATI Drivers

sorry i have no tuto for install it

Add new repository for Compiz Fusion

Edit your sources.list

vi /etc/apt/sources.list
add this following line :
deb ./

deb ./

deb ./

Add certificat to prevent apt-get warning :
wget -O- | apt-key add -

Update packages list

apt-get update

Install Compiz Fusion

Compiz Fusion for Gnome

apt-get install compiz-fusion-gnome
Go to gnome :
Select System > Preferences > Sessions
In first Tab choose Add :
Etch : compiz --replace Lenny/Sid : fusion-icon If you want see now compiz type compiz --replace(Etch) or fusion-icon(Lenny/Sid) in a terminal
Else quit gnome (System > Close Session)
And relog you

Compiz Fusion for KDE

apt-get install compiz-fusion-kde

Avant Window Navigator (Dock Like Mac OS X)

Edit your sources.list

vi /etc/apt/sources.list
add this following line :
Only for Lenny and Sid (not tested on Etch,
feedback welcome)
deb unstable main
Save sources.list
Update your packages list
apt-get update

Install Awn

apt-get install avant-window-navigator

Launch Awn


Screenlets [deprecated]


get Screenlets from (direct)
I've found some bug in "official package", and I correct them in this package.
differences : (diff -c -r original modified)
diff -c -r screenlets-0.0.10/src/share/screenlets/CopyStack/ screenlets-0.0.10_sonique/src/share/screenlets/CopyStack/
*** screenlets-0.0.10/src/share/screenlets/CopyStack/ 2007-08-07 01:09:29.000000000 +0200
--- screenlets-0.0.10_sonique/src/share/screenlets/CopyStack/ 2007-09-18 19:25:09.000000000 +0200
*** 362,368 ****

# TODO: put in screenlets.ui
! class Tooltip ():
"""A window that displays a text and serves as Tooltip (very basic yet)."""

# internals
--- 362,368 ----

# TODO: put in screenlets.ui
! class Tooltip :
"""A window that displays a text and serves as Tooltip (very basic yet)."""

# internals

diff -c -r screenlets-0.0.10/src/share/screenlets-manager/ screenlets-0.0.10_sonique/src/share/screenlets-manager/
*** screenlets-0.0.10/src/share/screenlets-manager/ 2007-08-19 23:14:14.000000000 +0200
--- screenlets-0.0.10_sonique/src/share/screenlets-manager/ 2007-09-18 19:22:52.000000000 +0200
*** 19,24 ****
--- 19,26 ----

import os
+ import pygtk
+ pygtk.require("2.0")
import gtk, gobject
import screenlets
from screenlets import utils


tar xjf screenlets-0.0.10.tar.bz2


move to screenlets-0.0.10
cd screenlets-0.0.10
has root
make install

Make screenlets widget directory

Log you with your user account
It's directory where you can add your own screenlets or third-party screenlets
mkdir ~/.screenlets/

Make screenlets config directory

mkdir ~/.config/Screenlets/

Configure Widgets to show them when F9 is hit

Comming Soon

Screenlets (Like Apple DashBoard)

Avant Window Navigator (Dock Like Mac OS X)

Screenshot of Compiz-Fusion

KDE installation

CCSM (Compiz Config Setting Manager)

contact : sonique_irc (at) yahoo (dot) fr
leave comment here :
sonique's blog no registration need
sonique's website

visitor since 4 april 2006 :