Register Guidelines E-Books Today's Posts Search

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

Notices

Reply
 
Thread Tools Search this Thread
Old 03-26-2016, 04:56 PM   #1
rem736
purpose priority passion
rem736 ought to be getting tired of karma fortunes by now.rem736 ought to be getting tired of karma fortunes by now.rem736 ought to be getting tired of karma fortunes by now.rem736 ought to be getting tired of karma fortunes by now.rem736 ought to be getting tired of karma fortunes by now.rem736 ought to be getting tired of karma fortunes by now.rem736 ought to be getting tired of karma fortunes by now.rem736 ought to be getting tired of karma fortunes by now.rem736 ought to be getting tired of karma fortunes by now.rem736 ought to be getting tired of karma fortunes by now.rem736 ought to be getting tired of karma fortunes by now.
 
Posts: 645
Karma: 9002000
Join Date: Jan 2010
Location: socal, usa
Device: sony prs-350, b&n ngp, rM2, kindle scribe, boox poke5
current screen in suspend/off mode

is there hack that allows the current screen, whatever you are looking at right now on the aura hd (text, image, whatever), to remain the screen image when you put the kobo aura hd in suspend mode or power off mode?
rem736 is offline   Reply With Quote
Old 03-26-2016, 11:18 PM   #2
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: 4,466
Karma: 6900052
Join Date: Dec 2009
Location: The Heart of Texas
Device: Boox Note2, AuraHD, PDA,
Quote:
Originally Posted by rem736 View Post
is there hack that allows the current screen, whatever you are looking at right now on the aura hd (text, image, whatever), to remain the screen image when you put the kobo aura hd in suspend mode or power off mode?
You can do that with KOReader, as far as the suspend mode.

Luck;
Ken
Ken Maltby is offline   Reply With Quote
Old 03-27-2016, 01:04 AM   #3
rem736
purpose priority passion
rem736 ought to be getting tired of karma fortunes by now.rem736 ought to be getting tired of karma fortunes by now.rem736 ought to be getting tired of karma fortunes by now.rem736 ought to be getting tired of karma fortunes by now.rem736 ought to be getting tired of karma fortunes by now.rem736 ought to be getting tired of karma fortunes by now.rem736 ought to be getting tired of karma fortunes by now.rem736 ought to be getting tired of karma fortunes by now.rem736 ought to be getting tired of karma fortunes by now.rem736 ought to be getting tired of karma fortunes by now.rem736 ought to be getting tired of karma fortunes by now.
 
Posts: 645
Karma: 9002000
Join Date: Jan 2010
Location: socal, usa
Device: sony prs-350, b&n ngp, rM2, kindle scribe, boox poke5
thanks. got it done. but the "Suspended" message is splashed into the middle of the screen when i actually suspend the reader. my goal was to use a reader for signage purposes, so this hampers the goal a bit. basically, set the image, power off and have the image shown in perpetuity (or until the next time i decide to change it).
rem736 is offline   Reply With Quote
Old 03-27-2016, 02:36 AM   #4
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
If that's what you want, you can do that with the Kobo software. In the "Sleep and power" page of the setting, uncheck the "Show info panel..." option. Then, put an image on the device and open it. When the device sleeps, it will just show the image.
davidfor is offline   Reply With Quote
Old 03-27-2016, 01:05 PM   #5
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: 2,282
Karma: 6123806
Join Date: Sep 2010
Location: Heidelberg, Germany
Device: none
If you can provide the image, my random screensaver hack might help. It displays images on sleep/poweroff.

If you wish to preserve actual screen content, you'd need to adapt this hack a little (take a screenshot and then display the screenshot you took).

If you're looking for unconventional solutions, open up the device and disconnect the battery and whatever is on screen will stay there until you put the battery back in. Note I actually managed to break apart a battery connector this way...

Last edited by frostschutz; 03-27-2016 at 01:43 PM.
frostschutz is offline   Reply With Quote
Old 03-27-2016, 04:15 PM   #6
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: 4,466
Karma: 6900052
Join Date: Dec 2009
Location: The Heart of Texas
Device: Boox Note2, AuraHD, PDA,
Quote:
Originally Posted by frostschutz View Post
If you can provide the image, my random screensaver hack might help. It displays images on sleep/poweroff.

If you wish to preserve actual screen content, you'd need to adapt this hack a little (take a screenshot and then display the screenshot you took).

If you're looking for unconventional solutions, open up the device and disconnect the battery and whatever is on screen will stay there until you put the battery back in. Note I actually managed to break apart a battery connector this way...
You could tap into one of the battery leads and add a switch. (Leaving the connector alone.)

Also; The Kobo Start Menu (KSM) has a Power Off function and you can define what is displayed, including a full screen image. (You can add KSM by itself, without adding KOReader, or the other alternative readers.)


Luck;
Ken

Last edited by Ken Maltby; 03-27-2016 at 04:23 PM.
Ken Maltby is offline   Reply With Quote
Old 03-27-2016, 04:49 PM   #7
PeterT
Grand Sorcerer
PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.
 
Posts: 13,511
Karma: 78910202
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
Just realize that adding a power switch will probably lead to massive corruption issues; using it would mean that there is no hope at all of the underlying operating system doing a clean shutdown which will probably lead to file system corruption add some point.
PeterT is offline   Reply With Quote
Old 03-27-2016, 05:05 PM   #8
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: 2,282
Karma: 6123806
Join Date: Sep 2010
Location: Heidelberg, Germany
Device: none
Quote:
Originally Posted by PeterT View Post
there is no hope at all of the underlying operating system doing a clean shutdown which will probably lead to file system corruption add some point.
On the other hand, an ebook reader most of the time, operates in read-only mode. Reading books does not change them, there are no open documents that need saving, there are no processes that create new files that have yet to be written - well, unless you shut it off during a database update.

Even reading progress which is constantly recorded, should just update an entry in a database, storage space for which is already allocated so it's not a problem when viewing from the filesystem layer.

Compared to a desktop PC where there are always dozens of things running (like Thunderbird regularly grabbing your new [spam] mails in the background) there is just not that much risk of corruption on an eBook reader.

If you were really worried about it, you could mod it to mount all filesystems in sync mode. This is slow but does not corrupt easily/at all.

If you want a clean shutdown, you could do it via telnet shell. I have not tested it right now but if I remember correctly, if you just kill nickel it will also no longer update the screen when you shut it down / poweroff. That would work w/o opening the device..
frostschutz is offline   Reply With Quote
Old 03-28-2016, 12:53 PM   #9
rem736
purpose priority passion
rem736 ought to be getting tired of karma fortunes by now.rem736 ought to be getting tired of karma fortunes by now.rem736 ought to be getting tired of karma fortunes by now.rem736 ought to be getting tired of karma fortunes by now.rem736 ought to be getting tired of karma fortunes by now.rem736 ought to be getting tired of karma fortunes by now.rem736 ought to be getting tired of karma fortunes by now.rem736 ought to be getting tired of karma fortunes by now.rem736 ought to be getting tired of karma fortunes by now.rem736 ought to be getting tired of karma fortunes by now.rem736 ought to be getting tired of karma fortunes by now.
 
Posts: 645
Karma: 9002000
Join Date: Jan 2010
Location: socal, usa
Device: sony prs-350, b&n ngp, rM2, kindle scribe, boox poke5
thanks all. i didn't know that KSM alone would be able to do this. i'll give it a go.
@frostschutz, does your screensaver hack work standalone? or does it require KSM?
rem736 is offline   Reply With Quote
Old 03-28-2016, 12:56 PM   #10
rem736
purpose priority passion
rem736 ought to be getting tired of karma fortunes by now.rem736 ought to be getting tired of karma fortunes by now.rem736 ought to be getting tired of karma fortunes by now.rem736 ought to be getting tired of karma fortunes by now.rem736 ought to be getting tired of karma fortunes by now.rem736 ought to be getting tired of karma fortunes by now.rem736 ought to be getting tired of karma fortunes by now.rem736 ought to be getting tired of karma fortunes by now.rem736 ought to be getting tired of karma fortunes by now.rem736 ought to be getting tired of karma fortunes by now.rem736 ought to be getting tired of karma fortunes by now.
 
Posts: 645
Karma: 9002000
Join Date: Jan 2010
Location: socal, usa
Device: sony prs-350, b&n ngp, rM2, kindle scribe, boox poke5
Quote:
Originally Posted by davidfor View Post
If that's what you want, you can do that with the Kobo software. In the "Sleep and power" page of the setting, uncheck the "Show info panel..." option. Then, put an image on the device and open it. When the device sleeps, it will just show the image.
i did not know that the default software could already do this. i'll try it out. thanks.

i tried this out and it did not go quite as expected. what it does is show the cover of the current book you are reading. and it works in both suspend and off modes. however, with a picture (pictures are 1-page books, according to kobo software), because viewing it means finishing the "book", turning it off shows the cover of the previously viewed book. it does work in suspend mode, however.

Last edited by rem736; 03-28-2016 at 11:42 PM.
rem736 is offline   Reply With Quote
Old 03-28-2016, 09:56 PM   #11
MGlitch
Wizard
MGlitch ought to be getting tired of karma fortunes by now.MGlitch ought to be getting tired of karma fortunes by now.MGlitch ought to be getting tired of karma fortunes by now.MGlitch ought to be getting tired of karma fortunes by now.MGlitch ought to be getting tired of karma fortunes by now.MGlitch ought to be getting tired of karma fortunes by now.MGlitch ought to be getting tired of karma fortunes by now.MGlitch ought to be getting tired of karma fortunes by now.MGlitch ought to be getting tired of karma fortunes by now.MGlitch ought to be getting tired of karma fortunes by now.MGlitch ought to be getting tired of karma fortunes by now.
 
Posts: 2,855
Karma: 22003124
Join Date: Aug 2014
Device: Kobo Forma, Kobo Sage, Kobo Libra 2
the screensaver hack of frostschutz is stand alone, might be a better fit than KSM in terms of ease of use. Though as others have mentioned if you don't want the image to change unless you make it change the default software can do it.
MGlitch is offline   Reply With Quote
Old 03-29-2016, 08:35 AM   #12
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: 4,466
Karma: 6900052
Join Date: Dec 2009
Location: The Heart of Texas
Device: Boox Note2, AuraHD, PDA,
The KSM Power Off function displays a simplified HTML page. (Like a single web page) It can contain text and images, but what I found easiest was to have it display a full screen image file produced using Gimp2.

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

<body>
<img src="/mnt/onboard/.adds/kbmenu/txt/poweroff.png">
</body>
</html>

The poweroff.png I created was sized to 1040x1387 to fit my Aura HD. Notice that I have the "body" contain only the image file, you could build a page with smaller images and text, but I find it easy to create a single image in an image manipulation program. For your use, you could make up a number of signage image files, with descriptive names, and use KOReader's File Manager "Rename" function to change the current named poweroff.png - right on the device.

Luck;
Ken
Ken Maltby is offline   Reply With Quote
Old 03-30-2016, 10:56 PM   #13
rem736
purpose priority passion
rem736 ought to be getting tired of karma fortunes by now.rem736 ought to be getting tired of karma fortunes by now.rem736 ought to be getting tired of karma fortunes by now.rem736 ought to be getting tired of karma fortunes by now.rem736 ought to be getting tired of karma fortunes by now.rem736 ought to be getting tired of karma fortunes by now.rem736 ought to be getting tired of karma fortunes by now.rem736 ought to be getting tired of karma fortunes by now.rem736 ought to be getting tired of karma fortunes by now.rem736 ought to be getting tired of karma fortunes by now.rem736 ought to be getting tired of karma fortunes by now.
 
Posts: 645
Karma: 9002000
Join Date: Jan 2010
Location: socal, usa
Device: sony prs-350, b&n ngp, rM2, kindle scribe, boox poke5
hi ken,

thanks. i think that this will be my path. i'm curious as to why you truncated your image to 1040x1387 when the H2O's screen resolution is 1080x1430, though.

i have the aura hd. will an image cut to the exact resolution of 1080x1440 work, since that is the aura hd's screen resolution?
rem736 is offline   Reply With Quote
Old 03-30-2016, 11:44 PM   #14
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: 4,466
Karma: 6900052
Join Date: Dec 2009
Location: The Heart of Texas
Device: Boox Note2, AuraHD, PDA,
Quote:
Originally Posted by rem736 View Post
hi ken,

thanks. i think that this will be my path. i'm curious as to why you truncated your image to 1040x1387 when the H2O's screen resolution is 1080x1430, though.

i have the aura hd. will an image cut to the exact resolution of 1080x1440 work, since that is the aura hd's screen resolution?
I have the Aura HD, not the H2O. The method Tshering used for the display of the html page produces a frame around the image that this sizing eliminates.

Luck;
Ken
Ken Maltby is offline   Reply With Quote
Old 03-31-2016, 04:03 AM   #15
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: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
This is an example that I used in KSM 6 on a Touch (600x800).

Code:
<html>
<body>
<img src="/mnt/onboard/.kobo/kbmenu/images/test01.png" width="566">
</body>
</html>
I did not bother to cut the image, but its ratio was already approximately fitting (actually it was 540x720).

You can find some other examples with images in .adds\kbmenu_user\mynotes\pofftest of KSM 08.

Last edited by tshering; 03-31-2016 at 04:13 AM.
tshering is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Use current screen as screensaver? Sin Jeong-hun Kindle Developer's Corner 1 02-17-2015 09:48 PM
Kindle suspend on boot screen. jupiter_nguyen Amazon Kindle 1 02-26-2013 11:05 AM
Dictionnary mode and suspend maxime Kobo Reader 0 12-26-2012 05:46 PM
Mouse-click to shift from book detail screen to main screen, without edit mode. Rob557 Library Management 2 07-27-2012 06:45 AM
Battery drain while in suspend mode pat.indie enTourage Archive 4 06-20-2010 11:54 AM


All times are GMT -4. The time now is 11:48 AM.


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