Using e16 with GNOME

Setting up e16 as WM in a GNOME session unfortunately depends on the version of gnome-session.

Recent versions of gnome-session seem to require that a gconf key is set and that an e16.desktop file can be found:

	$ gconftool-2 --set /desktop/gnome/session/required_components/windowmanager --type string e16
	$ gnome-sesssion
      

/usr/share/applications/e16.desktop (or ~/.local/share/applications/e16.desktop):

	[Desktop Entry]
	Encoding=UTF-8
	Type=Application
	Name=E16
	Comment=The Enlightenment (e16) window manager
	Exec=e16
	Icon=/usr/share/e16/misc/e16.png
      

The section below seems to be obsolete as of gnome-session-2.2x(?)

The GNOME desktop can be started using e16 as WM with:

	$ export WINDOW_MANAGER=e16
	$ gnome-sesssion
      

The section below is obsolete as of gnome-session-2.16

However, somewhere along the way the script /usr/bin/gnome-wm is called. This is supposed to handle differences in all the different WM's out there, but does not know of "e16". This will cause a major delay when starting up the GNOME desktop. One way to fix this is to use gnome-session-properties to get rid of the "gnome-wm" session entry.

Another is to apply this patch to /usr/bin/gnome-wm:

	--- /usr/bin/gnome-wm-org       2005-04-19 21:33:53.000000000 +0200
	+++ /usr/bin/gnome-wm   2005-11-15 20:46:09.000000000 +0100
	@@ -69,7 +69,7 @@
	OPT2=
	if [ ! -z "$SMID" ] ; then
	case `basename $WINDOW_MANAGER` in
	-    sawfish|sawmill|metacity)
	+    sawfish|sawmill|metacity|e16)
	OPT1=--sm-client-id=$SMID
	;;
	openbox)