Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password

    Load/Run Command app

    Reply
    pc4ever1 | # 1 | 2006-09-25, 19:01 | Report

    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

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to pc4ever1 For This Useful Post:

     
    BanditRider | # 2 | 2006-09-25, 19:14 | Report

    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.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    lmf | # 3 | 2006-09-25, 21:05 | Report

    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.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    BanditRider | # 4 | 2006-09-25, 22:09 | Report

    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.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    fpp | # 5 | 2006-09-26, 08:18 | Report

    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.

    Edit | Forward | Quote | Quick Reply | Thanks

     
vBulletin® Version 3.8.8
Normal Logout