I am looking for a GUI program that opens a pdf from stdin.
For instance, if pdf_stdin is the command that opens my pdf from stdin, I'd like to use
ggp -d -r [email protected] encrypted.pdf.gpg -o - | pdf_stdinman -t arpwatch | pdf_stdin
I am looking for a GUI program that opens a pdf from stdin.
For instance, if pdf_stdin is the command that opens my pdf from stdin, I'd like to use
ggp -d -r [email protected] encrypted.pdf.gpg -o - | pdf_stdinman -t arpwatch | pdf_stdinZathura (archwiki) is a minimalist document viewer (PDF/PS/Djvu/CB). It can display documents from stdin.
cat foo.pdf | zathura -
The version on my system saves the pipe temporarily to /tmp, so the displayed document is seekable. The temporary file is cleaned up afterward and has reasonably secure permissions, but these could be security concerns.
$ ls -l /tmp/z*
-rw------- 1 user user 1640882 Mar 23 06:26 /tmp/zathura.stdin.97PFXY
It's available in the standard repositories on Arch, Debian and Ubuntu.