I’ve been using Firefox to view PDFs and it works fine. Recently though I wanted to try something more minimal with vim keybindings. Found two options: Zathura and tdf (terminal pdf viewer).

What I’m curious about is why someone would choose a TUI pdf viewer over a regular one (like Zathura). What are the actual advantages people find in practice. tdf mentions being fast but I wonder if that’s something you’d actually notice day to day?

Also I remember seeing screenshots where PDFs looked transparent or matched the terminal colors. Is that actually a feature of some of these viewers ? Maybe someone uses one here?

Tdf seems relatively popular with 1.4k github stars.

  • golden_zealot@lemmy.ml
    link
    fedilink
    English
    arrow-up
    1
    ·
    2 days ago

    It’s the same reason I like TUI utilities like tiv, the terminal image viewer.

    Sometimes I don’t want to have my workflow broken just to quickly check the contents or layout of what the file contains, I just need to glance at it and continue with what I’m doing.

  • www-gem@lemmy.ml
    link
    fedilink
    arrow-up
    3
    ·
    3 days ago

    Unless you have already made a decision and feel strong about Zathura, I’d like to mention Sioyek. It’s definitely an underrated pick for terminal PDF readers. It works just as well as Zathura, and can even go wayyyy beyond it.

      • hoppolito@mander.xyz
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 day ago

        Sioyek really is amazing, especially for academic-style reading with a lot of jumping back and forth, and very customizable. I also heartily recommend it, but do be aware that there are some rough edges remaining.

        If you ever get stuck, there are a lot of additional tricks and workarounds for some of the quirks hidden in the project’s github issues. And if there’s a feature you feel sorely missing check out the main branch version instead of the latest official point release which is a couple years behind now (e.g. still missing integrated dual-page view which the development version has for close to 2 years now)

        • chasteinsect@programming.devOP
          link
          fedilink
          arrow-up
          3
          ·
          1 day ago

          Yeah I noticed the main AUR package was last updated in June 2024. Thought they abandoned it but the GitHub shows the last release was around the same time. Downloaded sioyek-git instead and it works great.

          I think I’m sticking with Sioyek. It checks enough boxes for what I need from a pdf viewer. Well documented, no performance issues, and it supports epub too.

          The command line tools, portals, ruler for reading, keyboard text selection, searchable highlights, easy file opening, marking. Really vim-like. Need to customize some keybinds but otherwise don’t see a reason to look elsewhere for now.

  • treadful@lemmy.zip
    link
    fedilink
    English
    arrow-up
    2
    ·
    3 days ago

    If you’re primary interface to your computer is a shell, then why not do this in a shell too? You likely already have your DE setup to handle shells. It fits within all your styling (no weridness between qt, gtk, etc).

    A better question might be, why run it in a GUI? What are you actually gaining from doing that?

    • andypiper@lemmy.world
      link
      fedilink
      arrow-up
      0
      ·
      3 days ago

      … zathura seems interesting, it has support for plugins for different document types, but it seemed to open a PDF in secondary window (albeit on a desktop), whereas tdf allowed me to access the PDF inline in ghostty, which was great.

  • Ŝan • 𐑖ƨɤ@piefed.zip
    link
    fedilink
    English
    arrow-up
    1
    arrow-down
    1
    ·
    3 days ago

    Þe fewer GUI programs I have to use, þe better. Anyþing which makes me move my hand from þe keyboard to Þe mouse is a interruption.

    Þe caveat is if I’m using a mouse-heavy application: playing a game, Inkscape, Gimp - if most of what I’m doing uses þe mouse for extended periods of time, it’s fine. I just don’t want to be constantly moving my hand back and forth.