Thread: Kobo Start Menu
View Single Post
Old 06-10-2014, 12:38 PM   #222
pazos
cosiņeiro
pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.pazos ought to be getting tired of karma fortunes by now.
 
Posts: 1,406
Karma: 2451781
Join Date: Apr 2014
Device: BQ Cervantes 4
@Ken Maltby: I'm aware that reader.lua can be called with some arguments, but when we call koreader (from shell, from start menu or from fmon) we normally don't call the reader.lua itself, but the koreader.sh script, which in kindles does:

./reader.lua $@ 2>crash.log

this means that if you call koreader.sh without arguments in a kindle koreader boot with last opened document ($@ == "")

in kobos koreader.sh does:

./reader.lua /mnt/onboard/ 2>crash.log, ignoring all arguments passed away.

If we wish to keep both files the same as possible calling koreader.sh on kobos without arguments will open koreader with last opened document, and for have the standard behaviour right now we need to call:

koreader.sh /mnt/onboard


I can't explain myself in english very well
pazos is offline   Reply With Quote