After a bit of futzing I came up with what I think is/will be a useful empeg program. It's a Starter program which starts (hopefully) other userland apps, this is useful in the case that you use a userland app only occasionally, so you don't want to add it to your startup script, thus slowing boot times and taking valuable memory. The idea of the Starter program is that it only starts programs when you need them. Basically you provide it a configuration file and for each entry it will bind to the hijack menu and provide you with a way of starting the program you want. I've attached the source, and an example configuration program.
So far the only program I've been able to start is empegVNC, I'm trying to start EmpTriv but it needs it's current directory to be where it's installed and unfortunately I can't figure out how to make a script to change the working directory.. it just keeps says "Invalid file or directory" when I do a "cd /drive0/var/emptriv" in the script, even though this works at the prompt itself.. any ideas anyone (I'm not smart with linux btw)? Make sure to start this program with a '&' at the end, and all programs in the script file should have the '&' too of course.


Attachments
66163-starter.zip (69 downloads)