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 07-26-2014, 04:15 PM   #1
miyoyo
Junior Member
miyoyo began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Dec 2012
Device: Kobo Glo by Fnac
Sleep Function called by slide switch

Hello,
i am searching a way to customise my kobo's sleep and off screens and i have, so far,
succeded for the off part.

The kobo calls /sbin/poweroff when it shuts down, so by changing it for a sh script that calls pickel before shutting down, it works! (thanks old forum's posts)

But now, this is where i hit a wall, i can't figure out how the kobo handles the sleep mode.

Is there a way to call a sh script when i slide the button or can't i?

Thanks for reading,
-Miyoyo
miyoyo is offline   Reply With Quote
Old 07-26-2014, 04:57 PM   #2
Jellby
frumious Bandersnatch
Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.
 
Jellby's Avatar
 
Posts: 6,146
Karma: 4792399
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
Have you checked this and the links therein?
Jellby is offline   Reply With Quote
 
Enthusiast
Old 07-27-2014, 12:40 PM   #3
miyoyo
Junior Member
miyoyo began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Dec 2012
Device: Kobo Glo by Fnac
I tried, but the video's description leads to a method that apparently doesn't works (i installed it but it does nothing) and the "change libnickel.so.1.0.0" doesn't works either
miyoyo is offline   Reply With Quote
Old 07-27-2014, 01:35 PM   #4
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,274
Karma: 332560
Join Date: Jun 2012
Device: kobo touch
Quote:
Originally Posted by miyoyo View Post
I tried, but the video's description leads to a method that apparently doesn't works (i installed it but it does nothing)
Did you put image files into the indicated folder? If you did, and it did not work, there might be the following problem. Jellby reported that the appropriate changes were not done to the rcS file. Maybe for some reason this happened on your device too. See this post for the necessary change. (You find the rcS in the firmware update file, see this threat. After modifying it you can repack it into a KoboRoot.tgz and write it to the system partition by using the upgrade mechanism.)[/QUOTE]

Quote:
Originally Posted by miyoyo View Post
and the "change libnickel.so.1.0.0" doesn't works either
I am not sure what exactly you are referring to. I once modified libnickel.so.1.0.0 so that it shows a custom image in sleep mode, and reported it here. If you tried this method with a more recent FW, the problem is probably that the screen does not get refreshed, when pickel writes to the screen. You could use the executable that Lucas provided here to make it work.

Last edited by tshering; 07-27-2014 at 01:47 PM.
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
Looking for Sleeve for Aura HD with sleep function kaufman Kobo Reader 2 04-06-2014 12:48 PM
Aura impact of metal on sleep function anacreon Kobo Reader 3 02-19-2014 01:39 PM
How to disable Kindle's auto-sleep function?? Thiws87 Amazon Kindle 13 09-19-2011 11:06 AM
Kindle offers remote kill switch for text-to-speech function? Alexander Turcic News 75 12-11-2009 02:04 AM


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


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