| Index: third_party/xdg-utils/scripts/man/xdg-open.1
|
| ===================================================================
|
| --- third_party/xdg-utils/scripts/man/xdg-open.1 (revision 79890)
|
| +++ third_party/xdg-utils/scripts/man/xdg-open.1 (working copy)
|
| @@ -1,71 +1,124 @@
|
| -.\" ** You probably do not want to edit this file directly **
|
| -.\" It was generated using the DocBook XSL Stylesheets (version 1.69.1).
|
| -.\" Instead of manually editing it, you probably should edit the DocBook XML
|
| -.\" source for it and then use the DocBook XSL Stylesheets to regenerate it.
|
| -.TH "XDG\-OPEN" "1" "06/24/2007" "xdg\-utils 1.0" ""
|
| +'\" t
|
| +.\" Title: xdg-open
|
| +.\" Author: Kevin Krammer
|
| +.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
|
| +.\" Date: 12/31/2010
|
| +.\" Manual: xdg-open Manual
|
| +.\" Source: xdg-utils 1.0
|
| +.\" Language: English
|
| +.\"
|
| +.TH "XDG\-OPEN" "1" "12/31/2010" "xdg-utils 1.0" "xdg-open Manual"
|
| +.\" -----------------------------------------------------------------
|
| +.\" * Define some portability stuff
|
| +.\" -----------------------------------------------------------------
|
| +.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
| +.\" http://bugs.debian.org/507673
|
| +.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
|
| +.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
| +.ie \n(.g .ds Aq \(aq
|
| +.el .ds Aq '
|
| +.\" -----------------------------------------------------------------
|
| +.\" * set default formatting
|
| +.\" -----------------------------------------------------------------
|
| .\" disable hyphenation
|
| .nh
|
| .\" disable justification (adjust text to left margin only)
|
| .ad l
|
| +.\" -----------------------------------------------------------------
|
| +.\" * MAIN CONTENT STARTS HERE *
|
| +.\" -----------------------------------------------------------------
|
| .SH "NAME"
|
| -xdg\-open \- opens a file or URL in the user's preferred application
|
| +xdg-open \- opens a file or URL in the user\*(Aqs preferred application
|
| .SH "SYNOPSIS"
|
| -.HP 9
|
| -\fBxdg\-open\fR {\fB\fIfile\fR\fR \fB\fIURL\fR\fR}
|
| -.HP 9
|
| -\fBxdg\-open\fR {\fB\-\-help\fR \fB\-\-manual\fR \fB\-\-version\fR}
|
| +.HP \w'\fBxdg\-open\fR\ 'u
|
| +\fBxdg\-open\fR {\fB\fIfile\fR\fR | \fB\fIURL\fR\fR}
|
| +.HP \w'\fBxdg\-open\fR\ 'u
|
| +\fBxdg\-open\fR {\fB\-\-help\fR | \fB\-\-manual\fR | \fB\-\-version\fR}
|
| .SH "DESCRIPTION"
|
| .PP
|
| -xdg\-open opens a file or URL in the user's preferred application. If a URL is provided the URL will be opened in the user's preferred web browser. If a file is provided the file will be opened in the preferred application for files of that type. xdg\-open supports file, ftp, http and https URLs.
|
| +xdg\-open opens a file or URL in the user\*(Aqs preferred application\&. If a URL is provided the URL will be opened in the user\*(Aqs preferred web browser\&. If a file is provided the file will be opened in the preferred application for files of that type\&. xdg\-open supports file, ftp, http and https URLs\&.
|
| .PP
|
| -xdg\-open is for use inside a desktop session only. It is not recommended to use xdg\-open as root.
|
| +xdg\-open is for use inside a desktop session only\&. It is not recommended to use xdg\-open as root\&.
|
| .SH "OPTIONS"
|
| -.TP
|
| +.PP
|
| \fB\-\-help\fR
|
| -Show command synopsis.
|
| -.TP
|
| +.RS 4
|
| +Show command synopsis\&.
|
| +.RE
|
| +.PP
|
| \fB\-\-manual\fR
|
| -Show this manualpage.
|
| -.TP
|
| +.RS 4
|
| +Show this manualpage\&.
|
| +.RE
|
| +.PP
|
| \fB\-\-version\fR
|
| -Show the xdg\-utils version information.
|
| +.RS 4
|
| +Show the xdg\-utils version information\&.
|
| +.RE
|
| .SH "EXIT CODES"
|
| .PP
|
| -An exit code of 0 indicates success while a non\-zero exit code indicates failure. The following failure codes can be returned:
|
| -.TP
|
| +An exit code of 0 indicates success while a non\-zero exit code indicates failure\&. The following failure codes can be returned:
|
| +.PP
|
| \fB1\fR
|
| -Error in command line syntax.
|
| -.TP
|
| +.RS 4
|
| +Error in command line syntax\&.
|
| +.RE
|
| +.PP
|
| \fB2\fR
|
| -One of the files passed on the command line did not exist.
|
| -.TP
|
| +.RS 4
|
| +One of the files passed on the command line did not exist\&.
|
| +.RE
|
| +.PP
|
| \fB3\fR
|
| -A required tool could not be found.
|
| -.TP
|
| +.RS 4
|
| +A required tool could not be found\&.
|
| +.RE
|
| +.PP
|
| \fB4\fR
|
| -The action failed.
|
| +.RS 4
|
| +The action failed\&.
|
| +.RE
|
| .SH "EXAMPLES"
|
| .PP
|
| +
|
| +.sp
|
| +.if n \{\
|
| +.RS 4
|
| +.\}
|
| .nf
|
| -xdg\-open 'http://www.freedesktop.org/'
|
| +xdg\-open \*(Aqhttp://www\&.freedesktop\&.org/\*(Aq
|
| .fi
|
| +.if n \{\
|
| +.RE
|
| +.\}
|
| .sp
|
| -Opens the Freedesktop.org website in the user's default browser
|
| +Opens the Freedesktop\&.org website in the user\*(Aqs default browser
|
| .PP
|
| +
|
| +.sp
|
| +.if n \{\
|
| +.RS 4
|
| +.\}
|
| .nf
|
| -xdg\-open /tmp/foobar.png
|
| +xdg\-open /tmp/foobar\&.png
|
| .fi
|
| +.if n \{\
|
| +.RE
|
| +.\}
|
| .sp
|
| -Opens the PNG image file /tmp/foobar.png in the user's default image viewing application.
|
| -.SH "FILES"
|
| +Opens the PNG image file /tmp/foobar\&.png in the user\*(Aqs default image viewing application\&.
|
| +.SH "AUTHORS"
|
| .PP
|
| -\fI/usr/share/applications/defaults.list ~/.local/share/applications\fR
|
| -.SH "SEE ALSO"
|
| +\fBKevin Krammer\fR
|
| +.RS 4
|
| +Author.
|
| +.RE
|
| .PP
|
| -\fBxdg-mime\fR(1),
|
| -.SH "AUTHOR"
|
| -Kevin Krammer, Jeremy White.
|
| +\fBJeremy White\fR
|
| +.RS 4
|
| +Author.
|
| +.RE
|
| +.SH "COPYRIGHT"
|
| .br
|
| -<kevin.krammer@gmx.at>
|
| +Copyright \(co 2006
|
| .br
|
| -<jwhite@codeweavers.com>
|
|
|