Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Similarly to this question made for Unity, I would like to know what is the correct procedure to build the latest development release of Compiz from source.

In particular, it would be useful to know if it's possible to install it avoiding the risk of breaking the one from the repositories (maybe using checkinstall, or installing it in a different location?)

share|improve this question
up vote 5 down vote accepted

I found the same question and the related answer on launchpad


mkdir build
cd build
cmake .. -DCMAKE_INSTALL_PREFIX=~/staging
make install

And then in a VT (Ctrl+Alt+F1):
cd ~/staging
env DISPLAY=:0 LD_LIBRARY_PATH=./lib ./bin/compiz --replace composite opengl move resize decor compiztoolbox mousepoll wall expo animation switcher

That way you're not affecting your system installation. Everything runs from ~/staging.

share|improve this answer
I've updated the answer to include the steps specified in the linked Launchpad answer. – Chris Wilson Nov 25 '12 at 14:47
you should accept your answer to this question falls out of the 'Unanswered Questions' list. – Chris Wilson Nov 25 '12 at 14:47
I used above instructions to build and run Compiz on UBuntu 12.04 LTS. It works but when I change something in xml configuation files which are located in ./share/compiz it doesn't affect plugins. The same thing works for default Compiz (version for UBuntu 12.04) - xml files are located in /usr/share/compiz How to achieve that for Compiz which is built from a source ? – Irbis Mar 25 '14 at 0:41

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.