diff options
author | Waldo Bastian <waldo.bastian@intel.com> | 2006-07-29 00:05:28 +0000 |
---|---|---|
committer | Waldo Bastian <waldo.bastian@intel.com> | 2006-07-29 00:05:28 +0000 |
commit | 2d0cfe02737e2e984d3cd467fb3fe81180a1fa78 (patch) | |
tree | 4ace5d4b704689c8ac1e9575591dcb59b957ede7 /scripts/html | |
parent | 581e6f3172a979fed67077ef5f9383f70ccf03d2 (diff) |
Changed syntax for "xdg-mime query default":
it now takes a mimetype instead of a file
Diffstat (limited to 'scripts/html')
-rw-r--r-- | scripts/html/xdg-mime.html | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/scripts/html/xdg-mime.html b/scripts/html/xdg-mime.html index a0b1038..1f5ddea 100644 --- a/scripts/html/xdg-mime.html +++ b/scripts/html/xdg-mime.html @@ -1,20 +1,19 @@ <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>xdg-mime</title><meta name="generator" content="DocBook XSL Stylesheets V1.69.1"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="refentry" lang="en"><a name="xdg-mime"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>xdg-mime — command line tool for querying information about file type handling -and adding descriptions for new file types</p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><div class="cmdsynopsis"><p><code class="command">xdg-mime</code> query { filetype | default } <em class="replaceable"><code>FILE</code></em> </p></div><div class="cmdsynopsis"><p><code class="command">xdg-mime</code> default <em class="replaceable"><code>application</code></em> <em class="replaceable"><code>mimetype(s)</code></em> </p></div><div class="cmdsynopsis"><p><code class="command">xdg-mime</code> install { <code class="option">--user</code> | <code class="option">--system</code> } <em class="replaceable"><code>mimetypes-file</code></em> </p></div><div class="cmdsynopsis"><p><code class="command">xdg-mime</code> uninstall { <code class="option">--user</code> | <code class="option">--system</code> } <em class="replaceable"><code>mimetypes-file</code></em> </p></div><div class="cmdsynopsis"><p><code class="command">xdg-mime</code> { <code class="option">--help</code> | <code class="option">--manual</code> | <code class="option">--version</code> }</p></div></div><div class="refsect1" lang="en"><a name="description"></a><h2>Description</h2><p> +and adding descriptions for new file types</p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><div class="cmdsynopsis"><p><code class="command">xdg-mime</code> query { filetype | default } ... </p></div><div class="cmdsynopsis"><p><code class="command">xdg-mime</code> default <em class="replaceable"><code>application</code></em> <em class="replaceable"><code>mimetype(s)</code></em> </p></div><div class="cmdsynopsis"><p><code class="command">xdg-mime</code> install { <code class="option">--user</code> | <code class="option">--system</code> } <em class="replaceable"><code>mimetypes-file</code></em> </p></div><div class="cmdsynopsis"><p><code class="command">xdg-mime</code> uninstall { <code class="option">--user</code> | <code class="option">--system</code> } <em class="replaceable"><code>mimetypes-file</code></em> </p></div><div class="cmdsynopsis"><p><code class="command">xdg-mime</code> { <code class="option">--help</code> | <code class="option">--manual</code> | <code class="option">--version</code> }</p></div></div><div class="refsect1" lang="en"><a name="description"></a><h2>Description</h2><p> The xdg-mime program can be used to query information about file types and to add descriptions for new file types. </p></div><div class="refsect1" lang="en"><a name="commands"></a><h2>Commands</h2><div class="variablelist"><dl><dt><span class="term">query</span></dt><dd><p> - Returns information related to the file type of - <em class="replaceable"><code>FILE</code></em>. + Returns information related to file types. </p><p> The <span class="emphasis"><em>query</em></span> option is for use inside a desktop session only. It is not recommended to use xdg-mime query as root. </p><p> The following queries are supported: - </p><p><span class="emphasis"><em>filetype</em></span>: + </p><p>query filetype <em class="replaceable"><code>FILE</code></em>: Returns the file type of <em class="replaceable"><code>FILE</code></em> in the form of a MIME type. - </p><p><span class="emphasis"><em>default</em></span>: + </p><p>query default <em class="replaceable"><code>mimetype</code></em>: Returns the default application that the desktop environment uses for opening - <em class="replaceable"><code>FILE</code></em>. The default applications is + files of type <em class="replaceable"><code>mimetype</code></em>. The default application is identified by its *.desktop file. </p></dd><dt><span class="term">default</span></dt><dd><p> Ask the desktop environment to make <em class="replaceable"><code>application</code></em> |