Download Latest Version pdfgrepgui_0.9.2_source.zip (45.6 kB)
Email in envelope

Get an email when there's a new version of PdfgrepGui

Home / v0.2
Name Modified Size InfoDownloads / Week
Parent folder
README 2022-03-03 2.8 kB
pdfgrepgui_source.zip 2022-03-03 25.1 kB
pdfgrepgui_amd64.deb 2022-03-03 1.1 MB
Totals: 3 Items   1.1 MB 0
PDFGrep GUI for Linux

last cange on V0.1:
fixex bug: Error out of index, when no pdf was given or no results were found 


Depends on : pdfgrep

Description:
This is a simple GUI for the command line tool pdfgrep. It can only uses the options -i (ignore case) and -P (PCRE), -n (Print page number with output lines) and -H (Print the file name for each match). The -r option will be done by the program itself. As far as legally permissible, there is no guarantee and no liability given, when using this software. You are using this software on your own risk. This software was programmed to the best of my knowledge and belief, but there can be still bugs, which could cause an unlikely damage.

Performance:
This GUI works well when searching in about 100-200 pdf Documents (depends on the speed of your computer and the length of the pdf documents). On my computer searching in 470 documents took about 80 seconds. The GUI needs about 10% longer than the command line tool. If you need more performance you can have a look on Searchmonkey or ripgrep. 

Config Dir:
[homedir]/.config/pdfgrepgui

Available Languages (at the moment):
- English
- German
You can add your own language by editing the file [homedir]/.config/pdfgrepgui/language.set

Format of language.set: DDXXX=VALUE

DD is a running, unique number per language. Every entry in the same language MUST start with the same number.
XXX is the place holder for the entry (men1 stand for 'Menu entry one')
VALUE is the text in the specific language

Example: 00lang=English

In order to make you own translation copy all lines, which start with the same number and paste it at the end of the file (please don't leave empty lines in the file).
Change all numbers at the beginning of the copied text to a new unique number and replace the values (after the'=') in your language.
If you have made your own translation please send it to stephan.stein@online.de, I will place it on the homepage, so everyone can download it.

PDF Viewers:
In order to be able to doubleclick on a search result, in order to open it with an external document viewer, a viewer have to be installed and you have enter the name of the viewer in the options (menu/options)
At the first program start the program tries to find an installed document viewer. The following viewers are checked:
Viewer 	Example for options (not tested)

Okular (KDE)	okular -p $PAGE $FILE

Evince (Gnome)	evince -p $PAGE -l $SEARCH $FILE

Atril (MATE)	atril -p $PAGE -l $SEARCH $FILE

XPDF 	    xpdf $FILE $PAGE

Gostview 	gv -page=$PAGE $FILE'

Mupdf 	    mupdf $FILE $PAGE

Qpdfview 	qpdfview $FILE#$PAGE

$PAGE, $SEARCH and $FILE are placeholders, which will be automatically replaced by page number, search pattern (won't work with PCRE expressions) and filename by double clicking on the search results.

Source: README, updated 2022-03-03