@stepk, twobob: I'm looking into the wrap-around paging, and into the execution/suicide timing stuff, right now. I'll send twobob a PM once I committed something. So the upcoming new version could hopefully include all 3 enhancements at once.

@stepk, twobob: I'm looking into the wrap-around paging, and into the execution/suicide timing stuff, right now. I'll send twobob a PM once I committed something. So the upcoming new version could hopefully include all 3 enhancements at once.

Erk... I commited for 0.2.3..

Tiny changes though.

I will wait on the 0.2.3 release then... (looks at ready-to-roll thingies...)

Meh, Nah. Let's just bump again when we are "ready to go" for 0.2.4 : )

*goes off to update thread*

Excited about your works!!! : D

EDIT:So the upcoming new version could hopefully include all 3 enhancements at once

Just committed version 0.3.0 to the repository. Since this is a rapidly evolving project with quite a few people involved and contributing (BTW: thank you all!), I'll just post my comments in this thread - it's not like there's anything secret anyway.

So:

- I moved the execution of the script to the time when the Kindlet is terminating. (Hopefully) no more timing issues that we need to work around with sleep calls. This should be as close as we can get to "chaining" executions (thanks knc1 for the heads up!). I tested it on all my 4 devices with pretty much only the helper scripts installed, and it seemed to work correctly - I tested usbnetwork toggle, and 711 screen.

- Still using "background launcher scripts", though - for the simple reason that the commands could contain command chaining with pipes etc. (dummy example: "ls|wc"), and Java won't handle that correctly, so putting it into a .sh file and then running that seems like a good and robust solution.

- It's not horribly important, but I think that the launcher scripts could even delete themselves after running the target commands. Unless I'm totally wrong, something like

Code:

#!/bin/sh
/path/to/real_exec &
rm $0

should work, shouldn't it? (That's pretty much what the current background launchers produce, except for the last line, of course).
But as said, not too important: these files are small, and they're deleted everytime the launcher kindlet is launched anyway.

- @stepk: With all the great input you've provided, I'll be happy to give you commit access to the repository. Let me know if you want it.

- @twobob: Along the same lines, I guess that the logo could/should simply be the egg. No need for our nicknames at the bottom, and the egg will look even nicer without the black background there

- Still using "background launcher scripts", though - for the simple reason that the commands could contain command chaining with pipes etc. (dummy example: "ls|wc"), and Java won't handle that correctly, so putting it into a .sh file and then running that seems like a good and robust solution.

I have a suspicion that invocation of sh -c "ls|wc &" will work as well as execution of temporary script with ls|wc &