Hacker News .hnnew | past | comments | ask | show | jobs | submitlogin

> 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.



Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: