File: dot.xsession

package info (click to toggle)
plan 1.8.7-3
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 2,196 kB
  • ctags: 1,971
  • sloc: ansic: 24,392; perl: 1,361; sh: 1,030; makefile: 514; yacc: 120; sed: 17
file content (34 lines) | stat: -rw-r--r-- 822 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#!/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