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?)


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.

  • I've updated the answer to include the steps specified in the linked Launchpad answer. – user2405 Nov 25 '12 at 14:47
  • you should accept your answer to this question falls out of the 'Unanswered Questions' list. – user2405 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 clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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