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

After upgrading to 11.10 compiz won't start automatically and I have to run compiz --replace after each reboot. How to start it automatically instead?

share|improve this question
up vote 1 down vote accepted

If you're running unity 2d, the default, try Dash -> Startup Applications -> Add. Now:

Command: bash -c "sleep 2; compiz --replace"

Sleep 2 lets the system wait for 2 seconds before loading compiz, of course it is optional (you can use bash -c "compiz --replace" instead) but it is useful, because it allows the system to be ready to composite the screen correctly. For example it is necessary if you use screenlets, they must be loaded before calling compiz --replace to show correctly.

share|improve this answer
I just added compiz --replace to Startup Applications in Unity 3D (normal Ubuntu session). – Jakob Apr 17 '12 at 19:10

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.