Ubuntu – How to enable Compiz in xubuntu

11.04compizxubuntu

I would like to use Compiz in Xubuntu (under xfce obviously).

I have seen this tutorial: http://www.ghacks.net/2010/07/11/run-compiz-with-xfce4/

Firstly, this didn't work well for me, because when trying compiz –replace ccp & in a terminal, it tells me there is no plugin such as cpp, and the window decorations are lost right away.

Is there a reliable way to run Compiz with XFCE, please? I miss my desktop cube.

UPDATE

Thanks for the answers so far. Just running compiz --replace still causes the complete loss of window decorations.

Also, I tried fossfreedom's suggestion, and then I get the output below. I installed emerald initially because it was complaining about not finding it, but I think I had the segfault even without emerald.

(some other output)
...
/usr/bin/emerald: Screen 0 on display ":0.0" already has a decoration manager; try using the --replace option to replace the current decoration manager.
Segmentation fault
Setting Update "command"

UPDATE 2

Well, turns out that just trying to run emerald by itself ends with a segfault, and apparently this is a known bug. Used the solution here to resolve that problem: http://www.webupd8.org/2011/05/get-emerald-to-work-in-ubuntu-1104.html

Still, I wasn't actually hoping to use Emerald, but what the heck.

Best Answer

The following works for me:

sudo apt-get install compiz gnome-themes compizconfig-settings-manager
compiz --replace ccp &

If there are any errors displayed in the terminal, please add the output into your question.