View Single Post
Old 02-17-2015, 05:47 AM   #38
libertango
Connoisseur
libertango is a marvel to beholdlibertango is a marvel to beholdlibertango is a marvel to beholdlibertango is a marvel to beholdlibertango is a marvel to beholdlibertango is a marvel to beholdlibertango is a marvel to beholdlibertango is a marvel to beholdlibertango is a marvel to beholdlibertango is a marvel to beholdlibertango is a marvel to behold
 
Posts: 74
Karma: 11628
Join Date: Nov 2013
Device: kobo clara hd, kobo glo hd, kobo aura h2o, kobo touch, kindle dx
Quote:
Originally Posted by tshering View Post
Some locations have changed in koreader, I think it should now go like this:

Spoiler:
Step 1
copy readerpaging.lua to readerpaging2.lua; make the appropriate changes in readerpaging2.lua

Step 2
copy koreader\frontend\apps\reader\readerui.lua to koreader\frontend\apps\reader\readerui2.lua

Replace in readerui2.lua
Code:
local ReaderPaging = require("apps/reader/modules/readerpaging")
with
Code:
local ReaderPaging = require("apps/reader/modules/readerpaging2")
Step 3
copy koreader\reader.lua to koreader\reader2.lua
Replace in reader2.lua
Code:
local ReaderUI = require("apps/reader/readerui")
with
Code:
local ReaderUI = require("apps/reader/readerui2")
This line occurs twice in the file, replace both occurrences.

Step 4
copy koreader\koreader.sh to kbmenu\scripts\koreader2.sh
replace in koreader2.sh
Code:
./reader.lua $args 2> crash.log
with
Code:
./reader2.lua $args 2> crash.log
If your koreader folder is in .kobo, then you are finished here. If however you moved the folder to .adds (cf. this post), then you have to replace the line
Code:
KOREADER_DIR=/mnt/onboard/.kobo/koreader
with
Code:
KOREADER_DIR=/mnt/onboard/.adds/koreader


By the way, there would be an easier method, but it needs more space on the disk. You can duplicate your koreader folder and name it (for instance) koreader-2. Then and make your changes to readerpaging.lua of koreader-2. You can call tkoreader-2 via "koreader additions" > "select koreader versions" > koreader-2". Be aware that the settings and the history lists of these two koreaders are separate. Whether this is useful depends on your needs.





Maybe replace in koreader.sh of koreader and koreader-2
Code:
./reader.lua $args 2> crash.log
by
Code:
./reader.lua /mnt/onboard/.mybooks 2> crash.log
or similar.
Do I understand well that these changes are mandatory to use Koreader? This could make me wait for a new version of Koreader to be available before installing KSM 07.
libertango is offline   Reply With Quote