Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password

    Desktop Command Execution Widget scripts

    Reply
    Page 7 of 42 | Prev |   5     6   7   8     9   17 | Next | Last
    F2thaK | # 61 | 2010-01-24, 10:11 | Report

    Originally Posted by f2thak

    when i use it, every time i reboot, it reverts to original full width and displays batt%... even tho i set it to uptime and resize it.. also half the time the uptime script comes up "invalid".... ???

    liedekef:
    For the uptime command: edit it and change "NF==11" to "NF==10" in the command, then it works ok (at least on my N900), since the uptime command has only 10 fields, not 11 (at least not now).

    http://talk.maemo.org/showpost.php?p...7&postcount=54


    now all of a sudden it keeps changes on reboot and uptime script works!! thanks!!!!

    Edit | Forward | Quote | Quick Reply | Thanks

     
    cpscotti | # 62 | 2010-01-26, 00:55 | Report

    Hi everybody!
    Version 0.6 at extras-devel!

    In this version, you can add as many widgets as you want and set up custom width. Also, each widget retains it's own settings except for the commands list which is "universal".



    Testing is welcome! I've been using this version now for two days without any sign of problem.. but... let me know.

    PS: old users should backup their commands before upgrading; all settings will be erased since most of the settings structure has changed..

    Btw, the "google ping" cmd there is not "official" since it needs a little ugly hack to work;
    Code:
    sudo gainroot
    cd /bin/
    chmod +s ping
    And then, the command itself is:
    Code:
    ping www.google.com -c 1 | awk '{print $7}' | awk -F= 'NF == 2 {print $2}
    Enjoy!

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 4 Users Say Thank You to cpscotti For This Useful Post:
    iKneaDough, jakiman, No!No!No!Yes!, qwerty12

     
    jakiman | # 63 | 2010-01-26, 06:01 | Report

    Originally Posted by cpscotti View Post
    And then, the command itself is:
    Code:
    ping www.google.com -c 1 | awk '{print $7}' | awk -F= 'NF == 2 {print $2}
    Enjoy!
    The new version is working great! Multiple instances finally! Very happy. Thank you!
    I might have a whole desktop just full of this widget outputting various stuff. =)

    btw, your last code is missing a ' at the end. hehe.
    I also added ,"ms" so it appends the ms at the end. =)
    Code:
    ping www.google.com -c 1 | awk '{print $7}' | awk -F= 'NF == 2 {print $2,"ms"}'
    Another super simple script to show date:
    eg. Tue 26 Jan 2010 (you can change the order if you like)
    Code:
    date | awk '{print $1,$3,$2,$6}'

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by jakiman; 2010-01-26 at 06:06.
    The Following 2 Users Say Thank You to jakiman For This Useful Post:
    cpscotti, iKneaDough

     
    chemist | # 64 | 2010-01-27, 01:24 | Report

    I was looking for it weeks ago and setup a brainstorm, its now marked as implemented at the forum but please have a look for the solution I'd like to see!
    http://talk.maemo.org/showthread.php?t=34345

    I am missing multiple line output and real bash syntax highlighting editor with multiple lines. Text size should be chooseable too.

    Nice tool so far anyway!

    Edit | Forward | Quote | Quick Reply | Thanks

     
    fred123 | # 65 | 2010-01-27, 01:25 | Report

    How do you add multiple widgets to the desktop?

    Edit | Forward | Quote | Quick Reply | Thanks

     
    cpscotti | # 66 | 2010-01-27, 02:09 | Report

    Originally Posted by chemist View Post
    I was looking for it weeks ago and setup a brainstorm, its now marked as implemented at the forum but please have a look for the solution I'd like to see!
    http://talk.maemo.org/showthread.php?t=34345

    I am missing multiple line output and real bash syntax highlighting editor with multiple lines. Text size should be chooseable too.

    Nice tool so far anyway!
    Hi!
    I just read most of the brainstorm and it really IS close to my widget! =]
    Some observations: instead of multiple lines, we opted for multiple widgets with user-defined width. The idea is to output short info there.

    About an editor with syntax highlight .. well.. I believe you can simply use whatever editor you like to create your script (e.g. script.sh) and then just call that script from the widget (e.g. /path2script/script.sh).

    By text size you mean font? Well.. anyway.. this app is VERY young.. not even in extras yet.. maybe with some more time..

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

     
    cpscotti | # 67 | 2010-01-27, 02:24 | Report

    Originally Posted by fred123 View Post
    How do you add multiple widgets to the desktop?
    Just do as if there was none: Click outside any widgets on your destkop; this will unhide a gear on the top.. click the gear. This will enable the config of the desktop.. then click on the upper bar and.. "Add widget"
    Select "Desktop Command Execution Widget" and you are done!

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

     
    fred123 | # 68 | 2010-01-27, 02:56 | Report

    Once I have first widget on desktop the add widget menu no longer shows Desktop Command Execution as an option.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    F2thaK | # 69 | 2010-01-27, 03:21 | Report

    do u have latest ver?? 0.6

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by F2thaK; 2010-01-27 at 03:23.

     
    jakiman | # 70 | 2010-01-27, 03:28 | Report

    Originally Posted by fred123 View Post
    Once I have first widget on desktop the add widget menu no longer shows Desktop Command Execution as an option.
    Do you have the latest version? Try uninstalling and reinstalling it.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Page 7 of 42 | Prev |   5     6   7   8     9   17 | Next | Last
vBulletin® Version 3.8.8
Normal Logout