Differences between revisions 5 and 6
Revision 5 as of 2012-11-13 09:35:16
Size: 3568
Editor: PaulWise
Comment: typo
Revision 6 as of 2012-11-13 09:36:01
Size: 3566
Editor: PaulWise
Comment: typo
Deletions are marked like this. Additions are marked like this.
Line 11: Line 11:
Entrance is a beautiful display manager builded with Enlightenment Foundation Libraries. Entrance is a beautiful display manager built with Enlightenment Foundation Libraries.

Translation(s): es

(!) ?Discusión


/!\ entrance should be packaged by the Enlightenment packagers and this page should be deleted.

Entrance

Entrance is a beautiful display manager built with Enlightenment Foundation Libraries.

Installation

Download sources:

svn co http://svn.enlightenment.org/svn/e/trunk/PROTO/entrance entrance

Follow next steps:

./autogen.sh --sysconfdir=/etc --prefix=/usr
make
make install

Copy the file:

cp data/entrance.debian /etc/pam.d/entrance

Configuration

In this moment you can run Entrance, simple run entrance in your console.

But you can automate the process.

Disable actual display manager (not uninstall).

Create the file /etc/init.d/entrance containing:

# Largely adapted from xdm's init script:
# Copyright 1998-2002, 2004, 2005 Branden Robinson <branden@debian.org>.
# Copyright 2006 Eugene Konev <ejka@imfi.kspu.ru>
# 2012 Modified by Esteban <esteban@nuevaeralatam.com> for working with Entrance

### BEGIN INIT INFO
# Provides:          entrance
# Required-Start:    $local_fs $remote_fs
# Required-Stop:     $local_fs $remote_fs
# Should-Start:      xfs $named slapd
# Should-Stop:       xfs $named slapd
# Default-Start:     2 3 4 5
# Default-Stop:      0 1 6
# Short-Description: Start/stop the entrance daemon.
### END INIT INFO

test -z "$HEED_DEFAULT_DISPLAY_MANAGER" && HEED_DEFAULT_DISPLAY_MANAGER=true
DEFAULT_DISPLAY_MANAGER_FILE=/etc/X11/default-display-manager

DAEMON=/usr/sbin/entrance
PIDFILE=/var/run/entrance.pid

SSD_START_ARGS="--pidfile $PIDFILE --name $(basename $DAEMON) --startas $DAEMON"
SSD_STOP_ARGS="--pidfile $PIDFILE --name $(basename $DAEMON) --retry TERM/5/TERM/5"

case $1 in
  start)
    if [ "$HEED_DEFAULT_DISPLAY_MANAGER" = "true" ] &&
       [ -e $DEFAULT_DISPLAY_MANAGER_FILE ] &&
       [ "$(cat $DEFAULT_DISPLAY_MANAGER_FILE)" != "$DAEMON" ]; then
      echo "Not starting X display manager (entrance); it is not the default display manager."
    else
      echo -n "Starting X display manager: entrance"
      start-stop-daemon --start --quiet $SSD_START_ARGS || echo -n " already running"
      echo "."
    fi
  ;;

  stop)
    echo -n "Stopping X display manager: entrance"
    if ! [ -f $PIDFILE ]; then
      echo -n " not running ($PIDFILE not found)"
    else
      start-stop-daemon --stop --quiet $SSD_STOP_ARGS
      SSD_RES=$?
      if [ $SSD_RES -eq 1 ]; then
        echo -n " not running"
      fi
      if [ $SSD_RES -eq 2 ]; then
        echo -n " not responding to TERM signals"
      else
    if [ -f $PIDFILE ]; then
      echo -n " (removing stale $PIDFILE)"
      rm $PIDFILE
    fi
      fi
    fi
    echo "."
  ;;

  restart)
    $0 stop
    sleep 2
    $0 start
  ;;

  force-reload)
    /etc/init.d/entrance restart
  ;;

  *)
    echo "Usage: /etc/init.d/entrance {start|stop|restart|force-reload}"
    exit 1
  ;;
esac

# End of file

Follow the next steps:

cd /etc/init.d/
chmod +x entrance
update-rc.d entrance defaults
update-rc.d entrance enable

Create or modify the file /etc/X11/default-display-manager containing:

/usr/sbin/entrance

You have two choices, restart or execute:

/etc/init.d/entrance start