Start by installing the e17 rpms from the yum respository. What? There is an e17 yum repository. Sure, right here:
hxxp://sps.nus.edu.sg/~didierbe/
replace the hxxp with http
Now let's integrate Enlightenment (e17) and Entrance into our environment.
I made the following change to /etc/X11/xdm/Xsession:
Code:
# 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 "$DBUS_LAUNCH gnome-session"
;;
# Added this line, the capital E in Enlightenment is important
Enlightenment)
exec -l $SHELL -c "$DBUS_LAUNCH enlightenment"
;;
# end of changes
kde|kde1|kde2)
exec -l $SHELL -c "$DBUS_LAUNCH $SWITCHDESKPATH/Xclients.kde"
;;
twm)
# fall back to twm
exec -l $SHELL -c "$DBUS_LAUNCH $SWITCHDESKPATH/Xclients.twm"
;;
*)
# GDM provies either a command line as the first argument or
# provides 'failsafe', 'default' or 'custom'. KDM will do the
# same at some point
if [ "$1" != "default" -a "$1" != "custom" ]; then
exec -l $SHELL -c "$DBUS_LAUNCH $1"
fi
;;
esac
esac
This change will allow Enlightenment to run from any login manager, but you are running e17 and want the whole ride. So let's configure the Entrance Login Manager as well:
I made these changes to /etc/X11/prefdm:
Code:
# Run preferred X display manager
preferred=
if [ -f /etc/sysconfig/desktop ]; then
. /etc/sysconfig/desktop
if [ "$DISPLAYMANAGER" = GNOME ]; then
preferred=gdm
elif [ "$DISPLAYMANAGER" = KDE ]; then
preferred=kdm
elif [ "$DISPLAYMANAGER" = XDM ]; then
preferred=xdm
# Changed Start Here the E17 can be anything you want but needs to match the /etc/sysconfig/desktop file as well
elif [ "$DISPLAYMANAGER" = E17 ]; then
preferred="/usr/sbin/entranced -nodaemon"
# End of changes
fi
fi
shopt -s execfail
[ -n "$preferred" ] && exec $preferred $* >/dev/null 2>&1
# Fallbacks, in order
# This makes Entrance also the default
exec /usr/sbin/entranced -nodaemon $* >/dev/null 2>&1
# End of changes
exec gdm $* >/dev/null 2>&1
exec kdm $* >/dev/null 2>&1
exec xdm $* >/dev/null 2>&1
And then change /etc/sysconfig/desktop to have just this line:
Reboot and you should be good. If these changes cause any problems, you can back out easily by booting into runlevel 3 via grub. When grub shows up, edit the kernel you want to boot into (press 'e') and modify the kernel boot line removing the 'rhgb quiet' and replacing it with '3'. This change is not permanent, just for this session. Do not modify the grub.conf, you can do this change within the grub bootloader. The backout of the change made above and reboot of 'init 5'.