Hacker News new | ask | show | jobs
by SkySkimmer 1500 days ago
> Okular works nicely for .cbz files (zip files of images.) Oddly, it won't open the same files named with a .zip extension. Not a terrible inconvenience, just a little odd.

This can be made to work if you tell mime that zip is an alias for cbz: put

    <?xml version="1.0"?>
    <mime-info xmlns='http://www.freedesktop.org/standards/shared-mime-info'>
    
      <mime-type type="application/zip">
        <alias type="application/x-cbz"/>
      </mime-type>
    
    </mime-info>
in ~/.local/share/mime/packages/some-name.xml then run "update-mime-database ~/.local/share/mime"

I've had this for 2 years and 2 days and haven't noticed any issues.