Bug#502093: evince: register MIME-type djvu during installation

Emilio Pozuelo Monfort pochu at ubuntu.com
Sun Oct 26 13:53:25 UTC 2008


Frank Lehmann wrote:
> Hi,
> 
>>> I would suggest registering evince as application, that can handle
>>> djvu-files during installation. Would make life a bit easier for some
>>> newbies, probably. Hope, this is the right place to report at. 
>> Evince supports image/vnd.djvu files. Can you run 'file -i myfile' in
>> your djvu file and tell us the output?
> 
> Sorry for this causing this misconception! Evince works perfectly
> regarding djvu-files - but they are not registered as MIME-types during
> installation.

I think they are:

emilio at debian:~$ grep djvu /usr/share/applications/evince.desktop
MimeType=application/pdf;application/x-bzpdf;application/x-gzpdf;application/postscript;application/x-bzpostscript;application/x-gzpostscript;image/x-eps;image/x-bzeps;image/x-gzeps;application/x-dvi;application/x-bzdvi;application/x-gzdvi;image/vnd.djvu;image/tiff;application/x-cbr;application/x-cbz;image/*;application/vnd.sun.xml.impress;application/vnd.oasis.opendocument.presentation;

There is 'image/vnd.djvu' there.

That's why I was asking you to run 'file -i *.djvu', because perhaps there are
other MIME types for djvu files.

Anyway, I've just downloaded http://djvu.org/docs/DjVu3Spec.djvu, and then I've
double-clicked on it, and it has been opened with Evince.

> Example: I install Debian testing from the network-install
> CD, setup Gnome or KDE (including evince) and then try to open any
> djvu-file via double-click. They dont open by default in evince - except
> when you right-click the file and chose "open with..." and then use the
> command line to specify "evince" (I tried krusader, thunar and
> gnome-commander). Do you understand, what I want to express? I think, it
> shouldnt be that difficult to realize.

Yeah, I do. I've just created a new user and tried with it, and it worked fine too.

Can you please run 'file -i somefile.djvu' on a djvu file that has
the problem, and post here the output?

Thanks,
Emilio






More information about the pkg-gnome-maintainers mailing list