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, 04: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: 865
Karma: 2109879
Join Date: Sep 2010
Device: Kobo H2O, iriver StoryHD
random screensaver

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...

http://github.com/frostschutz/Kobo

Edit2: Updated... firmware 3.13.1 changed pickel behaviour

Edit3: Updated... should support all Kobo devices running 3.12 or 3.13 now. Since I can only really test H2O, please report whether it works... http://www.mobileread.com/forums/sho...20#post3058620
Attached Files
File Type: zip KoboRoot-ScreenSaver.zip (563.1 KB, 12 views)

Last edited by frostschutz; 03-04-2015 at 05:12 PM.
frostschutz is offline   Reply With Quote
Old 01-30-2015, 04:28 PM   #2
boriar
Connoisseur
boriar began at the beginning.
 
Posts: 84
Karma: 10
Join Date: Jan 2015
Device: bq Avant XL, Kobo Aura H2O
Is that one for nickel?
boriar is offline   Reply With Quote
Old 01-30-2015, 04: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: 1,628
Karma: 464522
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, 04: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: 865
Karma: 2109879
Join Date: Sep 2010
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, 04: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: 1,628
Karma: 464522
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, 04:45 PM   #6
boriar
Connoisseur
boriar began at the beginning.
 
Posts: 84
Karma: 10
Join Date: Jan 2015
Device: bq Avant XL, Kobo Aura H2O
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, 04: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: 865
Karma: 2109879
Join Date: Sep 2010
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, 11:49 PM   #8
kobayashi
Member
kobayashi can differentiate black from dark navy bluekobayashi can differentiate black from dark navy bluekobayashi can differentiate black from dark navy bluekobayashi can differentiate black from dark navy bluekobayashi can differentiate black from dark navy bluekobayashi can differentiate black from dark navy bluekobayashi can differentiate black from dark navy bluekobayashi can differentiate black from dark navy bluekobayashi can differentiate black from dark navy bluekobayashi can differentiate black from dark navy bluekobayashi can differentiate black from dark navy blue
 
Posts: 16
Karma: 13118
Join Date: Jan 2015
Device: PW1
Great hack. Works perfectly.
kobayashi is offline   Reply With Quote
Old 02-01-2015, 04: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, 09:12 AM   #10
surquizu
Addict
surquizu , Klaatu Barada Niktu!surquizu , Klaatu Barada Niktu!surquizu , Klaatu Barada Niktu!surquizu , Klaatu Barada Niktu!surquizu , Klaatu Barada Niktu!surquizu , Klaatu Barada Niktu!surquizu , Klaatu Barada Niktu!surquizu , Klaatu Barada Niktu!surquizu , Klaatu Barada Niktu!surquizu , Klaatu Barada Niktu!surquizu , Klaatu Barada Niktu!
 
surquizu's Avatar
 
Posts: 219
Karma: 5392
Join Date: Jun 2008
Location: Zaragoza (Spain)
Device: prs-505, kobo auraHD, kobo auraH2O
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, 11:44 AM   #11
surquizu
Addict
surquizu , Klaatu Barada Niktu!surquizu , Klaatu Barada Niktu!surquizu , Klaatu Barada Niktu!surquizu , Klaatu Barada Niktu!surquizu , Klaatu Barada Niktu!surquizu , Klaatu Barada Niktu!surquizu , Klaatu Barada Niktu!surquizu , Klaatu Barada Niktu!surquizu , Klaatu Barada Niktu!surquizu , Klaatu Barada Niktu!surquizu , Klaatu Barada Niktu!
 
surquizu's Avatar
 
Posts: 219
Karma: 5392
Join Date: Jun 2008
Location: Zaragoza (Spain)
Device: prs-505, kobo auraHD, kobo auraH2O
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, 12:12 PM   #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: 865
Karma: 2109879
Join Date: Sep 2010
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 12:26 PM.
frostschutz is offline   Reply With Quote
Old 02-01-2015, 05:36 PM   #13
surquizu
Addict
surquizu , Klaatu Barada Niktu!surquizu , Klaatu Barada Niktu!surquizu , Klaatu Barada Niktu!surquizu , Klaatu Barada Niktu!surquizu , Klaatu Barada Niktu!surquizu , Klaatu Barada Niktu!surquizu , Klaatu Barada Niktu!surquizu , Klaatu Barada Niktu!surquizu , Klaatu Barada Niktu!surquizu , Klaatu Barada Niktu!surquizu , Klaatu Barada Niktu!
 
surquizu's Avatar
 
Posts: 219
Karma: 5392
Join Date: Jun 2008
Location: Zaragoza (Spain)
Device: prs-505, kobo auraHD, kobo auraH2O
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, 06: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: 865
Karma: 2109879
Join Date: Sep 2010
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, 12:16 PM   #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: 5,518
Karma: 5500053
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 online now   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
Kobo H2O: Need SD Image mementomori Kobo Developer's Corner 78 02-01-2015 07:47 AM
Aura Help !NEED KOBO H2O factory sd image edwardycn Kobo Developer's Corner 15 01-04-2015 08:37 AM
(PW) Location of waterstones screensaver image mrspaceman Kindle Developer's Corner 19 05-09-2013 03:07 AM
[PB360] Image Viewer with random? rogue_librarian PocketBook 2 12-12-2010 06:20 AM
K2i original screensaver image Aeroraptor Kindle Developer's Corner 1 12-12-2009 08:40 PM


All times are GMT -4. The time now is 08:09 PM.


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