GNU gv (pdf/postscript graphical viewer)

8 respostas [Última entrada]
damidu
Desconectado
Joined: 03/30/2021

Hi, if you are searching about an alternate pdfviewer there is "gv".

"GNU GV allows viewing and navigating PostScript and PDF documents on an X display, by providing a graphical user interface for the Ghostscript interpreter." I use it with ratpoison.

$ sudo apt-get install gv

https://www.gnu.org/software/gv/

damidu
Desconectado
Joined: 03/30/2021

It's stupid but there is an option "fit to window" :-) and the pdf will be in full screen mode.

damidu
Desconectado
Joined: 03/30/2021

You can start in full screen mode. No distraction and you are focused on your pdf document.

gv -fullscreen yourpdf.pdf &

And click on Fit width to window. But it's a personal taste ;-)

Legimet
Desconectado
Joined: 12/10/2013

Also try MuPDF (a PDF (and other document formats) library that comes with a barebones viewer). In my experience it seems to work better than Poppler, the library that most GNU/Linux PDF viewers use.

andyprough
Desconectado
Joined: 02/12/2015

Wow, nice and ugly. I like it.

damidu
Desconectado
Joined: 03/30/2021

Mupdf is nice too. gv looks beautiful on a big screen. It use ghostscript and you can looks your pdf on the command line with ghostscript but I don't really now how to use it properly. A nice thing is that it come from the GNU project.

damidu
Desconectado
Joined: 03/30/2021

I'm tacking another approach that is nice too. Use "pdftotext" to read the file in emacs, on a tty.

$ pdftotext my_pdf.pdf

I use a 12,5" laptop. I don't care about graphics.

damidu
Desconectado
Joined: 03/30/2021

If you don't open your pdf files with the root account it should be have no problems. It is not a closed format, I think you can inspect them. The worse will be damage with your user session. Pdf viewers are like web browser, they interpret commands. If the pdf file is not evil, it should have no problems.

gv is ugly ;-) but it's wonderful on a 4k display.

Legimet
Desconectado
Joined: 12/10/2013

> The worse will be damage with your user session.

This reminds me of https://xkcd.com/1200/