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

Unified Diff: scripts/desc/xdg-settings.xml

Issue 7433003: Allow xdg-settings to set the default OS handler for url protocols. (Closed) Base URL: http://src.chromium.org/svn/trunk/deps/third_party/xdg-utils/
Patch Set: '' Created 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | scripts/html/xdg-settings.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: scripts/desc/xdg-settings.xml
===================================================================
--- scripts/desc/xdg-settings.xml (revision 84895)
+++ scripts/desc/xdg-settings.xml (working copy)
@@ -8,7 +8,7 @@
<refentryinfo>
<title>xdg-settings Manual</title>
<copyright>
- <year>2009</year>
+ <year>2009-2011</year>
</copyright>
<author>
<firstname>Mike</firstname>
@@ -40,6 +40,9 @@
<option>property</option>
</group>
<group choice="opt">
+ <option>subproperty</option>
+ </group>
+ <group choice="opt">
<option>value</option>
</group>
</cmdsynopsis>
@@ -108,6 +111,19 @@
</varlistentry>
</variablelist>
</refsect1>
+ <refsect1 id="properties">
+ <title>Properties</title>
+ <para>
+ When using xdg-settings to get, check or set a destkop setting, properties
+ and possibly sub-properties are used to specify the setting to be changed.
+ </para>
+ <para>
+ Some properties (such as default-web-browser) fully describe the setting
+ to be changed. Other properties (such as default-url-scheme-handler) require
+ more information (in this case the actual scheme to set the default handler
+ for) which must be provided in a sub-property.
+ </para>
+ </refsect1>
<refsect1 id="exitcodes">
<title>Exit Codes</title>
<para>
@@ -171,5 +187,11 @@
xdg-settings set default-web-browser google-chrome.desktop
</programlisting>
</para>
+ <para>
+ Set the default mailto URL scheme handler to be evolution.desktop
+ <programlisting>
+ xdg-settings set default-url-scheme-handler mailto evolution.desktop
+ </programlisting>
+ </para>
</refsect1>
</refentry>
« no previous file with comments | « no previous file | scripts/html/xdg-settings.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698