<#secure method=pgpmime mode=sign> I spent half an hour working this out this morning. There are two reasons that indexing djvu files doesn't work with the default setup:
1) Tracker doesn't think it should try to extract the contents of the files with MIME type image/vnd.djvu. 2) Tracker doesn't know how to do so. To fix 1), you need to change the /usr/share/tracker/services/default.service config file. It has various categories, such as [Files], [Documents] etc. Each of these categories has a "HasFullText" property, which defalts to false. Unless image/vnd.djvu is in a category with HasFullText true, Tracker won't even try to extract full text. A solution: Append "image/vnd.djvu;" to the "Mimes" line in the [Documents] section. (this seems reasonable, since djvu files are kinda like pdfs, which also live in this category) However, you still need to fix 2). It seems that the text extraction filters that tracker uses live in /usr/lib/tracker/filters and have the filename <mimetype>_filter. When the MIME type has two parts, this corresponds to a directory. So tracker seems to look for the djvu filter in /usr/lib/tracker/filters/image/vnd.djvu_filter So link this to the (working) filter in text/djvu_filter. If you're trying to get this working on your system (rather than changing the install method for the package), you could try something like sudo mkdir /usr/lib/tracker/filters/image/ cd /usr/lib/tracker/filters/image sudo ln -s /usr/lib/tracker/filters/text/djvu_filter . This should make everything work. If you're trying to fix your own system, you'll need to delete ~/.local/share/tracker/data/common.db (which caches the settings we changed in step 1) and restart tracker. Something like "killall trackerd" probably works (and then restart it!). Rupert -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org