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

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

Issue 151098: Patch from mdm@google.com... (Closed) Base URL: svn://chrome-svn/chrome/trunk/deps/
Patch Set: Created 11 years, 5 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
(Empty)
1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859 -1"><title>xdg-open</title><meta name="generator" content="DocBook XSL Styleshee ts V1.69.1"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840 084" alink="#0000FF"><div class="refentry" lang="en"><a name="xdg-open"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>xdg-open &#8212 ; opens a file or URL in the user's preferred application</p></div><div class="r efsynopsisdiv"><h2>Synopsis</h2><div class="cmdsynopsis"><p><code class="command ">xdg-open</code> { <code class="option"><em class="replaceable"><code>file</co de></em></code> | <code class="option"><em class="replaceable"><code>URL</cod e></em></code> }</p></div><div class="cmdsynopsis"><p><code class="command">xdg- open</code> { <code class="option">--help</code> | <code class="option">--ma nual</code> | <code class="option">--version</code> }</p></div></div><div cla ss="refsect1" lang="en"><a name="description"></a><h2>Description</h2><p>
2 xdg-open opens a file or URL in the user's preferred application.
3 If a URL is provided the URL will be opened in the user's preferred
4 web browser. If a file is provided the file will be opened in the
5 preferred application for files of that type. xdg-open supports
6 file, ftp, http and https URLs.
7 </p><p>
8 xdg-open is for use inside a desktop session only.
9 It is not recommended to use xdg-open as root.
10 </p></div><div class="refsect1" lang="en"><a name="options"></a><h2>Options< /h2><div class="variablelist"><dl><dt><span class="term"><code class="option">-- help</code></span></dt><dd>
11 Show command synopsis.
12 </dd><dt><span class="term"><code class="option">--manual</code></span ></dt><dd>
13 Show this manualpage.
14 </dd><dt><span class="term"><code class="option">--version</code></spa n></dt><dd>
15 Show the xdg-utils version information.
16 </dd></dl></div></div><div class="refsect1" lang="en"><a name="exitcod es"></a><h2>Exit Codes</h2><p>
17 An exit code of 0 indicates success while a non-zero exit code
18 indicates failure. The following failure codes can be returned:
19 </p><div class="variablelist"><dl><dt><span class="term"><code class="option ">1</code></span></dt><dd>
20 Error in command line syntax.
21 </dd><dt><span class="term"><code class="option">2</code></span></dt>< dd>
22 One of the files passed on the command line did not exist.
23 </dd><dt><span class="term"><code class="option">3</code></span></dt>< dd>
24 A required tool could not be found.
25 </dd><dt><span class="term"><code class="option">4</code></span></dt>< dd>
26 The action failed.
27 </dd></dl></div></div><div class="refsect1" lang="en"><a name="example s"></a><h2>Examples</h2><p>
28 </p><pre class="programlisting">
29 xdg-open 'http://www.freedesktop.org/'
30 </pre><p>
31 Opens the Freedesktop.org website in the user's default browser
32 </p><p>
33 </p><pre class="programlisting">
34 xdg-open /tmp/foobar.png
35 </pre><p>
36 Opens the PNG image file /tmp/foobar.png in the user's default image
37 viewing application.
38 </p></div></div></body></html>
OLDNEW
« no previous file with comments | « third_party/xdg-utils/scripts/html/xdg-mime.html ('k') | third_party/xdg-utils/scripts/html/xdg-screensaver.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698