Bug 182698

Summary: gnome-wm documentation does not correspond to reality
Product: [Fedora] Fedora Reporter: Michal Jaegermann <michal>
Component: gnome-sessionAssignee: Ray Strode [halfline] <rstrode>
Status: CLOSED UPSTREAM QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: rawhide   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-02-24 05:41:14 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Michal Jaegermann 2006-02-24 03:16:30 UTC
Description of problem:

'man gnome-wm' claims:

       The user can overwrite the selection of a window manager by setting the
       WINDOW_MANAGER environment variable

and later 

PERSISTENT SETTINGS
       The  program  stores  the  current selection of a window manager in the
       gconf key /desktop/gnome/applications/window_manager/default


It is far from clear where WINDOW_MANAGER is supposed to be set as
gnome-session seems to totally ignore user shell startup files.  Changing
value of /desktop/gnome/applications/window_manager/default also does
not have any effect.  So what is a non-hacky way of substuting another
window manager and where it is documented?

Version-Release number of selected component (if applicable):
gnome-session-2.13.91-1

How reproducible:
always

Comment 1 Matthias Clasen 2006-02-24 05:40:46 UTC
Filed upstream:
http://bugzilla.gnome.org/show_bug.cgi?id=332410

The recommended way to switch to a different window manager is 
to run

other-window-manager --replace
gnome-session-save

provided the other-window-manager supports session management and has
a --replace argument to replace the running window manager.

Comment 2 Michal Jaegermann 2006-02-24 17:03:52 UTC
> The recommended way to switch ...

The question was about a non-hacky and documented way to do the job.  I know
also other ways.  For example, by replacing gnome-wm by other script with the
same name but earlier in $PATH.

With the current state of things suggested commands require an open terminal
window (or at least a "mini-command" applet) and gnome-session-save will
make that terminal in a session client - which may be not desired.

Comment 3 Michal Jaegermann 2006-02-24 19:23:14 UTC
As a matter of fact if processing shell startup files does work like it should
(see bug 177258 and the current discussion there) then setting WINDOW_MANAGER
environment variable acts as advertised.