Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 <?xml version="1.0"?> | 1 <?xml version="1.0"?> |
| 2 <?xml-stylesheet type="text/xsl" | 2 <?xml-stylesheet type="text/xsl" |
| 3 href="http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl "?> | 3 href="http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl "?> |
| 4 <!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN" | 4 <!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN" |
| 5 "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd" [ | 5 "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd" [ |
| 6 ]> | 6 ]> |
| 7 <refentry id="xdg-settings"> | 7 <refentry id="xdg-settings"> |
| 8 <refentryinfo> | 8 <refentryinfo> |
| 9 <title>xdg-settings Manual</title> | 9 <title>xdg-settings Manual</title> |
| 10 <copyright> | 10 <copyright> |
| (...skipping 22 matching lines...) Expand all Loading... | |
| 33 <command>xdg-settings</command> | 33 <command>xdg-settings</command> |
| 34 <group choice="req"> | 34 <group choice="req"> |
| 35 <arg choice="plain"><option><replaceable>get</replaceable></option></arg > | 35 <arg choice="plain"><option><replaceable>get</replaceable></option></arg > |
| 36 <arg choice="plain"><option><replaceable>check</replaceable></option></a rg> | 36 <arg choice="plain"><option><replaceable>check</replaceable></option></a rg> |
| 37 <arg choice="plain"><option><replaceable>set</replaceable></option></arg > | 37 <arg choice="plain"><option><replaceable>set</replaceable></option></arg > |
| 38 </group> | 38 </group> |
| 39 <group choice="req"> | 39 <group choice="req"> |
| 40 <option>property</option> | 40 <option>property</option> |
| 41 </group> | 41 </group> |
| 42 <group choice="opt"> | 42 <group choice="opt"> |
| 43 <option>subproperty</option> | |
| 44 </group> | |
| 45 <group choice="opt"> | |
| 43 <option>value</option> | 46 <option>value</option> |
| 44 </group> | 47 </group> |
| 45 </cmdsynopsis> | 48 </cmdsynopsis> |
| 46 <cmdsynopsis> | 49 <cmdsynopsis> |
| 47 <command>xdg-settings</command> | 50 <command>xdg-settings</command> |
| 48 <group choice="req"> | 51 <group choice="req"> |
| 49 <arg choice="plain"><option>--help</option></arg> | 52 <arg choice="plain"><option>--help</option></arg> |
| 50 <arg choice="plain"><option>--list</option></arg> | 53 <arg choice="plain"><option>--list</option></arg> |
| 51 <arg choice="plain"><option>--manual</option></arg> | 54 <arg choice="plain"><option>--manual</option></arg> |
| 52 <arg choice="plain"><option>--version</option></arg> | 55 <arg choice="plain"><option>--version</option></arg> |
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 101 <varlistentry> | 104 <varlistentry> |
| 102 <term><option>--version</option></term> | 105 <term><option>--version</option></term> |
| 103 <listitem> | 106 <listitem> |
| 104 <simpara> | 107 <simpara> |
| 105 Show the xdg-utils version information. | 108 Show the xdg-utils version information. |
| 106 </simpara> | 109 </simpara> |
| 107 </listitem> | 110 </listitem> |
| 108 </varlistentry> | 111 </varlistentry> |
| 109 </variablelist> | 112 </variablelist> |
| 110 </refsect1> | 113 </refsect1> |
| 114 <refsect1 id="properties"> | |
| 115 <title>Properties</title> | |
| 116 <para> | |
| 117 When using xdg-settings to get, check or set a destkop setting, properties | |
| 118 and possibly sub-properties are used to specify the setting to be changed. | |
| 119 </para> | |
| 120 <para> | |
| 121 Some properties (such as default-web-browser) fully describe the setting | |
| 122 to be changed. Other properties (such as default-url-scheme-handler) requi re | |
| 123 more information (in this case the actual scheme to set the default handle r | |
| 124 for) which must be provided in a sub-property. | |
| 125 </para> | |
| 126 </refsect1> | |
| 111 <refsect1 id="exitcodes"> | 127 <refsect1 id="exitcodes"> |
| 112 <title>Exit Codes</title> | 128 <title>Exit Codes</title> |
| 113 <para> | 129 <para> |
| 114 An exit code of 0 indicates success while a non-zero exit code | 130 An exit code of 0 indicates success while a non-zero exit code |
| 115 indicates failure. The following failure codes can be returned: | 131 indicates failure. The following failure codes can be returned: |
| 116 </para> | 132 </para> |
| 117 <variablelist> | 133 <variablelist> |
| 118 <varlistentry> | 134 <varlistentry> |
| 119 <term><option>1</option></term> | 135 <term><option>1</option></term> |
| 120 <listitem> | 136 <listitem> |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 164 <programlisting> | 180 <programlisting> |
| 165 xdg-settings check default-web-browser firefox.desktop | 181 xdg-settings check default-web-browser firefox.desktop |
| 166 </programlisting> | 182 </programlisting> |
| 167 </para> | 183 </para> |
| 168 <para> | 184 <para> |
| 169 Set the default web browser to google-chrome.desktop | 185 Set the default web browser to google-chrome.desktop |
| 170 <programlisting> | 186 <programlisting> |
| 171 xdg-settings set default-web-browser google-chrome.desktop | 187 xdg-settings set default-web-browser google-chrome.desktop |
| 172 </programlisting> | 188 </programlisting> |
| 173 </para> | 189 </para> |
| 190 <para> | |
| 191 Set the default mailto URL scheme handler to be evolution.desktop | |
| 192 <programlisting> | |
| 193 xdg-settings set default-url-scheme-handler evolution.desktop | |
|
Mike Mammarella
2011/07/20 00:58:11
Should there be a mailto in here somewhere?
benwells
2011/07/20 04:33:42
Done.
| |
| 194 </programlisting> | |
| 195 </para> | |
| 174 </refsect1> | 196 </refsect1> |
| 175 </refentry> | 197 </refentry> |
| OLD | NEW |