[go: up one dir, main page]

File: ivman-launch.8

package info (click to toggle)
ivman 0.6.12-5
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 2,144 kB
  • ctags: 186
  • sloc: sh: 9,500; ansic: 2,951; makefile: 81; xml: 22; sed: 16
file content (72 lines) | stat: -rw-r--r-- 2,909 bytes parent folder | download | duplicates (2)
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
.\" This is free documentation; you can redistribute it and/or
.\" modify it under the terms of the GNU General Public License as
.\" published by the Free Software Foundation; either version 2 of
.\" the License, or (at your option) any later version.
.\"
.\" The GNU General Public License's references to "object code"
.\" and "executables" are to be interpreted as the output of any
.\" document formatting or typesetting system, including
.\" intermediate and printed output.
.\"
.\" This manual is distributed in the hope that it will be useful,
.\" but WITHOUT ANY WARRANTY; without even the implied warranty of
.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
.\" GNU General Public License for more details.
.\"
.\" You should have received a copy of the GNU General Public
.\" License along with this manual; if not, write to the Free
.\" Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139,
.\" USA.
.\"
.TH IVMAN-LAUNCH 8 "10 February 2006"
.SH NAME
ivman-launch \- launch script for Ivman
.SH SYNOPSIS
.B ivman-launch [ --exit-with-session <cmd>  ] [ OPTIONS ] [ COMMAND [ ARGS... ]]
.SH DESCRIPTION
ivman-launch is a simple script used to launch Ivman.  Its sole purpose is
to ensure Ivman is closed at the end of a user's login session.  You can use
it if your session manager does not properly close Ivman when you log out.

ivman-launch supports the same command-line options as Ivman, and one additional
option: --exit-with-session.  Thus, there is no point using ivman-launch if you
do not need to use this option.

If you supply a COMMAND (with optional ARGS), the the specified
command will be run after ivman is started, and ivman will be killed
after that command exits.

.SH OPTIONS
.TP
.BR \-\-exit\-with\-session " " <cmd>
ivman-launch will block until the command 'cmd' terminates, at which point it will kill
Ivman and exit itself.  If the command 'cmd' is not running when ivman-launch is started,
Ivman will exit immediately.  Note that this option implies Ivman will be called with the '--nofork'
option.
option.
.TP
.BR \-\-debug " " \-\-nofork " " \-\-system
These flags be passed to the launched ivman command.

.SH EXAMPLES

.TP
.BR ivman-launch " " --exit-with-session " " xinit " " &
The ivman process will be started, then the xinit process is watched.
When the xinit process exits, ivman is killed.  Placing this command
in an ~/.xinitrc file would cause Ivman to launch in the background
when your session begins, and exit when your session ends:

.TP
.BR ivman-launch " " /usr/bin/x-window-manager
The ivman process is launched, then /usr/bin/x-window-manager is run,
when x-window-manager exits, ivman is killed.  This is an example of
how ivman might be launched from Xsession in order to chain several
programs together in one session.

.SH "SEE ALSO"
.BR ivman (8)
.BR Xsession (5)

.SH CREDITS
This script was written by Daniele Favara.