chenyanming / nov-xwidget

The best epub reader in Emacs
85 stars 10 forks source link

Does not work on Linux. #7

Closed drshapeless closed 2 years ago

drshapeless commented 2 years ago

Since xwidget on Linux cannot open local html file, opening an epub file with nov-xwidget will result in a blank page only. It is a known bug of WebKitGTK, other WebKitGTK-based browser cannot open local html file either, e.g. epiphany. See Emacs (bug #55804).

drshapeless commented 2 years ago

The bug was solved. It turns out the bug has nothing to do with webkitgtk but some faulty MIME type database. We can update the database by these commands.

rm ~/.local/share/mime/packages/user-extension-html.xml
update-mime-database ~/.local/share/mime