OLD | NEW |
1 .\" ** You probably do not want to edit this file directly ** | 1 '\" t |
2 .\" It was generated using the DocBook XSL Stylesheets (version 1.69.1). | 2 .\" Title: xdg-screensaver |
3 .\" Instead of manually editing it, you probably should edit the DocBook XML | 3 .\" Author: Bryce Harrington |
4 .\" source for it and then use the DocBook XSL Stylesheets to regenerate it. | 4 .\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/> |
5 .TH "XDG\-SCREENSAVER" "1" "06/24/2007" "xdg\-utils 1.0" "" | 5 .\" Date: 12/31/2010 |
| 6 .\" Manual: xdg-screensaver Manual |
| 7 .\" Source: xdg-utils 1.0 |
| 8 .\" Language: English |
| 9 .\" |
| 10 .TH "XDG\-SCREENSAVER" "1" "12/31/2010" "xdg-utils 1.0" "xdg-screensaver Manual" |
| 11 .\" ----------------------------------------------------------------- |
| 12 .\" * Define some portability stuff |
| 13 .\" ----------------------------------------------------------------- |
| 14 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| 15 .\" http://bugs.debian.org/507673 |
| 16 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html |
| 17 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| 18 .ie \n(.g .ds Aq \(aq |
| 19 .el .ds Aq ' |
| 20 .\" ----------------------------------------------------------------- |
| 21 .\" * set default formatting |
| 22 .\" ----------------------------------------------------------------- |
6 .\" disable hyphenation | 23 .\" disable hyphenation |
7 .nh | 24 .nh |
8 .\" disable justification (adjust text to left margin only) | 25 .\" disable justification (adjust text to left margin only) |
9 .ad l | 26 .ad l |
| 27 .\" ----------------------------------------------------------------- |
| 28 .\" * MAIN CONTENT STARTS HERE * |
| 29 .\" ----------------------------------------------------------------- |
10 .SH "NAME" | 30 .SH "NAME" |
11 xdg\-screensaver \- command line tool for controlling the screensaver | 31 xdg-screensaver \- command line tool for controlling the screensaver |
12 .SH "SYNOPSIS" | 32 .SH "SYNOPSIS" |
13 .HP 16 | 33 .HP \w'\fBxdg\-screensaver\fR\ 'u |
14 \fBxdg\-screensaver\fR \fBsuspend\ \fR\fB\fIWindowID\fR\fR | 34 \fBxdg\-screensaver\fR \fBsuspend\ \fR\fB\fIWindowID\fR\fR |
15 .HP 16 | 35 .HP \w'\fBxdg\-screensaver\fR\ 'u |
16 \fBxdg\-screensaver\fR \fBresume\ \fR\fB\fIWindowID\fR\fR | 36 \fBxdg\-screensaver\fR \fBresume\ \fR\fB\fIWindowID\fR\fR |
17 .HP 16 | 37 .HP \w'\fBxdg\-screensaver\fR\ 'u |
18 \fBxdg\-screensaver\fR {\fBactivate\fR \fBlock\fR \fBreset\fR \fBstatus\fR} | 38 \fBxdg\-screensaver\fR {\fBactivate\fR | \fBlock\fR | \fBreset\fR | \fBstatus\fR
} |
19 .HP 16 | 39 .HP \w'\fBxdg\-screensaver\fR\ 'u |
20 \fBxdg\-screensaver\fR {\fB\-\-help\fR \fB\-\-manual\fR \fB\-\-version\fR} | 40 \fBxdg\-screensaver\fR {\fB\-\-help\fR | \fB\-\-manual\fR | \fB\-\-version\fR} |
21 .SH "DESCRIPTION" | 41 .SH "DESCRIPTION" |
22 .PP | 42 .PP |
23 xdg\-screensaver provides commands to control the screensaver. | 43 xdg\-screensaver provides commands to control the screensaver\&. |
24 .PP | 44 .PP |
25 xdg\-screensaver is for use inside a desktop session only. It is not recommended
to use xdg\-screensaver as root. | 45 xdg\-screensaver is for use inside a desktop session only\&. It is not recommend
ed to use xdg\-screensaver as root\&. |
26 .SH "COMMANDS" | 46 .SH "COMMANDS" |
27 .TP | 47 .PP |
28 \fBsuspend \fR\fB\fIWindowID\fR\fR | 48 \fBsuspend \fR\fB\fIWindowID\fR\fR |
29 Suspends the screensaver and monitor power management. | 49 .RS 4 |
| 50 Suspends the screensaver and monitor power management\&. |
30 \fIWindowID\fR | 51 \fIWindowID\fR |
31 must be the X Window ID of an existing window of the calling application. The wi
ndow must remain in existance for the duration of the suspension. | 52 must be the X Window ID of an existing window of the calling application\&. The
window must remain in existance for the duration of the suspension\&. |
32 .sp | 53 .sp |
33 WindowID can be represented as either a decimal number or as a hexadecimal numbe
r consisting of the prefix | 54 WindowID can be represented as either a decimal number or as a hexadecimal numbe
r consisting of the prefix |
34 \fI0x\fR | 55 \fI0x\fR |
35 followed by one or more hexadecimal digits. | 56 followed by one or more hexadecimal digits\&. |
36 .sp | 57 .sp |
37 The screensaver can be suspended in relation to multiple windows at the same tim
e. In that case screensaver operation is only restored once the screensaver has
been resumed in relation to each of the windows | 58 The screensaver can be suspended in relation to multiple windows at the same tim
e\&. In that case screensaver operation is only restored once the screensaver ha
s been resumed in relation to each of the windows |
38 .TP | 59 .RE |
| 60 .PP |
39 \fBresume \fR\fB\fIWindowID\fR\fR | 61 \fBresume \fR\fB\fIWindowID\fR\fR |
40 Resume the screensaver and monitor power management after being suspended. | 62 .RS 4 |
| 63 Resume the screensaver and monitor power management after being suspended\&. |
41 \fIWindowID\fR | 64 \fIWindowID\fR |
42 must be the same X Window ID that was passed to a previous call of | 65 must be the same X Window ID that was passed to a previous call of |
43 \fBxdg\-screensaver suspend\fR | 66 \fBxdg\-screensaver suspend\fR |
44 .TP | 67 .RE |
| 68 .PP |
45 \fBactivate\fR | 69 \fBactivate\fR |
46 Turns the screensaver on immediately. This may result in the screen getting lock
ed, depending on existing system policies. | 70 .RS 4 |
47 .TP | 71 Turns the screensaver on immediately\&. This may result in the screen getting lo
cked, depending on existing system policies\&. |
| 72 .RE |
| 73 .PP |
48 \fBlock\fR | 74 \fBlock\fR |
49 Lock the screen immediately. | 75 .RS 4 |
50 .TP | 76 Lock the screen immediately\&. |
| 77 .RE |
| 78 .PP |
51 \fBreset\fR | 79 \fBreset\fR |
52 Turns the screensaver off immediately. If the screen was locked the user may be
asked to authenticate first. | 80 .RS 4 |
53 .TP | 81 Turns the screensaver off immediately\&. If the screen was locked the user may b
e asked to authenticate first\&. |
| 82 .RE |
| 83 .PP |
54 \fBstatus\fR | 84 \fBstatus\fR |
| 85 .RS 4 |
55 Prints | 86 Prints |
56 \fIenabled\fR | 87 \fIenabled\fR |
57 to stdout if the screensaver is enabled to turn on after a period of inactivity
and prints | 88 to stdout if the screensaver is enabled to turn on after a period of inactivity
and prints |
58 \fIdisabled\fR | 89 \fIdisabled\fR |
59 if the screensaver is not enabled. | 90 if the screensaver is not enabled\&. |
| 91 .RE |
60 .SH "OPTIONS" | 92 .SH "OPTIONS" |
61 .TP | 93 .PP |
62 \fB\-\-help\fR | 94 \fB\-\-help\fR |
63 Show command synopsis. | 95 .RS 4 |
64 .TP | 96 Show command synopsis\&. |
| 97 .RE |
| 98 .PP |
65 \fB\-\-manual\fR | 99 \fB\-\-manual\fR |
66 Show this manualpage. | 100 .RS 4 |
67 .TP | 101 Show this manualpage\&. |
| 102 .RE |
| 103 .PP |
68 \fB\-\-version\fR | 104 \fB\-\-version\fR |
69 Show the xdg\-utils version information. | 105 .RS 4 |
| 106 Show the xdg\-utils version information\&. |
| 107 .RE |
70 .SH "EXIT CODES" | 108 .SH "EXIT CODES" |
71 .PP | 109 .PP |
72 An exit code of 0 indicates success while a non\-zero exit code indicates failur
e. The following failure codes can be returned: | 110 An exit code of 0 indicates success while a non\-zero exit code indicates failur
e\&. The following failure codes can be returned: |
73 .TP | 111 .PP |
74 \fB1\fR | 112 \fB1\fR |
75 Error in command line syntax. | 113 .RS 4 |
76 .TP | 114 Error in command line syntax\&. |
| 115 .RE |
| 116 .PP |
77 \fB3\fR | 117 \fB3\fR |
78 A required tool could not be found. | 118 .RS 4 |
79 .TP | 119 A required tool could not be found\&. |
| 120 .RE |
| 121 .PP |
80 \fB4\fR | 122 \fB4\fR |
81 The action failed. | 123 .RS 4 |
| 124 The action failed\&. |
| 125 .RE |
82 .SH "EXAMPLES" | 126 .SH "EXAMPLES" |
83 .PP | 127 .PP |
| 128 |
| 129 .sp |
| 130 .if n \{\ |
| 131 .RS 4 |
| 132 .\} |
84 .nf | 133 .nf |
85 xdg\-screensaver suspend 0x1c00007 | 134 xdg\-screensaver suspend 0x1c00007 |
86 .fi | 135 .fi |
| 136 .if n \{\ |
| 137 .RE |
| 138 .\} |
87 .sp | 139 .sp |
88 Causes the screensaver to be disabled till | 140 Causes the screensaver to be disabled till |
89 \fBxdg\-screensaver resume 0x1c00007\fR | 141 \fBxdg\-screensaver resume 0x1c00007\fR |
90 is called. | 142 is called\&. |
91 \fI0x1c00007\fR | 143 \fI0x1c00007\fR |
92 must be the X Window ID of an existing window. | 144 must be the X Window ID of an existing window\&. |
93 .SH "AUTHOR" | 145 .SH "AUTHOR" |
94 Bryce Harrington. | 146 .PP |
| 147 \fBBryce Harrington\fR |
| 148 .RS 4 |
| 149 Author. |
| 150 .RE |
| 151 .SH "COPYRIGHT" |
95 .br | 152 .br |
96 <bryce@osdl.org> | 153 Copyright \(co 2006 |
| 154 .br |
OLD | NEW |