View Single Post
Old 03-25-2017, 03:08 PM   #2714
Alan_S
Evangelist
Alan_S ought to be getting tired of karma fortunes by now.Alan_S ought to be getting tired of karma fortunes by now.Alan_S ought to be getting tired of karma fortunes by now.Alan_S ought to be getting tired of karma fortunes by now.Alan_S ought to be getting tired of karma fortunes by now.Alan_S ought to be getting tired of karma fortunes by now.Alan_S ought to be getting tired of karma fortunes by now.Alan_S ought to be getting tired of karma fortunes by now.Alan_S ought to be getting tired of karma fortunes by now.Alan_S ought to be getting tired of karma fortunes by now.Alan_S ought to be getting tired of karma fortunes by now.
 
Alan_S's Avatar
 
Posts: 446
Karma: 1084584
Join Date: Aug 2007
Location: Sisak, Croatia
Device: Kobo Aura H2O, Kobo Aura ONE
This is already programmed into koreader, you can use text, image, or directory with images for both suspend and power off.

Here you can found instructions: https://github.com/koreader/koreader/pull/2349

Here is how to do with images:

Quote:
["suspend_screensaver"] = {
["path"] = "/mnt/onboard/.screensaver/sleeping"
},
["poweroff_screensaver"] = {
["path"] = "/mnt/onboard/.screensaver/powered_off"
},
You either point it to image file, or directory where images are located.

You put this into settings.reader.lua file. But, to be safe, made backup before editing settings.reader.lua file because if you use wrong syntax file will be deleted and you'll use all your settings. So saving it before editing is best bet not to have problems.

On thread there you have more informations, so read all posts there if you're interested in more info.
Alan_S is offline   Reply With Quote