As the question says: how can I turn on/off compositing (like clicking the appropriate option in System→ Preferences→ Appearance→ Visual Effects) using the command-line?

I run Ubuntu desktop 10.10, if that helps.

  • This question appears to be abandoned, if you are experiencing a similar issue please ask a new question with details pertaining to your problem. If you feel this question is not abandoned, please flag the question explaining that. I am flagging this for closure. Regards, – Ringtail Mar 11 '12 at 18:25

have you tried running

metacity --replace &

then again for enabling run

compiz --replace &
  • This seems to do what I want. I'll mark the question as answered, but I'll wait for more answers (if any). – ΤΖΩΤΖΙΟΥ Mar 12 '12 at 13:15

You can try this command from command line:

gconftool-2 -s '/apps/metacity/general/compositing_manager' --type bool false
  • Well, it changes the value (as I can verify through gconf-editor) but, as expected, it has no effect: metacity is not one of the running processes (compiz is running). – ΤΖΩΤΖΙΟΥ Apr 24 '11 at 21:44

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.