This commit is contained in:
Jean-Francois Dockes 2017-01-19 08:25:39 +01:00
parent de7c07677c
commit 4487ef723a
2 changed files with 10 additions and 1 deletions

View File

@ -6021,13 +6021,18 @@ x-my-tag = mailmytag
<para><filename>mimemap</filename> specifies the <para><filename>mimemap</filename> specifies the
file name extension to MIME type mappings.</para> file name extension to MIME type mappings.</para>
<para>For file names without an extension, or with an unknown one, <para>For file names without an extension, or with an unknown one,
a system command (<command>file</command> <option>-i</option>, or a system command (<command>file</command> <option>-i</option>, or
<command>xdg-mime</command>) will be executed to determine the MIME <command>xdg-mime</command>) will be executed to determine the MIME
type (this can be switched off, or the command changed inside the type (this can be switched off, or the command changed inside the
main configuration file).</para> main configuration file).</para>
<para>All extension values in <filename>mimemap</filename> must be
entered in lower case. File names extensions are lower-cased for
comparison during indexing, meaning that an upper case
<filename>mimemap</filename> entry will never be matched.</para>
<para>The mappings can be specified on a per-subtree basis, <para>The mappings can be specified on a per-subtree basis,
which may be useful in some cases. Example: which may be useful in some cases. Example:
<application>okular</application> notes have a <application>okular</application> notes have a

View File

@ -1,5 +1,9 @@
# (C) 2004 J.F.Dockes # (C) 2004 J.F.Dockes
# Associations of file name extensions to mime types # Associations of file name extensions to mime types
#
# All entries must be in lower case characters. File name extensions are
# lower-cased for comparison during indexing, meaning that an upper or
# mixed case entry will never be matched.
.txt = text/plain .txt = text/plain
.text = text/plain .text = text/plain