[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[E-devel] e17 CVS - FC5 & entrance (a hack)



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.