4

I'm running Debian Squeeze and removed Metacity in favor of Mutter. How do I avoid having to run mutter --replace each time I start Xorg (GNOME)?

Roman Riabenko
  • 2,145
  • 3
  • 15
  • 39
tshepang
  • 64,472
  • 86
  • 223
  • 290

2 Answers2

4

Press Alt + F2 and enter gconf-editor. Navigate the tree menu to desktop > gnome > session > required-components. Now, replace the windowmanager key with the window manager of your choice. Just replace gnome-wm (or metacity) with mutter.

Another possible solution:

You could add mutter --replace to System > Preferences > Startup Applications which opens gnome-session-properties program:

enter image description here

tshepang
  • 64,472
  • 86
  • 223
  • 290
Dayjay
  • 486
  • 2
  • 4
1

Under Debian, if you want to change the window manager for all users, you can run (as root):

update-alternatives --config x-window-manager

and select the window manager you want as the default. However, this might only work if you're not using a desktop environment (e.g. GNOME or KDE).

If you're using GNOME, you can tell it which window manager you want by putting the following in ~/.gnomerc:

export WINDOW_MANAGER=/usr/bin/mutter
Jander
  • 16,272
  • 6
  • 50
  • 66