Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

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)?

share|improve this question
add comment

2 Answers

up vote 4 down vote accepted

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

share|improve this answer
1  
I tried that and it doesn't work. Maybe it's a bug? –  Tshepang Mar 7 '11 at 12:48
1  
I'm actually having the same problem. And no, editing gconf didn't work. –  Shadur Mar 7 '11 at 12:51
    
You could add mutter --replace to System > Preferences > Startup Applications –  Dayjay Mar 7 '11 at 12:53
add comment

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
share|improve this answer
    
That file doesn't exists in my home dir. Must I create it? –  Tshepang Mar 8 '11 at 18:06
    
@tshepang yes, create it. This answer is is the correct method on Debian. –  bahamat Mar 8 '11 at 18:24
    
This doesn't work for me. I still get metacity as window manager. –  Tshepang Mar 8 '11 at 22:25
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.