Install Compiz & compiz Fusion plugins.
Add repositories to sources.list file
for gnome.
Press Alt+F2, then type
For gnome.
In terminal type,
Press ALT+F2
In terminal type.
Add repositories to sources.list file
add these lines at the end & save.
after adding entries, update
for gnome.
for kde.
For Fusion-icon.
Install Emerald themes.
For manually starting Compiz-fusion
Press Alt+F2, then type
For Autostart during boot up.
For gnome.
For Kde.
In terminal type,
To launch Compiz Config Settings Manager
Press ALT+F2
If their's an prob with Window border decorations.
In terminal type.
Source: Ubuntu forums & Geek.