Thread: iLiad Iliad internals
View Single Post
Old 07-19-2006, 07:29 AM   #20
ali
Addict
ali doesn't litterali doesn't litter
 
ali's Avatar
 
Posts: 302
Karma: 116
Join Date: May 2006
Device: Iliad, dude!
Quote:
Originally Posted by tribble
Has anyone found out how to start your own programms by pressing buttons?
Would be a lot more conveient, that the PDF solution
I don't have my Iliad by hand. Try this:

Make a textfile /usr/bin/eba with this contents: (Second line is dot space dblquote dollar at dblquote)
Code:
#!/bin/sh
. "$@"
Make it executable (via "chmod 755 /usr/bin/eba")

Now copy a shell script into a document folder (i.e., newspapers,documents,etc) but give it the extension ".eba", for example:

run-wired.eba could look like this:
Code:
#!/bin/sh
/usr/bin/wired.sh start
Now clicking ("viewing") the run-wired.eba file from the gui should start wired networking.
ali is offline   Reply With Quote