View Single Post
Old 07-02-2013, 12:40 PM   #39
giorgio130
Time Waster
giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.giorgio130 ought to be getting tired of karma fortunes by now.
 
Posts: 422
Karma: 289160
Join Date: May 2011
Device: Kobo Glo and Aura HD
I think @cgm999 meant that the second time you start it from ssh the screen is updated correctly. That is quite strange, but you could probably obtain the same behaviour by changing koreader_kobo.sh with this:
Code:
#!/bin/sh
export LC_ALL="en_US.UTF-8"

# we're always starting from our working directory
cd /mnt/onboard/.kobo/koreader/

# export trained OCR data directory
export TESSDATA_PREFIX="data"

# export dict directory
export STARDICT_DATA_DIR="data/dict"

# stop nickel
killall nickel

# finally call reader
./reader.lua "$1" 2> crash.log &
sleep 1
killall reader.lua
./reader.lua "$1" 2> crash.log

# continue with nickel

reboot
basically the change is, we're starting koreader, wait 1 sec and then closing it, and reopen another instance (that would hopefully work).
Please test this and let me know!
giorgio130 is offline   Reply With Quote