How do I disable Compiz in the Ubuntu Classic session?

I would like to disable Compiz in Natty (Ubuntu Classic). I have tried to access this through System > Preferences > Appearance but the "Visual Effects" tab is no longer there.

On previous releases the following gconf key makes the switch:

/desktop/gnome/session/required_components/windowmanager

Value to have visual effects off: metacity

Value to have visual effects on: compiz

On Natty this key is set to gnome-wm which seems to have a lot of added eyecandy (effects/shading) as opposed to metacity in the previous release, and which I would like to turn off.


Solution 1:

The easiest way is to use the session that's there to do exactly what you want. ;-)

  • Log out.

  • At the GDM login screen choose the Ubuntu Classic (No effects) session:

    enter image description here

  • Log in.

    → You will be in a classic GNOME session without Compiz. Subsequent logins will use this session as default.

Solution 2:

If you don't have some other reason to believe that compiz is running (double check with ps aux | grep compiz), then it sounds like your real question is "what's the relationship between gnome-wm and metacity?" or "how do I turn off shading and effects in Natty?" (Both very good questions, if you ask me.)

Solution 3:

You would add metacity --replace at startup applications.

  1. Open it

    gnome-session-properties
    
  2. Add

    metacity --replace
    

Solution 4:

I would try a different and very simple approach. When you log in before entering you password you have some options in the bottom bar, select "Ubuntu classic (no effects)" and that's it, it will not use compiz. And in your nexts logs it will pre-select as default that option.

Formerly you just had to disable effects and that will be the end of using Compiz. Clicking right button over Desktop background in the last tab.

Hope it helps.

Solution 5:

Install the package fusion-icon (found in the repositories).

You can run the icon from Applications -> System tools -> Compiz Fusion icon. It will allow you to enable or disable compiz on the fly (replacing it with metacity, for instance)