Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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

1 Answer 1

up vote 5 down vote accepted

I found the same question and the related answer on launchpad

Specifically:

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 0.9.10.0 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 0.9.7.12 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 at 0:41

Your Answer

 
discard

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.