View Single Post
Old 09-14-2013, 10:33 AM   #551
paola
Wizard
paola ought to be getting tired of karma fortunes by now.paola ought to be getting tired of karma fortunes by now.paola ought to be getting tired of karma fortunes by now.paola ought to be getting tired of karma fortunes by now.paola ought to be getting tired of karma fortunes by now.paola ought to be getting tired of karma fortunes by now.paola ought to be getting tired of karma fortunes by now.paola ought to be getting tired of karma fortunes by now.paola ought to be getting tired of karma fortunes by now.paola ought to be getting tired of karma fortunes by now.paola ought to be getting tired of karma fortunes by now.
 
paola's Avatar
 
Posts: 2,824
Karma: 5843878
Join Date: Oct 2010
Location: UK
Device: Pocketbook Pro 903, (beloved Pocketbook 360 RIP), Kobo Mini, Kobo Aura
Quote:
Originally Posted by Markismus View Post
Giorgio posts somewhere that the koreader builds are also meant as 1-step-hacks---at least after you have some way of running scripts s.a. filemonitor.

I found it a better practice to rename the old koreader directory to e.g. koreader397 and copy the new koreader next to it.

If you do not want to move dictionaries and OCR-files(dict and tessdata dirs in koreader/data) every time, the koreader_kobo.sh files allows you to define directories separate from the install:
# export trained OCR data directory
export TESSDATA_PREFIX="../_Dict"

# export dict directory
export STARDICT_DATA_DIR="../_Dict/dict"
This would allow you to store the dict and tessdata dirs in a separate, new directory called _Dict in the .kobo directory.

If you do not want to edit the koreader_kobo.sh script every time you rename and copy, than you could move it to the .kobo directory, too. Just remember to tell filemonitor where it is.
excellent, many thanks - i am going to play around with this today :-)
paola is offline   Reply With Quote