Red Hat Bugzilla – Bug 469227
gnome-session again ignores attempts to switch window managers
Last modified: 2008-12-05 20:23:59 EST
Description of problem:
Despite of claims in 'man gnome-wm', supplied as documentation by gnome-session, attempts to switch window managers are coming to nought. That would be maybe not so surprising as /usr/bin/gnome-wm script carries the following comment:
# NOTE: DON'T USE THIS. Please have your window manager install
# a desktop file and change the gconf key
That key used to be /apps/gnome-session/rh/window_manager. Fair enough; only that the best effects of changes to that key from the comment above are sessions without any window manager at all. Attempts to guess what a rather obscure comment about "install a desktop file" may mean did not fare any better. A Google search for information also did not result in anything useful.
There are ways to replace a window manager. For example - if you will put early enough in $PATH a link or a script which would run a desired window manager with appropriate options, and you will call that "metacity", then this will run fine. So it looks that one may have any window manager as one wants as long as it is _named_ metacity.
A bug like that showed up before (see bug 449048) but then it was resolved and
Version-Release number of selected component (if applicable):
This bug appears to have been reported against 'rawhide' during the Fedora 10 development cycle.
Changing version to '10'.
More information and reason for this action is here:
I tried that again. I am not sure what changed but with /desktop/gnome/session/required_components/windowmanager key set to "sawfish" and
the following content of /usr/share/applications/sawfish.desktop file:
# name of loadable control center module
# name we put on the WM spec check window
# back compat only
gnome-session indeed used sawfish as its desktop manager.
I checked that only on a rawhide installation and not on F10.