PDA

View Full Version : Changing the default Window-Manager in NOT gui mode


hefeweiz3n
April 29th, 2007, 12:16 PM
Hi,

I have the problem that beryl shows me a white screen everytimt i log on, so now i want to change the default window-manager back to metacity. As i can't do it via the beryl-manager, i need to to it via the commant line or by editing a text file. But i have absolutely no idea where that information is saved. I couldn't find any answers by using google or faq's.

Hope anyone can help me.

tatsumori
April 29th, 2007, 12:26 PM
Hi, try this:

1) Start a pure X-Server
[code:ce30b]X :1 &[/code:ce30b]
2) Open gconf-editor on the newly created screen by typing this into a console
[code:ce30b]DISPLAY=:1 gconf-editor[/code:ce30b]
3) Look for this key:
[code:ce30b]/desktop/gnome/applications/window_manager/current[/code:ce30b]
4) Set it back to metacity.

Hope this helps

hefeweiz3n
April 29th, 2007, 12:51 PM
No,
It either says that im not authorised to star an x-server or it wont open gconf.

I have however enabled root to log on from gdm, so if that helps...

EDIT: Is there maybe a config file i can edit?
EDIT2: OK, with console and gconf-tool i was able to fin out that the default window-manager is indeed metacity. Now i still have the problem of a white screen of death...

adamk
April 29th, 2007, 12:55 PM
Log in at the console and edit your .beryl-managerrc file. active_wm will be set to some number which represents beryl. Change it to some other number :-) If it's set to 1, set it to 0. Or vice versa. Then when you login via gdm and beryl-manager starts running, you'll end up with another window manager (though I'm not sure if there's any easy way to tell what it is till it actually starts).

Adam

hefeweiz3n
April 29th, 2007, 12:58 PM
Log in at the console and edit your .beryl-managerrc file. active_wm will be set to some number which represents beryl. Change it to some other number :-) If it's set to 1, set it to 0. Or vice versa. Then when you login via gdm and beryl-manager starts running, you'll end up with another window manager (though I'm not sure if there's any easy way to tell what it is till it actually starts).

Adam


OK, that helped. I tried that before, but it seems that 0 and 1 are gtk and beryl, so changing to 2 helped.

Thx for the help, at least for the time being. now "all" i gotta do is to find out what went wrong.

adamk
April 29th, 2007, 01:25 PM
9 out of 10 times, this kind of problem is from video card drivers not setup properly.

What video card do you have? What distribution? XGL or AIGLX?

Adam