#!/bin/sh

# This is an example of how to start the plan daemon, pland, in each
# users .xsession. pland is started with the "-k" switch to kill any
# existing pland daemons. .xsession should be executable. Please see
# the README in /usr/doc/plan and plan(1) for details.

# It is killed after the session application has exited.

# By Yann Dirson <dirson@debian.org>, based on example by Colin
# R. Telmer <telmerco@debian.org>

# This starts pland on login.
if [ -x /usr/bin/pland ]
then
    /usr/bin/pland -k
else
    echo >&2 "WARNING: pland not found"
fi

### Put here background apps to start

xterm &


### Put here your session manager app
# Do not put it in background, or it wouldn't be a session manager
fvwm2

### Kill pland after session was terminated
if [ -x /usr/bin/pland ]
then
    /usr/bin/pland -K
fi
