xdg-mime replaces "file" as default MIME identifying command. "file" kept as last resource fallback

This commit is contained in:
Jean-Francois Dockes
2016-02-26 08:49:13 +01:00
parent b4c1fd033a
commit 110ee2d809
2 changed files with 26 additions and 9 deletions
+4 -2
View File
@@ -215,11 +215,13 @@ idxflushmb = 10
# identification ? This may be useful, but will usually cause the
# indexation of many bogus 'text' files
usesystemfilecommand = 1
# Actual command to use as "file -i" workalike. xdg-mime works fine here.
# Actual command to use as "file -i" workalike.
# The file path will be added as a last parameter to the command line. If
# that's not what your preferred command would like, use an intermediary
# script.
# systemfilecommand = xdg-mime query filetype
# xdg-mime now works better than the traditional "file" command, and is now
# the configured default (with a hard-coded fallback to "file")
systemfilecommand = xdg-mime query filetype
# systemfilecommand = file -i filetype
# Should we index the file names of files with mime types we don't