Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Readers > Kobo Reader > Kobo Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 01-30-2015, 03:15 PM   #1
frostschutz
Linux User
frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.
 
frostschutz's Avatar
 
Posts: 1,551
Karma: 3188593
Join Date: Sep 2010
Location: Heidelberg, Germany
Device: Kobo H2O, iriver StoryHD
Random Screensaver Image

This mod displays a random PNG image on sleep/poweroff. You can put your images in a hidden .addons/screensaver folder. Sample images included.

The image must be in PNG format, no spaces in the filename, extension .png (lower case). Not too many files in total (at most 1000 or so, maybe more if the file names are very short!).

Please report whether the mod works for you, (and on which device,) thanks!

To install, KoboRoot-ScreenSaver.tgz » .kobo/KoboRoot.tgz

There have been several changes:
  • Instead of /.ScreenSaver/ the folder is now in .addons/screensaver/
    I will be moving all of my mods to .addons/ in the near future so there are not twenty things in the main directory.
  • There is a configuration file in .addons/screensaver/screensaver.cfg
    Use a proper editor to edit it, not MS Notepad!
    Note: the configuration file will be created a few seconds after the device boots up and starts nickel. If you connect to PC instantly it may not be there yet and you have to reboot the Kobo and give it a few seconds - I'll fix this issue in a future version)
  • Two modes of operation: logread (the method used so far), scanline (a new method that requires setup but supports different image sets for sleep and poweroff)
  • Uninstall is now by setting uninstall=1 in the config file.

It appears the log messages the mod was using for logread mode no longer exist in 3.18.0 and there are no others to replace them, either. So you're now forced to use scanline mode ...

How to use Scanline mode: http://www.mobileread.com/forums/sho...35#post3165835
Attached Thumbnails
Click image for larger version

Name:	standby.jpg
Views:	282
Size:	80.6 KB
ID:	141785   Click image for larger version

Name:	shutdown.jpg
Views:	272
Size:	101.0 KB
ID:	141786  
Attached Files
File Type: zip KoboRoot-ScreenSaver-20150908.zip (235.5 KB, 795 views)

Last edited by frostschutz; 09-25-2015 at 06:02 AM.
frostschutz is offline   Reply With Quote
Old 01-30-2015, 03:28 PM   #2
boriar
Addict
boriar can understand the language of future parallel dimensionsboriar can understand the language of future parallel dimensionsboriar can understand the language of future parallel dimensionsboriar can understand the language of future parallel dimensionsboriar can understand the language of future parallel dimensionsboriar can understand the language of future parallel dimensionsboriar can understand the language of future parallel dimensionsboriar can understand the language of future parallel dimensionsboriar can understand the language of future parallel dimensionsboriar can understand the language of future parallel dimensionsboriar can understand the language of future parallel dimensions
 
Posts: 206
Karma: 51122
Join Date: Jan 2015
Device: bq Avant XL, Kobo Aura H2O, Onyx Boox M96C Plus
Is that one for nickel?
boriar is offline   Reply With Quote
Old 01-30-2015, 03:30 PM   #3
tshering
Wizard
tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.
 
Posts: 2,396
Karma: 897437
Join Date: Jun 2012
Device: kobo touch
Just for information. The screensaver packages you can find here contain an executable that display png-s.
tshering is offline   Reply With Quote
Old 01-30-2015, 03:33 PM   #4
frostschutz
Linux User
frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.
 
frostschutz's Avatar
 
Posts: 1,551
Karma: 3188593
Join Date: Sep 2010
Location: Heidelberg, Germany
Device: Kobo H2O, iriver StoryHD
Quote:
Originally Posted by boriar View Post
Is that one for nickel?
Yes

Quote:
Originally Posted by tshering View Post
Just for information. The screensaver packages you can find here contain an executable that display png-s.
Oh, I thought this was specifically for the Glo only. If there's another mod that does this, all the better. Mine is a simple hack.
frostschutz is offline   Reply With Quote
Old 01-30-2015, 03:45 PM   #5
tshering
Wizard
tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.
 
Posts: 2,396
Karma: 897437
Join Date: Jun 2012
Device: kobo touch
Quote:
Originally Posted by frostschutz View Post
Oh, I thought this was specifically for the Glo only. If there's another mod that does this, all the better. Mine is a simple hack.
I did not want to weight your screensaver against the other (I think yours has the advantage of not using preload, and therefore not modifying rcS). Just wanted to let you know about the png2raw.
tshering is offline   Reply With Quote
Old 01-30-2015, 03:45 PM   #6
boriar
Addict
boriar can understand the language of future parallel dimensionsboriar can understand the language of future parallel dimensionsboriar can understand the language of future parallel dimensionsboriar can understand the language of future parallel dimensionsboriar can understand the language of future parallel dimensionsboriar can understand the language of future parallel dimensionsboriar can understand the language of future parallel dimensionsboriar can understand the language of future parallel dimensionsboriar can understand the language of future parallel dimensionsboriar can understand the language of future parallel dimensionsboriar can understand the language of future parallel dimensions
 
Posts: 206
Karma: 51122
Join Date: Jan 2015
Device: bq Avant XL, Kobo Aura H2O, Onyx Boox M96C Plus
Quote:
Originally Posted by frostschutz View Post
Yes



Oh, I thought this was specifically for the Glo only. If there's another mod that does this, all the better. Mine is a simple hack.
I thought the same and use only the pngs. So it's safe to use the Glo version on H2O?
boriar is offline   Reply With Quote
Old 01-30-2015, 03:55 PM   #7
frostschutz
Linux User
frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.
 
frostschutz's Avatar
 
Posts: 1,551
Karma: 3188593
Join Date: Sep 2010
Location: Heidelberg, Germany
Device: Kobo H2O, iriver StoryHD
Quote:
Originally Posted by tshering View Post
(I think yours has the advantage of not using preload, and therefore not modifying rcS).
nickel is nice enough to shout to syslog in time before the device is actually off. So my script fights with nickel as to who gets to display their image first, usually I lose so my picture ends up showing...

No distinction between sleep/poweroff though. It could be done, but meh.
frostschutz is offline   Reply With Quote
Old 01-31-2015, 10:49 PM   #8
kobayashi
Zealot
kobayashi rocks like Gibraltar!kobayashi rocks like Gibraltar!kobayashi rocks like Gibraltar!kobayashi rocks like Gibraltar!kobayashi rocks like Gibraltar!kobayashi rocks like Gibraltar!kobayashi rocks like Gibraltar!kobayashi rocks like Gibraltar!kobayashi rocks like Gibraltar!kobayashi rocks like Gibraltar!kobayashi rocks like Gibraltar!
 
Posts: 109
Karma: 100000
Join Date: Jan 2015
Device: Kindle Garbage (I mean Voyage), Kobo H2O
Great hack. Works perfectly.
kobayashi is offline   Reply With Quote
Old 02-01-2015, 03:18 AM   #9
dillsandwitch
Enthusiast
dillsandwitch can eat soup with a fork.dillsandwitch can eat soup with a fork.dillsandwitch can eat soup with a fork.dillsandwitch can eat soup with a fork.dillsandwitch can eat soup with a fork.dillsandwitch can eat soup with a fork.dillsandwitch can eat soup with a fork.dillsandwitch can eat soup with a fork.dillsandwitch can eat soup with a fork.dillsandwitch can eat soup with a fork.dillsandwitch can eat soup with a fork.
 
Posts: 38
Karma: 9064
Join Date: Jan 2012
Device: Sony PRS-T1, Kobo Aura H20
Total noob question here but can someone please give me a step by step of where to put this to make it work? I have just bought my kobo today and am used to playing with a sony. TIA
dillsandwitch is offline   Reply With Quote
Old 02-01-2015, 08:12 AM   #10
surquizu
Addict
surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.
 
surquizu's Avatar
 
Posts: 339
Karma: 533359
Join Date: Jun 2008
Location: Zaragoza (Spain)
Device: prs-505, kobo auraHD, kobo auraH2O, kobo Glo HD
Quote:
Originally Posted by dillsandwitch View Post
Total noob question here but can someone please give me a step by step of where to put this to make it work? I have just bought my kobo today and am used to playing with a sony. TIA
-Download KoboRoot-AutoShelf-beta3.zip

-Extract the file and rename it to KoboRoot.tgz.

-Connect the reader to the PC and copy the KoboRoot.tgz to the .kobo folder. Safely disconnect and reboot.
surquizu is offline   Reply With Quote
Old 02-01-2015, 10:44 AM   #11
surquizu
Addict
surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.
 
surquizu's Avatar
 
Posts: 339
Karma: 533359
Join Date: Jun 2008
Location: Zaragoza (Spain)
Device: prs-505, kobo auraHD, kobo auraH2O, kobo Glo HD
Quote:
Originally Posted by frostschutz View Post
This mod displays a random PNG image on sleep/poweroff. You can put your images in a hidden .ScreenSaver folder. Three sample images included.

The image must be in PNG format, resolution 1080x1440, no spaces in the filename, extension .png (lower case). Not too many files in total (at most 1000 or so).

Edit: Updated... images were flipped in the x-axis...

Apparently the screensaver works fine on my aura HD, but when I return to the option of displaying the title page of the book as a screensaver does not work and the covers of the books are not visible. Main page of the Home screen is also not updated with the last book read.
surquizu is offline   Reply With Quote
Old 02-01-2015, 11:12 AM   #12
frostschutz
Linux User
frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.
 
frostschutz's Avatar
 
Posts: 1,551
Karma: 3188593
Join Date: Sep 2010
Location: Heidelberg, Germany
Device: Kobo H2O, iriver StoryHD
Quote:
Originally Posted by surquizu View Post
Apparently the screensaver works fine on my aura HD
Right now it's very H2O-specific, I'm not yet sure about the raw format for the others. (and no way of testing them due to lack of device)

Quote:
Originally Posted by surquizu View Post
the option of displaying the title page of the book as a screensaver does not work
Yes, it's kind of exclusive, it won't work with the book cover as screensaver.

*) actually the log entry for the cover sleepscreen is different so my hack does not register it at all. I think I actually like this behaviour as it still leaves you with a choice. This way, only the empty sleep/power off page is replaced with a random image.

Quote:
Originally Posted by surquizu View Post
Main page of the Home screen is also not updated with the last book read.
That's odd... the mod isn't involved here at all. It just pushes an image to the display independently of all other processes.

Last edited by frostschutz; 02-01-2015 at 11:26 AM.
frostschutz is offline   Reply With Quote
Old 02-01-2015, 04:36 PM   #13
surquizu
Addict
surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.surquizu ought to be getting tired of karma fortunes by now.
 
surquizu's Avatar
 
Posts: 339
Karma: 533359
Join Date: Jun 2008
Location: Zaragoza (Spain)
Device: prs-505, kobo auraHD, kobo auraH2O, kobo Glo HD
Quote:
Originally Posted by frostschutz View Post


That's odd... the mod isn't involved here at all. It just pushes an image to the display independently of all other processes.
Yes, it's odd. I removed the patch and it works fine again.

Also with the patch installed the png images of the screenshots corrupts and its not visible in the PC. Once uninstalled, I see well the images again.

Thanks for your effort
surquizu is offline   Reply With Quote
Old 02-01-2015, 05:57 PM   #14
frostschutz
Linux User
frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.frostschutz ought to be getting tired of karma fortunes by now.
 
frostschutz's Avatar
 
Posts: 1,551
Karma: 3188593
Join Date: Sep 2010
Location: Heidelberg, Germany
Device: Kobo H2O, iriver StoryHD
Quote:
Originally Posted by surquizu View Post
Also with the patch installed the png images of the screenshots corrupts and its not visible in the PC.
You can't take a screenshot of the sleep image. That's because it uses a different mode for display (a different rotation) and whatever is taking the screenshot does not expect it.

However as long as the device is awake, the screenshot feature works well for me. Before sleep and after sleep, just not during (right as it goes to sleep).

To fix that I'd have to stop using pickel for image displays; and instead talk to the framebuffer device directly. It's a possibility, but not a priority by any means, after all, if you wanted a screenshot of a sleep image, you could just grab the image itself...
frostschutz is offline   Reply With Quote
Old 02-02-2015, 11:16 AM   #15
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 6,960
Karma: 6553735
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, (PW) & PW2; Kobo H2O
FWIW, fbgrab can be used to take a snapshot at pretty much any time you want [... from a shell ^^].
NiLuJe is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Boox T68 - Screensaver Image fozzedout Onyx Boox 3 12-29-2014 11:28 AM
(PW) Location of waterstones screensaver image mrspaceman Kindle Developer's Corner 19 05-09-2013 02:07 AM
[PB360] Image Viewer with random? rogue_librarian PocketBook 2 12-12-2010 05:20 AM
K2i original screensaver image Aeroraptor Kindle Developer's Corner 1 12-12-2009 07:40 PM
Hacks Angus Young Screensaver Image Jason Shaffer Amazon Kindle 5 04-08-2009 01:34 PM


All times are GMT -4. The time now is 02:17 PM.


MobileRead.com is a privately owned, operated and funded community.