Menu

Cannot open PDF files

Tim
2023-09-16
2023-10-06
  • Tim

    Tim - 2023-09-16

    Hi,
    Just installed the PDFGrepGUI. Liked the GUI version very much but when I double-click on the file (in the Result field), it popped up with an error message stating that it could not open the PDF file (qpdfview program did open but blank with this error message). When I tried to change it to Okular, it came up with an error "Okular not found" and did not run Okular.

    Could anyone help please?

    Thank you.

     
  • Tim

    Tim - 2023-09-16

    I do not mind either qpdfview or Okular. I will try any other PDF viewers out there for Linux. But I prefer qpdfview better.

    Your help to the above problem would greatly be appreciated.

    Thank you.

     
  • Stephan Stein

    Stephan Stein - 2023-09-28

    Hi Tim,
    sorry for the late reply.

    I have installed qpdfview and I've changed in the options - preferences - PDF Viewer to:
    qpdfview --search $SEARCH $FILE#$PAGE

    Unfortunately that did not work, so I've changed it to:
    qpdfview --search $SEARCH $FILE

    This worked, but you are sometimes not on the correct page, as always only the first page with the search string will be shown. Perhaps I can change this in the next version.

    If you want to use Okular please try:
    okular --find $SEARCH -p $PAGE $FILE
    If Okular won't be found, please start a Terminal and type : which okular
    There should be a result like : /usr/bin/okular
    Please change the entry in the options, adding the path from the output of the terminal : /usr/bin/okular --find $SEARCH -p $PAGE $FILE
    If the result of the terminal is empty, okular is likely not installed.

    I hope this will help.
    Best regards
    Stephan

     
  • Stephan Stein

    Stephan Stein - 2023-10-06

    Hello to All,
    the software was updated to V0.7.1.
    Now qpdfview should also work with the entry in the options:
    qpdfview --search $SEARCH $FILE#$PAGE
    BR
    Stephan

     

Log in to post a comment.

MongoDB Logo MongoDB