View Single Post
Old 02-17-2017, 08:41 AM   #25
pazos
cosiņeiro
pazos will become famous soon enoughpazos will become famous soon enoughpazos will become famous soon enoughpazos will become famous soon enoughpazos will become famous soon enoughpazos will become famous soon enoughpazos will become famous soon enough
 
Posts: 55
Karma: 730
Join Date: Apr 2014
Device: kobo mini (3.4.1) / kindle paperwhite (5.3.9)
Quote:
Originally Posted by linshi View Post
Could you upload the modified file please?
Nope, instructions? yees:

1. Plug the ereader to your computer
2. Open the file explorer and find the file koreader.sh under .adds/koreader or .kobo/koreader, those folders are hidden by default in linux and mac, but visible on windows.
3. Open the file .adds/koreader/koreader.sh or .kobo/koreader/koreader.sh in your editor of choice. If you are using windows notepad++ will do the job.

4. find the string:
Code:
./reader.lua "${args}" >> crash.log 2>&1
5. paste:
before the string
Code:
geometry=`fbset | grep geometry | sed 's/ /*/g' | xargs`
last_geom=`fbset | grep geometry | xargs`
geom1=`echo $geometry | cut -d "*" -f2`
geom2=`echo $geometry | cut -d "*" -f3`
geom3=`echo $geometry | cut -d "*" -f4`
geom4=`echo $geometry | cut -d "*" -f5`
fbset -geometry $geom1 $geom2 $geom3 $geom4 16
and after the string
Code:
fbset -$last_geom
6. save the file & unplug the device
pazos is offline   Reply With Quote