Reply
Thread Tools
Posts: 34 | Thanked: 2 times | Joined on Mar 2006
#1
Other than Gnuite's Load/Run Command app ( which I still haven't succesfully been able to use) is there an application where I can do either one of the following:
1) create a script
2) point to a script
or
3) store a script in a common folder

and then be able to access the scripts via a menu preferably (a GUI menu) to execute the script?

Ultimately I would like to enter 'sh /path/scriptname' as the command and it'll store it and then select it whenever I need to re-run that script.


TIA
 

The Following User Says Thank You to pc4ever1 For This Useful Post:
Posts: 264 | Thanked: 28 times | Joined on May 2006
#2
gnuite's app does just what you're asking.
As long as you don't need to see the output of the script.
I use it to change the maemo-mapper uri and map directory to switch between sat and street maps.
Also to mount and unmount a samba share.
 
Posts: 114 | Thanked: 11 times | Joined on Oct 2005
#3
The only problem with gnuite's app, is that you can't remove a command, or even alter the order...
but, it works quite nicelly.
besides, you do get an exit code, so you know when the command works... or not...

It would be cool, if we could launch a window, with a custom text, and a few buttons... example: "yes", "no", "cancel" that return codes to the shell script.
 
Posts: 264 | Thanked: 28 times | Joined on May 2006
#4
Originally Posted by lmf
The only problem with gnuite's app, is that you can't remove a command, or even alter the order...
script.
You can delete and re-order commands by editing the file:
/var/lib/gconf/apps/loadplugin/%gconf.xml

Not very convenient but it works.
 
fpp's Avatar
Posts: 2,853 | Thanked: 968 times | Joined on Nov 2005
#5
Originally Posted by lmf
The only problem with gnuite's app, is that you can't remove a command, or even alter the order...
but, it works quite nicelly.
besides, you do get an exit code, so you know when the command works... or not...
It would be cool, if we could launch a window, with a custom text, and a few buttons... example: "yes", "no", "cancel" that return codes to the shell script.
Once we have the ctypes package available for ITOS2006 (I understand from the maemo mailing list that it is being worked on), this will be possible with Python scripts.
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 19:57.