I’m running Termux with XFCE desktop on Android. I only just realized that the only program I currently have installed that can properly open PDFs is GIMP, and that’s extreme overkill as I just want a lightweight reader, no need to manipulate them as images ya know.

Also, related side question, are there any lightweight Linux terminal programs that can export PDF as plain text? I’m kinda hoping to pipe the text output of George Orwell 1984 through espeak reader and have Linux read it out to me…

Edit: Plain text and speech engine questions solved, and rather simple no less. This is the refined version BTW, --stdin is necessary to make espeak read the entire document.

pdftotext go-1984.pdf -|espeak --stdin

  • palordrolap@fedia.io
    link
    fedilink
    arrow-up
    3
    ·
    7 hours ago

    Firefox can view PDFs so I assume Chrome also has that ability, and you’re likely to already have one or the other if you’re already using your computer for web browsing.

    If you need something stand-alone, one of the Evince family might also suit your purpose. Evince = GNOME Document Viewer and XFCE is GTK-based, which seems like a good match. There’s also Atril which is a MATE fork and Xreader, which is a fork of Atril, from Linux Mint’s Xapps project.

    LibreOffice, as mentioned by another respondent, has the ability to modify PDFs if not outright edit them, i.e. ability to place text boxes on top of the document, so you could theoretically use it to digitally complete a form you’ve been sent as a PDF and save it out as one. That may be worth jumping through the hoops if that sounds like a feature you might want.

    • over_clox@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      2
      ·
      7 hours ago

      Yeah, I’m posting from Firefox right now, another commenter mentioned this just a few minutes ago. Honestly I’m not sure why the hell I didn’t think to try that first LMFAO! Guess I’m a fucking idiot…

      Obligatory, fuck Chrome though, I ain’t got the space for their stupid weights.bin file, and I rather like the uBlock Origins plugin…

      • palordrolap@fedia.io
        link
        fedilink
        arrow-up
        2
        ·
        7 hours ago

        My bad. I didn’t see the other post about Firefox.

        Not using Chrome solves the weights.bin problem, of course, but if I had no choice, I’d maybe replace weights.bin with a read-only zero-size file to see what happens.

        • over_clox@lemmy.worldOP
          link
          fedilink
          English
          arrow-up
          1
          ·
          7 hours ago

          Hahaha! I like your train of thought, I’d love to know the results of a read-only zero-size weights.bin file!

          For realz though, I’m running Termux on a tablet with only 3GB RAM and barely able to keep ~3.5GB storage space free at any given moment, so Chrome ain’t getting any of my attention ya know…