Metacity has a compositing feature. Ideal if you would like to use an application like Docky or Cairo-dock and it requires transparency but you don’t want to install beryl/compiz.
Within a terminal type gconf-editor to open gnome config editor. The navigate to Apps -> Metacity -> General –> compositing_manager. Check this item.