Skip to content

Instantly share code, notes, and snippets.

View nbeaver's full-sized avatar

Nathaniel M. Beaver nbeaver

  • Northeastern University
  • Boston, MA, USA
View GitHub Profile
@Gro-Tsen
Gro-Tsen / override.xml
Created May 15, 2019 13:23
Fix for DjVu files being detected as MIME type image/vnd.djvu instead of image/vnd.djvu+multipage
<?xml version="1.0" encoding="UTF-8"?>
<mime-info xmlns="http://www.freedesktop.org/standards/shared-mime-info">
<!-- Created on 2019-05-15 to fix a reappearance of this bug: -->
<!-- https://bugs.launchpad.net/ubuntu/+source/djvulibre/+bug/1778088 -->
<!-- (DjVu seen as image/vnd.djvu instead of image/vnd.djvu+multipage) -->
<!-- https://twitter.com/gro_tsen/status/1128645721614356480 -->
<!-- Run "update-mime-database ~/.local/share/mime" after creating this. -->
<!-- Use "xdg-mime query filetype some-file.djvu" to test. -->
<!-- - David A. Madore -->
<mime-type type="image/vnd.djvu+multipage">