Well, the other HOWTO by gandalfn was an excellent guide, but it doesn't work anymore due to the changes in the compiz packages. I am going to borrow a bit from his guide, but this one works.
So, here we go!
1. Download packages
I used these repos, which is recommended on the compiz forums, so add them to your sources.list
Code:
deb http://www.beerorkid.com/compiz dapper main aiglx
deb http://media.blutkind.org/xgl/ dapper main aiglx
deb http://ubuntu.compiz.net/ dapper main aiglx
and now you need to update everything so...
Code:
sudo apt-get update
sudo apt-get dist-upgrade
lets get all those DRI packages
Code:
sudo apt-get install linux-dri-modules-common linux-dri-modules-`uname -r`
Now I've never had this problem, but some have, so if you have a problem at this point, regenerate your module deps.
Code:
sudo /sbin/ldm-manager
Ok, now to fetch what we wanted:
Code:
sudo apt-get install cgwd compiz compiz-core compiz-gnome xserver-xorg-air-core
2. Set up your xorg server!
Open up /etc/X11/xorg.conf and make sure modules looks like:
Code:
Section "Module"
# Load "GLcore"
Load "bitmap"
Load "ddc"
Load "dbe"
Load "dri"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "type1"
Load "vbe"
EndSection
and you need to add the Option "XAANoOffscreenPixmaps" to your device section like:
Code:
Section "Device"
Identifier "Intel Corporation Intel Default Card"
Driver "i810"
Option "XAANoOffscreenPixmaps"
BusID "PCI:0:2:0"
EndSection
and add AIGLX to your ServerLayout:
Code:
Section "ServerLayout"
Option "AIGLX" "true"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
InputDevice "Synaptics Touchpad"
EndSection
Uncomment out the "DRI" section if it is:
Code:
Section "DRI"
Mode 0666
EndSection
and add the Composite extension (because that's why we did this, right?)
Code:
Section "Extensions"
Option "Composite" "Enable"
EndSection
3. Configure gdm
Now we need to tell gdm we want to start the xorg-air server
Modify /etc/gdm/gdm.conf-custom so you have these lines:
Code:
[servers]
0=aiglx
[server-aiglx]
name=aiglx server
command=/usr/bin/Xorg-air :0
flexible=true
Now, all SHOULD be well, but it's NOT. When I installed xorg-air-core, it doesn't seem to copy over your modules from xorg, so you need to do this. I thought of doing a symbolic link, but it didn't seem to work (in fact, browsing to the dir gave me a 'too many levels deep' error, any fix for this?) so in the mean time I simply copied everything from:
Code:
cp /usr/lib/xorg/modules/drivers/* /usr/lib/xorg-air/modules/drivers
cp /usr/lib/xorg/modules/input/* /usr/lib/xorg-air/modules/input
And that seemed to work. Like I said, if anyone knows a fix for this inconvenience let me know. However, restart your machine (or just gdm, but I found it to be a problem) and you should have those fancy effects.
However, just to note, you now have the ability to turn on/off the GL desktop in the icon, and no longer have detailed settings in your compiz icon. This is because gset-compiz is GONE. You now use gconf-editor to change your settings. In gconf-editor browse to: apps/compiz/plugins to change settings, see my screenshot for an example.
If you have any improvements to this guide, let me know!
Bookmarks