View Single Post
Old 05-19-2010, 10:51 AM   #1
Iņigo
Guru
Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.Iņigo did not drink the Kool Aid.
 
Posts: 730
Karma: 72743
Join Date: Feb 2008
Location: Here or there
Device: iRex iLiad, iRex DR800S. K4NT. Kobo Aura, Aura One, Libra 2.
Lightbulb ANN: RunDebug and Icon lua scripts

Well, in fact this is not a proper release, as both of these applications are included in Lua megapackage (https://www.mobileread.com/forums/showthread.php?t=79273) since version 2.

Anyway, I think they deserve enough interest to have a proper announcement

RunDebug (aka run_debug.lua)
This application lets run some other programs and get the output. It is specially useful to execute command line based scripts or to check why some applications don't start properly.
It understands some special types of files like lua, python or shell scripts. Even it can run the proper command if you select a .desktop file! More help inside the program.
To run, start from its own .desktop file once lua package is copied to the ereader, no command line needed.

icons.lua
A simple script which parses .desktop files looking for Icon entries. If those point to a valid .png file it will modify device database so the device will use those images as icons from now on.
To execute, run it from RunDebug (it's in <SD card>/Programs/_lua/Scripts), exit and enjoy your new world of beautiful images!


Enjoy,
Iņigo
Attached Thumbnails
Click image for larger version

Name:	ss-rundebug.png
Views:	559
Size:	104.4 KB
ID:	51827   Click image for larger version

Name:	ss-icons-1.png
Views:	576
Size:	105.0 KB
ID:	51828   Click image for larger version

Name:	ss-icons-2.png
Views:	553
Size:	61.4 KB
ID:	51829  
Iņigo is offline   Reply With Quote