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 11-26-2014, 07:30 AM   #1
valris
(•ω•)
valris began at the beginning.
 
Posts: 14
Karma: 10
Join Date: Oct 2014
Device: Kobo Aura
Poweroff screens

Hello, the default power off message of KSM (Kobo Start Menu) is pretty ugly but provides nice informations about how to change the power off screen.

So i thought a thread to collect some configs might be nice.


So here my config:

Code:
<html>
<head>
<title>kobo menu info</title>
<style type="image/png">
p {
margin-top: 0.5em; }
</style>
</head>

<body>
<center><img src="/mnt/onboard/.kobo/kbmenu/txt/penguin.png"></center>
<center><b>Powered off</b></center>
</body>
</html>
The image of the penguin is from this site. Direct link to the image. The license only allows non-commercial use, no derivates and no redistribution from other sites, therefore no attachment. Sorry.
Attached Thumbnails
Click image for larger version

Name:	penguin_poweroff.jpg
Views:	151
Size:	868.9 KB
ID:	131610  

Last edited by valris; 11-26-2014 at 07:39 AM.
valris is offline   Reply With Quote
Old 01-12-2015, 01:26 PM   #2
raph06
Junior Member
raph06 began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Jan 2015
Device: Kobo aura
Hi Valris,

Do you happen to know how to change or remove the text written on the turned off screen.

Thank you for your answer.
raph06 is offline   Reply With Quote
Old 01-12-2015, 10:50 PM   #3
Ken Maltby
Wizard
Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.
 
Ken Maltby's Avatar
 
Posts: 3,077
Karma: 3980655
Join Date: Dec 2009
Location: The Heart of Texas
Device: JetBook Lite, AuraHD, PDA, Eee Transformer
This might help. It is a post in the KSM thread, there are others there that deal with this KSM feature.

Luck;
Ken
Ken Maltby is offline   Reply With Quote
Old 01-16-2015, 03:32 AM   #4
libertango
Enthusiast
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: 38
Karma: 11628
Join Date: Nov 2013
Device: kobo aura h2o, kobo touch, kindle dx
I wonder if it could be possible to have a poweroff screen randomly chosen among a dozen of images (kobo touch). I have no knowledge of html, if it's not already clear.
libertango is offline   Reply With Quote
Old 01-16-2015, 04:15 PM   #5
valris
(•ω•)
valris began at the beginning.
 
Posts: 14
Karma: 10
Join Date: Oct 2014
Device: Kobo Aura
You can't do that with HTML. But you could invoke a script with cron that renames images, so the HTML would always use the image "screenoff.png" and the script copies or renames a selection of images randomly to that name.

Last edited by valris; 01-16-2015 at 04:20 PM.
valris is offline   Reply With Quote
Old 01-16-2015, 05:36 PM   #6
boriar
Connoisseur
boriar began at the beginning.
 
Posts: 84
Karma: 10
Join Date: Jan 2015
Device: bq Avant XL, Kobo Aura H2O
The script should, for example, delete the old "screenoff.png" and them make a copy of a ramdom picture with the name "screenoff.png", don't you?
boriar is online now   Reply With Quote
Old 01-16-2015, 07:50 PM   #7
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,627
Karma: 464522
Join Date: Jun 2012
Device: kobo touch
Quote:
Originally Posted by libertango View Post
I wonder if it could be possible to have a poweroff screen randomly chosen among a dozen of images (kobo touch). I have no knowledge of html, if it's not already clear.
I tried to put together something of that kind and uploaded it here.
tshering is offline   Reply With Quote
Old 01-16-2015, 09:39 PM   #8
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 39,774
Karma: 21371769
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Aura H2O, Sony PRS-650, Sony PRS-T1, nook STR, iPad 1, iPhone 5
Can the power off screen be the cover of the eBook currently being read?
JSWolf is offline   Reply With Quote
Old 01-17-2015, 04:14 AM   #9
libertango
Enthusiast
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: 38
Karma: 11628
Join Date: Nov 2013
Device: kobo aura h2o, kobo touch, kindle dx
Quote:
Originally Posted by tshering View Post
I tried to put together something of that kind and uploaded it here.
Thanks a lot tshering!! I am going to test it. What size in pixel should the jpg/png have?

Last edited by libertango; 01-17-2015 at 04:20 AM.
libertango is offline   Reply With Quote
Old 01-17-2015, 05:49 AM   #10
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 JSWolf View Post
Can the power off screen be the cover of the eBook currently being read?
Think that KSM is not the reader application so no actual reading book, but... may be... what if KSM could show alternatively the actual book on koreader, cool reader and nickel with some words like "Now on (reader name)".
Would be COOOOOL
boriar is online now   Reply With Quote
Old 01-17-2015, 08:02 AM   #11
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,627
Karma: 464522
Join Date: Jun 2012
Device: kobo touch
Quote:
Originally Posted by libertango View Post
Thanks a lot tshering!! I am going to test it. What size in pixel should the jpg/png have?
The pixel size is not so important. Preferably, the ratio should be similar to that of the screen. Currently the result is not very nice (for instance, there is a application title bar on the top). I guess in the next version of KSM this might improve.

Last edited by tshering; 01-17-2015 at 08:23 AM.
tshering is offline   Reply With Quote
Old 01-17-2015, 08:20 AM   #12
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,627
Karma: 464522
Join Date: Jun 2012
Device: kobo touch
Quote:
Originally Posted by JSWolf View Post
Can the power off screen be the cover of the eBook currently being read?
I think that should be possible, but there are several things to be done.
  • keepigf track which reading application was run at last
  • getting the information which book was read with that application
  • getting the cover that book
If the last running application was, for instance nickel, one would have to read the data base in order to find the last read book and the associated cover image. With the tools that are currently available to KSM one would also have to copy and rename the image file (or maybe work with symbolic links), before displaying it. The whole process seems to be rather time consuming. I personally would prefer the power off process to be rather short.
tshering 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
Screens very different K4/KT JSWolf Amazon Kindle 25 01-22-2012 03:34 PM
Development Two-screens-solution. Vit-orekhov enTourage eDGe 8 10-25-2011 07:39 PM
PRS-650 All PRS’ screens are the same? prsita Sony Reader 10 06-25-2011 11:02 AM
These new screens TGS Sony Reader 2 11-15-2010 06:00 AM
Which have transflective screens? ThomasMc Which one should I buy? 4 07-04-2009 02:02 AM


All times are GMT -4. The time now is 03:55 AM.


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