Installing compiz on Ubuntu Edgy 6.10

Lately I’ve been busy playing around with my Ubuntu Edgy, yesterday i installed and configured compiz.
Anyway long story short, I didn’t find a tutorial that completely worked for me so what the heck I will write one here… maybe it will save you the time that I wasted :)

I use ubuntu Edgy 6.10 although it should work for Ubuntu Dapper 6.06 LTS or newer.

Here is a screenshot of what’s waiting for you

My Desktop

I will divide my work into 2 steps:
1- Enabling AIGLX:
2- Installing Compiz

Lets start :D

Step 1: Enabling AIGLX

In order to run Compiz, you need Xgl or AIGLX, both of them will enable X server capable of making 3D acceleration.
Ubuntu recomends using AIGLX so I will stick to it for the time being.

How to configure X server in order to enable AIGLX ?
Open terminal ( you should be root )

Edit /etc/X11/xorg.conf by typing

gksu gedit /etc/X11/xorg.conf

Under Section “Module”, make sure that the following lines are included:

Load "dri"
Load "dbe"
Load "glx"

Under Section “Device” for your graphics card, add:

Option  "XAANoOffscreenPixmaps" "true"

Check if the following code is existing anywhere else add it at the end of the file:

Section "DRI"
        Mode 0666
EndSection
 
Section "Extensions"
        Option "Composite" "Enable"
EndSection
 
Section "ServerLayout"
        Identifier     "Default Layout" #otherwise will give an error and fail to load GDM
        Option         "AIGLX" "true"
EndSection

NVidia users only add the following under Section “Screen”:

Option       "AddARGBGLXVisuals" "True"

Restart your PC before continuing to the next step.

Step 2: Installing compiz

Important:Bare in mind that i am installing compiz by using ubuntu official packages. If you want to use a third party click here

.Enable ubuntubackports (more info here)
edit /etc/apt/sources.list by typing:

gedit /etc/apt/sources.list

Then add:
For ubuntu 6.10:
deb http://archive.ubuntu.com/ubuntu edgy-backports main universe multiverse restricted

For ubuntu 6.06:
deb http://archive.ubuntu.com/ubuntu dapper-backports main universe multiverse restricted

FINALLY GET COMPIZ: :D

sudo apt-get install compiz compiz-gnome

OR if your are using KDE

sudo apt-get install compiz compiz-kde

Congratulations… you’re done :)
Run compiz by tiping

compiz --replace gconf &
gtk-window-decorator --replace &

MORE ?
Try these commands:
ALT + MOUSE SCOLL DOWN/UP
CTRL + ALT + UP ARROW
Move your mouse to the upper right of your screen…

Cool ?

Enjoy :)
// Jo

Popularity: 6% [?]

0 Responses to “Installing compiz on Ubuntu Edgy 6.10”


  1. No Comments

Leave a Reply