diff options
Diffstat (limited to 'scripts/html/xdg-mime.html')
-rw-r--r-- | scripts/html/xdg-mime.html | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/scripts/html/xdg-mime.html b/scripts/html/xdg-mime.html new file mode 100644 index 0000000..d8a5635 --- /dev/null +++ b/scripts/html/xdg-mime.html @@ -0,0 +1,22 @@ +<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.68.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 providing information about file type handling</p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><div class="cmdsynopsis"><p><code class="command">xdg-mime</code> [<code class="option">--help</code>] [<code class="option">--info <em class="replaceable"><code>FILE</code></em></code>] [<code class="option">--defapp <em class="replaceable"><code>FILE</code></em></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 + </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> + Show this help. + </dd><dt><span class="term"> <code class="option">--info</code> <em class="replaceable"><code>FILE</code></em></span></dt><dd> + Returns the file type of <em class="replaceable"><code>FILE</code></em> in the form of a MIME type. + </dd><dt><span class="term"> <code class="option">--defapp</code> <em class="replaceable"><code>FILE</code></em></span></dt><dd> + Returns the default application that the desktop environment uses for opening + <em class="replaceable"><code>FILE</code></em>. The default applications is + identified by its *.desktop file. + </dd></dl></div></div><div class="refsect1" lang="en"><a name="examples"></a><h2>Examples</h2><p> +</p><pre class="programlisting"> +xdg-mime --info /tmp/foobar.png +</pre><p> + Prints the MIME type of the file /tmp/foobar.png + </p><p> +</p><pre class="programlisting"> +xdg-mime --defapp /tmp/foobar.png +</pre><p> + Prints the name of the .desktop file of the application which is + registered to open files of the MIME type the file /tmp/foobar.png has + </p></div></div></body></html> |