pwmt / zathura

Document viewer
https://pwmt.org/projects/zathura
zlib License
2.05k stars 144 forks source link

zathura ... can't find plugin? #370

Closed sebastinas closed 5 months ago

sebastinas commented 1 year ago

On GitLab by @ArchieLinux on Jan 5, 2023, 21:04


Greetings! This is likely a simple issue but I can't seem to figure it out. Perhaps someone here can shed some light?

Context: On my Arch/EndeavourOS/i3 setup, I'm trying to run zathura for previewing pdf files within nnn (as a plugin related to preview-tabbed)

After confirming all dependencies have been installed, I do get a zathura preview window that opens next to my nnn window (from which I called it while a pdf file is highlighted). But it's empty - except for a header that says "org.pwmt.zathura" and a footer than says "[No name]"

So finally I try to run to run zathura directly from my bash CLI with a pdf file as the argument and this what follows are the errors I get in response:

error: Found no plugins. Please install at least one plugin.
error: Could not determine file type.

I've looked through the man zathura and man zathurarc (which I don't have yet, so perhaps that's the problem?) and don't see an obvious problem to be addressed. What plugins do I need to install (perhaps within usr/lib/zathura directory - which is currently empty)?

I thought zathura WAS the plugin (for preview-tabbed within nnn).

Any tips to resolve this would be welcomed!

sebastinas commented 1 year ago

On GitLab by @valoq on Jan 5, 2023, 21:55


Zathura is a document viewer that uses plugins for different backend parsers.

If you want to view pdf files, you will need to install either zathura-pdf-poppler or zathura-pdf-mupdf

Arch plugin list: https://archlinux.org/packages/?q=zathura-

sebastinas commented 1 year ago

On GitLab by @ArchieLinux on Jan 5, 2023, 22:15


@valoq Awesome!

Your guidance resulted in an immediate resolution to my issue by installing zathura-pdf-mupdf.

Don't know how I missed the need to do this previously (I didn't spot it in the nnn documentation nor the preview-tabbed plugin docs where installation instructions for needing zathura for pdf viewing were noted without further elaboration. MANY THANKS!

Hopefully the posting of my silly problem and your perfect and prompt reply will help someone else along the way in the future. :-)