Ok guys, job finished. Javascript launcher done and working, in only 8kb of space (standalone)

Kindle Menu updated, screenshot below.
Everything seems to work well, execept... a really few scripts!
In particular, I found that these three scripts doesn't work properly:
-
runit, from luakit package. (or, better, it starts but the executable fails. No problems with Midori instead)
-
Toggle OFF on wakeup
-
Pwchess
Sorry but I give up with this problem for now, I spent a lot of time with it and still cannot figure out why in the world these things, if launched from nativeBridge instead of KUAL, don't work.
The javascript command I use is the following:
Quote:
nativeBridge.setLipcProperty( "com.lab126.system", "sendEvent", "; sh -c 'cd /path/containing/the/script; DISPLAY=:0 script.sh'");
|
I bundle here two of the three non-launching scripts I've found, so you could maybe help me guessing what make them "special", and run only with KUAL