Skip to content

Start compiz (or any non-default WM) automatically with GNOME

by Julien on October 25th, 2009

I have just noticed the latest gnome-session package doesn’t use compiz as default WM if installed.

I have had to found the right way starting it for my session, anf finally found the following was the easiest and cleanest solution:

echo export WINDOW_MANAGER=/usr/bin/compiz >> ~/.gnomerc

Writing it here so that I can find it again…

From → Weblog

4 Comments
  1. does preferences -> startup applications ; add compiz, remove metacity not work?

    • There is no startup entry for metacity.

      As far as I understand it, gnome-wm is called through gnome-session.

      gnome-wm(1) states:

      The gnome-wm script invokes the user selected window manager. If the user has not chosen a window manager it will launch a GNOME compliant
      window manager.

      The user can overwrite the selection of a window manager by setting the WINDOW_MANAGER environment variable. If a –default-wm option is
      given the script uses that window manager in case WINDOW_MANAGER is not set.

      Cheers,
      Julien

  2. Neither of the above to methods are correctly. Open gconf, go to desktop.gnome.session.required_components and change the key “windowmanager” to “compiz” from “gnome-wm”. You can also use this method to enable gnome-shell.

    • Using the gconf method i ended up having no WM at all. I had to set the env as mentioned above.

Comments are closed.