New source file for manipulating atom-valued window properties.
[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
6.B xshutdown
7.RB [ \-\-display
8.IR display ]
9.RB [ \-a
10.IR atom ]
11.RB [ \-m
12.IR message ]
13.RB [ \-t
14.IR title ]
15.SH DESCRIPTION
16The
17.B xshutdown
18program pops up a pretty GTK confirmation box asking the user whether he
19(or she) wants to shutdown the current session. If so, it sends a
20message to a waiting
21.B xwait
22process, by setting a named property on the X root window to a particular
23value.
24.SS OPTIONS
25.TP 5
26.BI "\-\-display " display
27Attempt to connect to
28.I display
29rather than the display named in the usual environment variable.
30.TP 5
31.BI "\-a, \-\-atom " atom
32Sets
33.B xshutdown
34to to set the property named
35.IR atom .
36The default property to set is
37.BR XWAIT_PROPERTY .
38.TP 5
39.BI "\-m, \-\-msg " message
40Sets
41.B xshutdown
42to set the given property to
43.IR message .
44The default message to set is
45.BR XWAIT_MESSAGE .
46.TP 5
47.BI "\-p, \-\-prompt " prompt
48Sets the prompt in the confirmation box to
49.IR prompt .
50.TP 5
51.BI "\-t, \-\-title " title
52Sets the window title to be
53.IR title .
54.SH AUTHOR
55Mark Wooding (mdw@nsict.org).
56.SH BUGS
57None currently known.
58.SH SEE ALSO
59.BR xwait (1),
60and
61.BR xtell (1).