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
and now you need to update everything so...
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
lets get all those DRI packages
sudo apt-get update
sudo apt-get dist-upgrade
Now I've never had this problem, but some have, so if you have a problem at this point, regenerate your module deps.
sudo apt-get install linux-dri-modules-common linux-dri-modules-`uname -r`
Ok, now to fetch what we wanted:
2. Set up your xorg server!
sudo apt-get install cgwd compiz compiz-core compiz-gnome xserver-xorg-air-core
Open up /etc/X11/xorg.conf and make sure modules looks like:
and you need to add the Option "XAANoOffscreenPixmaps" to your device section like:
# Load "GLcore"
and add AIGLX to your ServerLayout:
Identifier "Intel Corporation Intel Default Card"
Uncomment out the "DRI" section if it is:
Option "AIGLX" "true"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
InputDevice "Synaptics Touchpad"
and add the Composite extension (because that's why we did this, right?)
Option "Composite" "Enable"
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:
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:
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.
cp /usr/lib/xorg/modules/drivers/* /usr/lib/xorg-air/modules/drivers
cp /usr/lib/xorg/modules/input/* /usr/lib/xorg-air/modules/input
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!