Hi All,
This patch fixes bug 6674480 where compiz was the default window
manager in the user's configuration but cannot start due to :
- shared home account (e.g. login on a sparc, trusted solaris, sunray)
- compiz packages have been uninstalled.
This patch also avoid gnome-session splash screen timing out by
providing the right session management information.
The logic is :
When compiz is enabled the gconf key
/desktop/gnome/applications/window_manager/default is set to /usr/bin/compiz
on restart /usr/bin/gnome-wm checks for the value of this key and
start the appropriate window-manager
if compiz isn't present it started metacity
if compiz is present the /usr/bin/compiz script is called.
This script in turn checks if :
- the composite extension is available
- if it's not running in a trusted solaris mode or in a sunray session
if all these conditions are validated than compiz-bin the real
compiz binary is started with the right argument
otherwise it falls back to metacity.
I've also modify the compiz-modify python script to check for sunray
and trusted session
Attached :
- the gnome-session patch for gnome-wm
- the compiz patch. The relevant part is in src/session.c
- the compiz script and the modified compiz-modify scripts can be found
here
http://www.gnome.org/~erwannc/compiz/gnome-integration-0.6.2.v2.tar.bz2
Cheers,
Erwann
--
Erwann Ch?ned?,
Desktop Group, Sun Microsystems, Grenoble
Phone : +33 476 188 358 ext: 38358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gnome-session-09-compiz-integration.diff
Type: text/x-patch
Size: 1894 bytes
Desc: not available
URL:
<http://mail.opensolaris.org/pipermail/jds-review/attachments/20080318/7ff7c7d0/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: compiz-01-solaris-port.diff
Type: text/x-patch
Size: 21156 bytes
Desc: not available
URL:
<http://mail.opensolaris.org/pipermail/jds-review/attachments/20080318/7ff7c7d0/attachment-0001.bin>