XDG-SCREENSAVER(1)XDG-SCREENSAVER(1)NAME
xdg-screensaver - command line tool for controlling the screensaver
SYNOPSIS
xdg-screensaver suspend WindowID
xdg-screensaver resume WindowID
xdg-screensaver {activate lock reset status}
xdg-screensaver {--help --manual --version}
DESCRIPTION
xdg-screensaver provides commands to control the screensaver.
xdg-screensaver is for use inside a desktop session only. It is not recommended to use xdg-screensaver as root.
COMMANDS
suspend WindowID
Suspends the screensaver and monitor power management. WindowID 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.
WindowID can be represented as either a decimal number or as a hexadecimal number consisting of the prefix 0x followed by one or
more hexadecimal digits.
The screensaver can be suspended in relation to multiple windows at the same time. In that case screensaver operation is only
restored once the screensaver has been resumed in relation to each of the windows
resume WindowID
Resume the screensaver and monitor power management after being suspended. WindowID must be the same X Window ID that was passed to
a previous call of xdg-screensaver suspend
activate
Turns the screensaver on immediately. This may result in the screen getting locked, depending on existing system policies.
lock Lock the screen immediately.
reset Turns the screensaver off immediately. If the screen was locked the user may be asked to authenticate first.
status Prints enabled to stdout if the screensaver is enabled to turn on after a period of inactivity and prints disabled if the
screensaver is not enabled.
OPTIONS --help Show command synopsis.
--manual
Show this manualpage.
--version
Show the xdg-utils version information.
EXIT CODES
An exit code of 0 indicates success while a non-zero exit code indicates failure. The following failure codes can be returned:
1 Error in command line syntax.
3 A required tool could not be found.
4 The action failed.
EXAMPLES
xdg-screensaver suspend 0x1c00007
Causes the screensaver to be disabled till xdg-screensaver resume 0x1c00007 is called. 0x1c00007 must be the X Window ID of an existing
window.
AUTHOR
Bryce Harrington.
<bryce@osdl.org>
xdg-utils 1.0 06/24/2007 XDG-SCREENSAVER(1)
Check Out this Related Man Page
XDG-EMAIL(1)XDG-EMAIL(1)NAME
xdg-email - command line tool for sending mail using the user's preferred e-mail composer
SYNOPSIS
xdg-email [--utf8] [--cc address] [--bcc address] [--subject text] [--body text] [--attach file] [mailto-uri address(es)]
xdg-email {--help --manual --version}
DESCRIPTION
xdg-email opens the user's preferred e-mail composer in order to send a mail to address(es) or mailto-uri. RFC2368 defines mailto: URIs.
xdg-email limits support to, cc, subject and body fields in mailto-uri, all other fields are silently ignored. address(es) must follow the
syntax of RFC822. Multiple addresses may be provided as separate arguments.
All information provided on the command line is used to prefill corresponding fields in the user's e-mail composer. The user will have the
opportunity to change any of this information before actually sending the e-mail.
xdg-email is for use inside a desktop session only. It is not recommended to use xdg-email as root.
See http://portland.freedesktop.org/EmailConfig for information on how the user can change the e-mail composer that is used.
OPTIONS --utf8 Indicates that all command line options that follow are in utf8. Without this option, command line options are expected to be
encoded according to locale. If the locale already specifies utf8 this option has no effect. This option does not affect mailto URIs
that are passed on the command line.
--cc address
Specify a recipient to be copied on the e-mail.
--bcc address
Specify a recipient to be blindly copied on the e-mail.
--subject text
Specify a subject for the e-mail.
--body text
Specify a body for the e-mail. Since the user will be able to make changes before actually sending the e-mail, this can be used to
provide the user with a template for the e-mail. text may contain linebreaks.
--attach file
Specify an attachment for the e-mail. file must point to an existing file.
Some e-mail applications require the file to remain present after xdg-email returns.
--help Show command synopsis.
--manual
Show this manualpage.
--version
Show the xdg-utils version information.
ENVIRONMENT VARIABLES
xdg-email honours the following environment variables:
XDG_UTILS_DEBUG_LEVEL
Setting this environment variable to a non-zero numerical value makes xdg-email do more verbose reporting on stderr. Setting a
higher value increases the verbosity.
EXIT CODES
An exit code of 0 indicates success while a non-zero exit code indicates failure. The following failure codes can be returned:
1 Error in command line syntax.
2 One of the files passed on the command line did not exist.
3 A required tool could not be found.
4 The action failed.
5 No permission to read one of the files passed on the command line.
CONFIGURATION
Visit http://portland.freedesktop.org/EmailConfig for information how to configure xdg-email to use the email client of your choice.
EXAMPLES
xdg-email 'Jeremy White <jwhite@example.com>'
xdg-email --attach /tmp/logo.png
--subject 'Logo contest'
--body 'Attached you find the logo for the contest.'
'jwhite@example.com'
xdg-email --subject 'Your password is about to expire'
'jwhite@example.com' 'bastian@example.com' 'whipple@example.com'
AUTHOR
Kevin Krammer, Jeremy White.
<kevin.krammer@gmx.at>
<jwhite@codeweavers.com>
xdg-utils 1.0 06/24/2007 XDG-EMAIL(1)