|
|
Thread Tools | Search this Thread |
03-30-2014, 09:26 PM | #31 |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
|
03-30-2014, 09:41 PM | #32 |
Member
Posts: 11
Karma: 10
Join Date: Feb 2014
Device: Kindle Paperwhite
|
Yes, I used Kterm on the kindle and executed the script. Works as expected.
|
04-05-2014, 12:51 AM | #33 |
i void warranties
Posts: 22
Karma: 1038
Join Date: Apr 2014
Location: Wisconsin
Device: Kindle PW2
|
Hi Dos1,
I wanted to use your event handler on my paperwhite2 to run my own sort of scrolling screen savers. So I was going to put a quick wrapper script in boot to remove any .lock file. Then in the suspend folder I would put a shell script wrapper to just run my python script in the background unless it sees the .lock file (which it would then "touch" to avoid running twice). But on my paperwhite2, your file doesn't appear to allow me to install. I've installed several things (USBNet, Linkss, Python, JB) so I know that's working. The file name I have from your zip is: update_eventHandler_0.2_kindle5_install.bin Any ideas? Also, do you think my idea to run a looping python script in the background will be fine? I can't see why it would do any harm, since I could always ssh in and kill it if I needed to. |
04-05-2014, 10:58 AM | #35 | |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Quote:
As a general rule, you only have 4 to 8 hours of battery capacity. If you normally keep your Kindle on external power, not a problem. A better plan is to have either manually triggered (say, a KUAL button) or an event driven (say, "going to screensaver") script. Those should let the processor shut down when it normally does (about 96% of the time, it is stopped - that is where the "months" between recharges comes from - it isn't "on"). |
|
09-21-2014, 12:10 PM | #36 |
Junior Member
Posts: 4
Karma: 10
Join Date: Sep 2014
Device: Kindle 3 Keyboard
|
Has eventHandler been tested on K3?
|
09-21-2014, 01:40 PM | #37 |
Going Viral
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
|
Not written for the K3.
The event handler depends on the "upstart" task management system and the K3 does not use the "upstart" task manager. An "even hook" such as this could be written for the K3, but it would be a complete re-write of this code. |
09-21-2014, 04:06 PM | #38 | |
Wizard
Posts: 1,669
Karma: 2300001
Join Date: Mar 2011
Location: Türkiye
Device: Kindle 5.3.7
|
Quote:
EDIT: here:https://www.mobileread.com/forums/sho...d.php?t=168270 Last edited by thomass; 09-21-2014 at 04:13 PM. |
|
07-04-2018, 05:07 PM | #39 |
Enthusiast
Posts: 25
Karma: 10
Join Date: Mar 2012
Location: CZ, EU
Device: K4NT (4.0.1), KT (5.3.7.3), KPW1 (sold), KPW2
|
Works beautifully on Kindle Touch with 5.3.7.3! Thank you
|
Tags |
events, k5 tools, kindle, kite, screensaver |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
is it possible to run k5 launchpad scripts on k5 | techiemonkey | Kindle Developer's Corner | 3 | 07-30-2012 10:10 AM |
Kite on K3G launches scripts randomly on boot or unplug | jmseight | Kindle Developer's Corner | 0 | 03-23-2012 02:55 PM |
Kindle tries to run C/++ applications like sh scripts? | dnR | Kindle Developer's Corner | 1 | 01-09-2011 08:45 AM |