From Bugzilla Helper: User-Agent: Mozilla/5.0 Galeon/1.2.7 (X11; Linux i686; U;) Gecko/20021216 Description of problem: If using sawfish as the window manager instead of metacity gnome-theme-manager crashes on startup. It does this with control-center-2.1.6-2 and control-center-2.1.3-1 that came with Phoebe. I would expect it to handle lack of metacity gracefully. Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: 1. run killall -9 metacity ; sawfish 2. run gnome-theme-manager Actual Results: gnome-theme-manager crashes Expected Results: gnome-theme-manager to load either grey out the window manager theme tab, give a warning, or integrate with sawfish as it does with metacity Additional info:
You can select what window manager to use from .xsession by using "export WINDOW_MANAGER=sawfish" (or metacity, or whatever you want). It puzzled me as well at first when suddenly it seemed I was stuck with metacity (without decent themes) instead of sawfish, until I figured out that it's the /usr/bin/gnome-wm script that actually starts the window manager. When I use the above way of selecting the window manager and then starting "gnome-session &", the theme manager works okay (except for some irrelevant warnings about FAM and a metacity theme).
I tried as you suggested and it hasn't helped. I made ~/.Xclients and it has these contents: #!/bin/bash WINDOW_MANAGER=sawfish export WINDOW_MANAGER /usr/bin/gnome-wm & exec /usr/bin/gnome-session gnome-theme-manager still crashes. I think the crash is slightly different with the newer version of control-center. It used to come up half way and then crash, now it crashes instantly. It doesn't crash with metacity. gnome-wm which uses WINDOW_MANAGER is really meant for running Gnome without session management.
What I meant is that you start gnome-session without starting gnome-wm first. At least, that works for me. Also, I have those lines in ~/.xsession, not ~/.Xclients. I don't know if that should make a difference. These are the relevant lines from my ~/.xsession: #!/bin/zsh export WINDOW_MANAGER=sawfish gnome-session & WM_PID=$! wait $WM_PID
I just tried exactly what you suggested and I ended up no window manager. I think tried gnome-theme-manager after running sawfish, it crashed. I am running Phoebe beta.
Just fresh installed phoebe2, now gnome-theme-manager crashes even with metacity.
You need to select the 'Default' session in gdm instead of the 'GNOME' one to have it run ~/.xsession (or ~/.Xclients; it uses that as fallback when ~/.xsession doesn't exist) from /etx/X11/xdm/Xsession. If you choose the 'GNOME' session, /etc/X11/xdm/Xsession will run gnome-session itself directly, without setting $WINDOW_MANAGER.
Tried what you suggested, got no window manager again.
The theme manager no longer crashes when sawfish is present, but doesn't really support it. Moving upstream to gnome.org.