After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 350848 - gnome-wm support for Compiz window manager
gnome-wm support for Compiz window manager
Status: RESOLVED FIXED
Product: gnome-session
Classification: Core
Component: gnome-session
2.15.x
Other All
: Normal enhancement
: ---
Assigned To: Session Maintainers
Session Maintainers
Depends on:
Blocks:
 
 
Reported: 2006-08-11 07:10 UTC by Tomasz Sterna
Modified: 2006-11-24 07:33 UTC
See Also:
GNOME target: ---
GNOME version: Unversioned Enhancement


Attachments
/usr/bin/gnome-wm with Compiz support (1.81 KB, text/plain)
2006-08-11 07:11 UTC, Tomasz Sterna
  Details
gnome-session-2.15.90-window-manager.patch (2.58 KB, patch)
2006-08-13 04:25 UTC, Ray Strode [halfline]
none Details | Review
gnome-session-2.15.91-window-manager.patch (2.60 KB, patch)
2006-08-14 16:21 UTC, Ray Strode [halfline]
none Details | Review

Description Tomasz Sterna 2006-08-11 07:10:15 UTC
Attached is an /usr/bin/gnome-wm script with Compiz window manager support added.
Comment 1 Tomasz Sterna 2006-08-11 07:11:28 UTC
Created attachment 70694 [details]
/usr/bin/gnome-wm with Compiz support
Comment 2 Ray Strode [halfline] 2006-08-11 20:07:25 UTC
don't you need to start the gnome-window-decorator as well?
Comment 3 Tomasz Sterna 2006-08-11 21:53:43 UTC
For complete functionality you do.
I have it as a session task which is launched during session restoration.
Comment 4 Ray Strode [halfline] 2006-08-13 04:25:24 UTC
Created attachment 70801 [details] [review]
gnome-session-2.15.90-window-manager.patch

So the above is what we've ended up using in rawhide.
Comment 5 Ray Strode [halfline] 2006-08-14 16:21:02 UTC
Created attachment 70870 [details] [review]
gnome-session-2.15.91-window-manager.patch

Update to work with 2.15.91
Comment 6 Dan Winship 2006-09-06 20:05:06 UTC
One problem Novell ran into with something like that patch is that if you use
the Fast User-Switch Applet to do an Xnest login, you have to run metacity, not
compiz in the nested login, since Xnest isn't Xgl. (I assume this is a problem
when using aiglx too.)

Our current patch makes gnome-wm pick between compiz and metacity based on what
X server gnome-wm is being launched under. (But our test for "what X server is
running" is a bad one, and doesn't deal with aiglx anyway, where some users
may want to run metacity and others compiz.)
Comment 7 Ray Strode [halfline] 2006-09-08 15:22:27 UTC
So we don't actually support fast user switching in Fedora /RHEL (because of all the complications that come from not wanting to share access to vpns, device ownership problems, etc), but could you just key off of whether GDM_PARENT_DISPLAY is set?
Comment 8 Tom Tromey 2006-10-03 01:31:49 UTC
There's also bug #334210, a proposal to remove gnome-wm.
Comment 9 Vincent Untz 2006-11-15 23:55:54 UTC
I committed an updated gnome-wm version.
Ray, I suggest you add a script in /etc/X11/Xsession.d/ to define WINDOW_MANAGER if the gconf key is set.
Comment 10 Mart Raudsepp 2006-11-24 07:33:54 UTC
isn't it called gtk-window-decorator instead of gnome-window-decorator these days?