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

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

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
Property Changes:
Added: svn:eol-style
+ LF
OLDNEW
(Empty)
1 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859 -1"><title>xdg-settings</title><meta name="generator" content="DocBook XSL Style sheets V1.75.2"></head><body bgcolor="white" text="black" link="#0000FF" vlink=" #840084" alink="#0000FF"><div class="refentry" title="xdg-settings"><a name="xdg -settings"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2 ><p>xdg-settings &#8212; get various settings from the desktop environment</p></ div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><div class="cm dsynopsis"><p><code class="command">xdg-settings</code> { <code class="option"> <em class="replaceable"><code>get</code></em></code> | <code class="option">< em class="replaceable"><code>check</code></em></code> | <code class="option"> <em class="replaceable"><code>set</code></em></code> } {<code class="option">pro perty</code>} [<code class="option">value</code>]</p></div><div class="cmdsynops is"><p><code class="command">xdg-settings</code> { <code class="option">--help< /code> | <code class="option">--list</code> | <code class="option">--manua l</code> | <code class="option">--version</code> }</p></div></div><div class= "refsect1" title="Description"><a name="description"></a><h2>Description</h2><p>
2 xdg-settings gets various settings from the desktop environment.
3 For instance, desktop environments often provide proxy configuration
4 and default web browser settings. Using xdg-settings these parameters
5 can be extracted for use by applications that do not use the desktop
6 environment's libraries (which would use the settings natively).
7 </p><p>
8 xdg-settings is for use inside a desktop session only.
9 It is not recommended to use xdg-settings as root.
10 </p></div><div class="refsect1" title="Options"><a name="options"></a><h2>Op tions</h2><div class="variablelist"><dl><dt><span class="term"><code class="opti on">--help</code></span></dt><dd>
11 Show command synopsis.
12 </dd><dt><span class="term"><code class="option">--list</code></span>< /dt><dd>
13 List all properties xdg-settings knows about.
14 </dd><dt><span class="term"><code class="option">--manual</code></span ></dt><dd>
15 Show this manualpage.
16 </dd><dt><span class="term"><code class="option">--version</code></spa n></dt><dd>
17 Show the xdg-utils version information.
18 </dd></dl></div></div><div class="refsect1" title="Exit Codes"><a name ="exitcodes"></a><h2>Exit Codes</h2><p>
19 An exit code of 0 indicates success while a non-zero exit code
20 indicates failure. The following failure codes can be returned:
21 </p><div class="variablelist"><dl><dt><span class="term"><code class="option ">1</code></span></dt><dd>
22 Error in command line syntax.
23 </dd><dt><span class="term"><code class="option">2</code></span></dt>< dd>
24 One of the files passed on the command line did not exist.
25 </dd><dt><span class="term"><code class="option">3</code></span></dt>< dd>
26 A required tool could not be found.
27 </dd><dt><span class="term"><code class="option">4</code></span></dt>< dd>
28 The action failed.
29 </dd></dl></div></div><div class="refsect1" title="Examples"><a name=" examples"></a><h2>Examples</h2><p>
30 Get the desktop file name of the current default web browser
31 </p><pre class="programlisting">
32 xdg-settings get default-web-browser
33 </pre><p>
34 </p><p>
35 Check whether the default web browser is firefox.desktop, which can be
36 false even if "get default-web-browser" says that is the current value
37 (if only some of the underlying settings actually reflect that value)
38 </p><pre class="programlisting">
39 xdg-settings check default-web-browser firefox.desktop
40 </pre><p>
41 </p><p>
42 Set the default web browser to google-chrome.desktop
43 </p><pre class="programlisting">
44 xdg-settings set default-web-browser google-chrome.desktop
45 </pre><p>
46 </p></div></div></body></html>
OLDNEW
« no previous file with comments | « third_party/xdg-utils/scripts/html/xdg-screensaver.html ('k') | third_party/xdg-utils/scripts/html/xdg-su.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698