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

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…

You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

4 Comments »

 
  • Jon says:

    does preferences -> startup applications ; add compiz, remove metacity not work?

    • Julien says:

      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

  • 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.

 

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="">