Version bump.
[xtoys] / xshutdown.1
CommitLineData
b6eb57e6 1.\" -*-nroff-*-
90b2c5d4 2.TH xshutdown 1 "15 November 1998" "Edgeware tools"
3.SH NAME
4xshutdown \- asks for user confirmation before waking an xwait process
5.SH SYNOPSIS
d72bdcdb 6.ll +5i
90b2c5d4 7.B xshutdown
8.RB [ \-\-display
9.IR display ]
10.RB [ \-a
11.IR atom ]
12.RB [ \-m
13.IR message ]
d72bdcdb 14.if n \{\
15.br
16\h'1i'
17..
90b2c5d4 18.RB [ \-t
19.IR title ]
d72bdcdb 20.RI [ \c
21.IB atom : msg , msg \c
22\&...]
23.ll -5i
90b2c5d4 24.SH DESCRIPTION
25The
26.B xshutdown
27program pops up a pretty GTK confirmation box asking the user whether he
28(or she) wants to shutdown the current session. If so, it sends a
29message to a waiting
30.B xwait
31process, by setting a named property on the X root window to a particular
32value.
33.SS OPTIONS
34.TP 5
35.BI "\-\-display " display
36Attempt to connect to
37.I display
38rather than the display named in the usual environment variable.
39.TP 5
40.BI "\-a, \-\-atom " atom
41Sets
42.B xshutdown
43to to set the property named
44.IR atom .
d72bdcdb 45This option is deprecated.
90b2c5d4 46.TP 5
47.BI "\-m, \-\-msg " message
48Sets
49.B xshutdown
50to set the given property to
51.IR message .
d72bdcdb 52This option is deprecated.
90b2c5d4 53.TP 5
54.BI "\-p, \-\-prompt " prompt
55Sets the prompt in the confirmation box to
56.IR prompt .
57.TP 5
58.BI "\-t, \-\-title " title
59Sets the window title to be
60.IR title .
d72bdcdb 61.PP
62The
63.B \-a
64and
65.B \-m
66options are deprecated, though retained for compatibility reasons. It's
67recommended that you use the non-option specification instead.
68.PP
69The argument specifies an atom name and a message string to set. The
70default, if no atom or message is given, is to set
71.B XWAIT_PROPERTY
72to the value
73.BR XWAIT_MESSAGE .
90b2c5d4 74.SH AUTHOR
75Mark Wooding (mdw@nsict.org).
76.SH BUGS
77None currently known.
78.SH SEE ALSO
79.BR xwait (1),
80and
81.BR xtell (1).