Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(81)

Side by Side Diff: third_party/xdg-utils/scripts/man/xdg-open.1

Issue 6737007: Update xdg-utils to the latest version available in git. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/
Patch Set: Created 9 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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-open
3 .\" Instead of manually editing it, you probably should edit the DocBook XML 3 .\" Author: Kevin Krammer
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\-OPEN" "1" "06/24/2007" "xdg\-utils 1.0" "" 5 .\" Date: 12/31/2010
6 .\" Manual: xdg-open Manual
7 .\" Source: xdg-utils 1.0
8 .\" Language: English
9 .\"
10 .TH "XDG\-OPEN" "1" "12/31/2010" "xdg-utils 1.0" "xdg-open 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\-open \- opens a file or URL in the user's preferred application 31 xdg-open \- opens a file or URL in the user\*(Aqs preferred application
12 .SH "SYNOPSIS" 32 .SH "SYNOPSIS"
13 .HP 9 33 .HP \w'\fBxdg\-open\fR\ 'u
14 \fBxdg\-open\fR {\fB\fIfile\fR\fR \fB\fIURL\fR\fR} 34 \fBxdg\-open\fR {\fB\fIfile\fR\fR | \fB\fIURL\fR\fR}
15 .HP 9 35 .HP \w'\fBxdg\-open\fR\ 'u
16 \fBxdg\-open\fR {\fB\-\-help\fR \fB\-\-manual\fR \fB\-\-version\fR} 36 \fBxdg\-open\fR {\fB\-\-help\fR | \fB\-\-manual\fR | \fB\-\-version\fR}
17 .SH "DESCRIPTION" 37 .SH "DESCRIPTION"
18 .PP 38 .PP
19 xdg\-open opens a file or URL in the user's preferred application. If a URL is p rovided 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. 39 xdg\-open opens a file or URL in the user\*(Aqs preferred application\&. If a UR L 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 f iles of that type\&. xdg\-open supports file, ftp, http and https URLs\&.
20 .PP 40 .PP
21 xdg\-open is for use inside a desktop session only. It is not recommended to use xdg\-open as root. 41 xdg\-open is for use inside a desktop session only\&. It is not recommended to u se xdg\-open as root\&.
22 .SH "OPTIONS" 42 .SH "OPTIONS"
23 .TP 43 .PP
24 \fB\-\-help\fR 44 \fB\-\-help\fR
25 Show command synopsis. 45 .RS 4
26 .TP 46 Show command synopsis\&.
47 .RE
48 .PP
27 \fB\-\-manual\fR 49 \fB\-\-manual\fR
28 Show this manualpage. 50 .RS 4
29 .TP 51 Show this manualpage\&.
52 .RE
53 .PP
30 \fB\-\-version\fR 54 \fB\-\-version\fR
31 Show the xdg\-utils version information. 55 .RS 4
56 Show the xdg\-utils version information\&.
57 .RE
32 .SH "EXIT CODES" 58 .SH "EXIT CODES"
33 .PP 59 .PP
34 An exit code of 0 indicates success while a non\-zero exit code indicates failur e. The following failure codes can be returned: 60 An exit code of 0 indicates success while a non\-zero exit code indicates failur e\&. The following failure codes can be returned:
35 .TP 61 .PP
36 \fB1\fR 62 \fB1\fR
37 Error in command line syntax. 63 .RS 4
38 .TP 64 Error in command line syntax\&.
65 .RE
66 .PP
39 \fB2\fR 67 \fB2\fR
40 One of the files passed on the command line did not exist. 68 .RS 4
41 .TP 69 One of the files passed on the command line did not exist\&.
70 .RE
71 .PP
42 \fB3\fR 72 \fB3\fR
43 A required tool could not be found. 73 .RS 4
44 .TP 74 A required tool could not be found\&.
75 .RE
76 .PP
45 \fB4\fR 77 \fB4\fR
46 The action failed. 78 .RS 4
79 The action failed\&.
80 .RE
47 .SH "EXAMPLES" 81 .SH "EXAMPLES"
48 .PP 82 .PP
83
84 .sp
85 .if n \{\
86 .RS 4
87 .\}
49 .nf 88 .nf
50 xdg\-open 'http://www.freedesktop.org/' 89 xdg\-open \*(Aqhttp://www\&.freedesktop\&.org/\*(Aq
51 .fi 90 .fi
91 .if n \{\
92 .RE
93 .\}
52 .sp 94 .sp
53 Opens the Freedesktop.org website in the user's default browser 95 Opens the Freedesktop\&.org website in the user\*(Aqs default browser
54 .PP 96 .PP
97
98 .sp
99 .if n \{\
100 .RS 4
101 .\}
55 .nf 102 .nf
56 xdg\-open /tmp/foobar.png 103 xdg\-open /tmp/foobar\&.png
57 .fi 104 .fi
105 .if n \{\
106 .RE
107 .\}
58 .sp 108 .sp
59 Opens the PNG image file /tmp/foobar.png in the user's default image viewing app lication. 109 Opens the PNG image file /tmp/foobar\&.png in the user\*(Aqs default image viewi ng application\&.
60 .SH "FILES" 110 .SH "AUTHORS"
61 .PP 111 .PP
62 \fI/usr/share/applications/defaults.list ~/.local/share/applications\fR 112 \fBKevin Krammer\fR
63 .SH "SEE ALSO" 113 .RS 4
114 Author.
115 .RE
64 .PP 116 .PP
65 \fBxdg-mime\fR(1), 117 \fBJeremy White\fR
66 .SH "AUTHOR" 118 .RS 4
67 Kevin Krammer, Jeremy White. 119 Author.
120 .RE
121 .SH "COPYRIGHT"
68 .br 122 .br
69 <kevin.krammer@gmx.at> 123 Copyright \(co 2006
70 .br 124 .br
71 <jwhite@codeweavers.com>
OLDNEW
« no previous file with comments | « third_party/xdg-utils/scripts/man/xdg-mime.1 ('k') | third_party/xdg-utils/scripts/man/xdg-screensaver.1 » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698