Laurence Vanek wrote:
Since entrance doesnt presently work "out-of-the-box" with FC5
(changes made to xorg) I found a hack of the entrance configure file
that will start entrance.
[1] in entrance configure file, change to read:
xbin=/usr/bin
xsession=/etc/X11/xinit/Xsession
[2] then run "./configure" (NOT ./autogen.sh) then "make install"
this assumes one has setup /etc/X11/xinit/Xsession file like this:
==========
.
.
.
# now, we see if xdm/gdm/kdm has asked for a specific environment
case $# in
1)
if [ -x "$SWITCHDESKPATH/Xclients.$1" ]; then
exec -l $SHELL -c "$SWITCHDESKPATH/Xclients.$1";
fi;
case "$1" in
failsafe)
exec -l $SHELL -c "xterm -geometry 80x24-0-0"
;;
gnome)
exec -l $SHELL -c "$SSH_AGENT $DBUS_LAUNCH gnome-session"
;;
Enlightenment)
exec -l $SHELL -c "$SSH_AGENT $DBUS_LAUNCH enlightenment"
;;
kde|kde1|kde2)
exec -l $SHELL -c "$SSH_AGENT $DBUS_LAUNCH
$SWITCHDESKPATH/Xclients.kde"
;;
.
.
.
===============
[3] change /etc/sysconfig/desktop file to read:
DISPLAYMANAGER="E17"
[4] modify /etc/X11/prefdm file :
==========
.
.
.
# Run preferred X display manager
preferred=
if [ -f /etc/sysconfig/desktop ]; then
. /etc/sysconfig/desktop
if [ "$DISPLAYMANAGER" = GNOME ]; then
preferred=/usr/sbin/gdm
elif [ "$DISPLAYMANAGER" = KDE ]; then
preferred=/usr/bin/kdm
elif [ "$DISPLAYMANAGER" = XDM ]; then
preferred=/usr/bin/xdm
elif [ "$DISPLAYMANAGER" = E17 ]; then
preferred=/usr/local/sbin/entranced
elif [ -n "$DISPLAYMANAGER" ]; then
preferred=$DISPLAYMANAGER
fi
fi
.
.
.
=====================
(told you it was a hack, but it works here).
The only odd thing is a DBUS_LUANCH message I get when using entrance
to start a gnome session. Doesnt happen with a KDE session launched
from entrance.
I assume that down the road something more intelligent than this will
emerge.
ADDENDUM:
correction in [2] above, obviously need to ./configure, make,
make-install (omitted "make" step).
The message obtained when launching gnome from entrance relates only to
the Power Manager. On my workstation this doesnt seem relevant.
Notebooks might be different. Must be something special in gnome
startup scripts that needs to be taken care of by entrance that Im not
wise enough to diagnose.
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
enlightenment-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-users