Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password

    Desktop Command Execution Widget scripts

    Reply
    Page 20 of 42 | Prev | 10   18     19   20   21     22   30 | Next | Last
    cpscotti | # 191 | 2010-03-14, 15:52 | Report

    Originally Posted by fpp View Post
    Good news... and what do you think of my request (and a couple of others) to allow icons as well as text for the widget caption ? :-)
    Those are all valuable requests and they are in my "TODO" list.

    Now.. after some talk.maemo.org procrastination, back to my thesis.

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 2 Users Say Thank You to cpscotti For This Useful Post:
    fpp, skalogre

     
    rooted | # 192 | 2010-03-14, 18:48 | Report

    I have another one: widget could have an option to update on boot or not. It's not useful for buttons to update on boot. If you implement this you'll be changing .desktop_cmd_exec and in that case I also have the request to make it more manual-editing-friendly, so saved commands are in their own lines, not all in one and they also do not change (some characters are added in some cases).

    Edit | Forward | Quote | Quick Reply | Thanks

     
    RobbH | # 193 | 2010-03-14, 21:13 | Report

    Originally Posted by rooted View Post
    I have another one: widget could have an option to update on boot or not. It's not useful for buttons to update on boot.
    (remainder snipped)
    I would like to second that request, and also point out that there is a workaround, which I reported in post #157 in this thread.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    jakiman | # 194 | 2010-03-14, 22:33 | Report

    I still have not figured out how to create a button for lowering the screen brightness beyond the normal low setting that's possible using the following command from the xterminal as root. Can anyone step it out or make it work with DCEW?

    echo 2 > /sys/class/backlight/acx565akm/brightness

    Edit | Forward | Quote | Quick Reply | Thanks

     
    rooted | # 195 | 2010-03-15, 07:23 | Report

    rootsh echo 2 > (path) | echo ""

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

     
    jakiman | # 196 | 2010-03-15, 08:53 | Report

    Originally Posted by rooted View Post
    rootsh echo 2 > (path) | echo ""
    Does that work for you? Coz it definitely doesn't work for me with DCE.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    qwerty12 | # 197 | 2010-03-15, 08:57 | Report

    Originally Posted by jakiman View Post
    I still have not figured out how to create a button for lowering the screen brightness beyond the normal low setting that's possible using the following command from the xterminal as root. Can anyone step it out or make it work with DCEW?

    echo 2 > /sys/class/backlight/acx565akm/brightness
    Code:
    echo "echo 2 > /sys/class/backlight/acx565akm/brightness" | sudo gainroot
    --

    Oh, cpscotti, because it annoyed me:
    PHP Code:
    --- desktop-cmd-exec-1.01.orig/desktop-cmd-exec.c
    +++ desktop-cmd-exec-1.01/desktop-cmd-exec.c
    @@ -1096,6 +1096,12 @@
         
    gtk_size_group_add_widget (group, commandLabel);
         
         
    GtkWidget *commandEntry = hildon_entry_new (HILDON_SIZE_AUTO_WIDTH | HILDON_SIZE_FINGER_HEIGHT);
    +    
    //Disable automatic capitalisation 
    +    HildonGtkInputMode input_mode = hildon_gtk_entry_get_input_mode (GTK_ENTRY (commandEntry));
    +    
    input_mode &= ~HILDON_GTK_INPUT_MODE_AUTOCAP;
    +    
    //input_mode &= ~(HILDON_GTK_INPUT_MODE_AUTOCAP | HILDON_GTK_INPUT_MODE_DICTIONARY);
    +    hildon_gtk_entry_set_input_mode (GTK_ENTRY (commandEntry), input_mode);
    +    
    //END: Disable automatic capitalisation 
         
    gtk_box_pack_start (GTK_BOX (commandBox), commandLabel, FALSE, FALSE, 0);
         
    gtk_box_pack_start (GTK_BOX (commandBox), commandEntry, TRUE, TRUE, 0);
         if(!new) 

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by qwerty12; 2010-03-15 at 09:06.
    The Following 4 Users Say Thank You to qwerty12 For This Useful Post:
    Alan_Peery, casper27, jakiman, No!No!No!Yes!

     
    Kamikaze | # 198 | 2010-03-15, 20:01 | Report

    Can anyone tell me if it's possible to edit the Internal IP cmd so that it only displays the IP number on the second line please (the one needed to connect to it with WinSCP) ? Cheers

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by Kamikaze; 2010-03-15 at 20:09.

     
    rooted | # 199 | 2010-03-15, 20:29 | Report

    /sbin/ifconfig | grep wl -A 2 | grep ine | awk -F: '{print $2}' | awk '{print $1}'

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

     
    Kamikaze | # 200 | 2010-03-15, 20:47 | Report

    Nice one, cheers mate

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Page 20 of 42 | Prev | 10   18     19   20   21     22   30 | Next | Last
vBulletin® Version 3.8.8
Normal Logout