OLD | NEW |
(Empty) | |
| 1 .\" ** You probably do not want to edit this file directly ** |
| 2 .\" It was generated using the DocBook XSL Stylesheets (version 1.69.1). |
| 3 .\" Instead of manually editing it, you probably should edit the DocBook XML |
| 4 .\" source for it and then use the DocBook XSL Stylesheets to regenerate it. |
| 5 .TH "XDG\-SCREENSAVER" "1" "06/24/2007" "xdg\-utils 1.0" "" |
| 6 .\" disable hyphenation |
| 7 .nh |
| 8 .\" disable justification (adjust text to left margin only) |
| 9 .ad l |
| 10 .SH "NAME" |
| 11 xdg\-screensaver \- command line tool for controlling the screensaver |
| 12 .SH "SYNOPSIS" |
| 13 .HP 16 |
| 14 \fBxdg\-screensaver\fR \fBsuspend\ \fR\fB\fIWindowID\fR\fR |
| 15 .HP 16 |
| 16 \fBxdg\-screensaver\fR \fBresume\ \fR\fB\fIWindowID\fR\fR |
| 17 .HP 16 |
| 18 \fBxdg\-screensaver\fR {\fBactivate\fR \fBlock\fR \fBreset\fR \fBstatus\fR} |
| 19 .HP 16 |
| 20 \fBxdg\-screensaver\fR {\fB\-\-help\fR \fB\-\-manual\fR \fB\-\-version\fR} |
| 21 .SH "DESCRIPTION" |
| 22 .PP |
| 23 xdg\-screensaver provides commands to control the screensaver. |
| 24 .PP |
| 25 xdg\-screensaver is for use inside a desktop session only. It is not recommended
to use xdg\-screensaver as root. |
| 26 .SH "COMMANDS" |
| 27 .TP |
| 28 \fBsuspend \fR\fB\fIWindowID\fR\fR |
| 29 Suspends the screensaver and monitor power management. |
| 30 \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. |
| 32 .sp |
| 33 WindowID can be represented as either a decimal number or as a hexadecimal numbe
r consisting of the prefix |
| 34 \fI0x\fR |
| 35 followed by one or more hexadecimal digits. |
| 36 .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 |
| 38 .TP |
| 39 \fBresume \fR\fB\fIWindowID\fR\fR |
| 40 Resume the screensaver and monitor power management after being suspended. |
| 41 \fIWindowID\fR |
| 42 must be the same X Window ID that was passed to a previous call of |
| 43 \fBxdg\-screensaver suspend\fR |
| 44 .TP |
| 45 \fBactivate\fR |
| 46 Turns the screensaver on immediately. This may result in the screen getting lock
ed, depending on existing system policies. |
| 47 .TP |
| 48 \fBlock\fR |
| 49 Lock the screen immediately. |
| 50 .TP |
| 51 \fBreset\fR |
| 52 Turns the screensaver off immediately. If the screen was locked the user may be
asked to authenticate first. |
| 53 .TP |
| 54 \fBstatus\fR |
| 55 Prints |
| 56 \fIenabled\fR |
| 57 to stdout if the screensaver is enabled to turn on after a period of inactivity
and prints |
| 58 \fIdisabled\fR |
| 59 if the screensaver is not enabled. |
| 60 .SH "OPTIONS" |
| 61 .TP |
| 62 \fB\-\-help\fR |
| 63 Show command synopsis. |
| 64 .TP |
| 65 \fB\-\-manual\fR |
| 66 Show this manualpage. |
| 67 .TP |
| 68 \fB\-\-version\fR |
| 69 Show the xdg\-utils version information. |
| 70 .SH "EXIT CODES" |
| 71 .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: |
| 73 .TP |
| 74 \fB1\fR |
| 75 Error in command line syntax. |
| 76 .TP |
| 77 \fB3\fR |
| 78 A required tool could not be found. |
| 79 .TP |
| 80 \fB4\fR |
| 81 The action failed. |
| 82 .SH "EXAMPLES" |
| 83 .PP |
| 84 .nf |
| 85 xdg\-screensaver suspend 0x1c00007 |
| 86 .fi |
| 87 .sp |
| 88 Causes the screensaver to be disabled till |
| 89 \fBxdg\-screensaver resume 0x1c00007\fR |
| 90 is called. |
| 91 \fI0x1c00007\fR |
| 92 must be the X Window ID of an existing window. |
| 93 .SH "AUTHOR" |
| 94 Bryce Harrington. |
| 95 .br |
| 96 <bryce@osdl.org> |
OLD | NEW |