Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password

    [Announce] Queen BeeCon Widget: Super powerful and customizable Widget Generation Engine - Official Thread

    Reply
    Page 92 of 140 | Prev | 82   90     91   92   93     94   102 | Next | Last
    illemann | # 911 | 2010-11-08, 09:07 | Report

    A restart made it blink one short and one long..... could it be a Halloween thing?

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Bigmac_hk | # 912 | 2010-11-09, 20:10 | Report

    I have made some frequency buttons but im wanting to have a invisible button with text on it that shows not the current frequency but the current frequency setting, so it shows a constant 600 MHz, 800 MHz or 900 MHz instead of 250 MHz etc when it is idle.

    I have spent hours looking through posts, read the faq and also tried dbus commands but couldnt get it to work. Anyone with a command that can do this?

    Edit | Forward | Quote | Quick Reply | Thanks
    Attached Images
     

    Last edited by Bigmac_hk; 2010-11-09 at 20:22.

     
    batman | # 913 | 2010-11-13, 13:34 | Report

    Originally Posted by No!No!No!Yes! View Post



    Here's another way to have a "2 States Button" which is "ON" on widget/system startup and toggles at every press.
    It uses $QBW_CURRENT_RESULTS_TEXT substitution parameter.
    1. Save attached images to usual QBW images directories
    2. Import Beecon
      Code:
      [queen-beecon-header]
      version=1.000000
      checksum=2980534
      [queen-beecon-exported-instance]
      widgetType=0
      widgetVisible=1
      operationalStatus=0
      hideCanvas=true
      snippetBgRGB=0
      snippetExtBgRGB=#000000000000
      beecon_lt0_ImgZoom=0
      beecon_lt0_BgRGB=2
      beecon_lt0_ExtBgRGB=#808080808080
      beecon_lt0_ImgFilename=queen-beecon-syserr.png
      beecon_eq0_ImgZoom=0
      beecon_eq0_BgRGB=3
      beecon_eq0_ExtBgRGB=#00005cfc0000
      beecon_eq0_ImgFilename=off-button.png
      beecon_eq1_ImgZoom=0
      beecon_eq1_BgRGB=4
      beecon_eq1_ExtBgRGB=#ffffffff0000
      beecon_eq1_ImgFilename=on-button.png
      beecon_ge2_ImgZoom=0
      beecon_ge2_BgRGB=5
      beecon_ge2_ExtBgRGB=#ffff00000000
      beecon_ge2_ImgFilename=queen-beecon-apperr.png
      beecon_idxge2_ImgZoom=0
      beecon_idxge2_BgRGB=11
      beecon_idxge2_ExtBgRGB=#0000ffffffff
      beecon_idxge2_ImgFilename=queen-beecon-index.png
      widWidth=128
      widHeight=145
      instanceTitle=2 States Button
      instanceCmd=if [ "$QBW_EXEC_REASON" == "QBW_STARTUP_UPDATE" ];then echo "ON";exit 1;fi;if [ "$QBW_CURRENT_RESULTS_TEXT" == "ON" ];then echo "OFF";exit 0; else echo "ON";exit 1;fi;
      rememberMe=
      cmdImgFilename=queen-beecon.png
      cmdImgZoom=0
      cmdFgRGB=1
      cmdExtFgRGB=#ffffffffffff
      cmdTextAngle=0
      cmdVisibilityPosition=2
      cmdImgVisibilityPosition=0
      cmdJustify=0
      cmdExtFont=Nokia Sans 10
      cmdFontName=3
      cmdFontSize=12
      resImgFilename=queen-beecon-resimg.png
      resImgZoom=0
      resFgRGB=1
      resExtFgRGB=#ffff00000000
      resTextAngle=0
      resVisibilityPosition=0
      resImgVisibilityPosition=8
      resJustify=0
      resExtFont=Nokia Sans bold italic 18
      resFontName=2
      resFontSize=12
      updOnStartup=true
      updOnClick=true
      updOnDesktop=false
      delayIndex=0
      customIntervalSecs=0
      updNeworkPolicy=0
      updOnDBUS=0
      updOnDBUSBus=0
      updOnDBUSMatchRule=
      progressAnimationBasename=queen-beecon-progress
      progressAnimationFrames=0
      progressAnimationTimer=4
      progressAnimationPos=4
      updOnSight=false
      cmdImgAngle=0
      resImgAngle=0
      hideClickCanvas=true
      progressAnimationAtClickXY=false
    3. After import, edit command and add switch on/off instructions as better specified here:
      PHP Code:
      if [ "$QBW_EXEC_REASON" == "QBW_STARTUP_UPDATE" ]; then
      #    add here switch on instructions
          
      echo "ON";
          exit 
      1;
      fi;

      if [ 
      "$QBW_CURRENT_RESULTS_TEXT" == "ON" ]; then
      #    add here switch off instructions
          
      echo "OFF";
          exit 
      0;
      else
      #    add here switch on instructions
          
      echo "ON";
          exit 
      1;
      fi; 
    I use a customised kernel which I load from MyDocuments called kernel.txt

    how would I get the 2 states button to work as an on/off to load and unload that file in xterminal?

    Is that possible?

    Edit | Forward | Quote | Quick Reply | Thanks

     
    No!No!No!Yes! | # 914 | 2010-11-13, 20:24 | Report

    Originally Posted by batman View Post
    I use a customised kernel which I load from MyDocuments called kernel.txt

    how would I get the 2 states button to work as an on/off to load and unload that file in xterminal?

    Is that possible?
    Replace command for loading and unloading in relevant script section ... it's better if you find a way to retrieve what kernel is currently loaded and set button status accordingly

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to No!No!No!Yes! For This Useful Post:
    batman

     
    batman | # 915 | 2010-11-13, 20:37 | Report

    Forgive my ignorance, and thank you very much for this awsome App

    What I do is I usualy switch on xterminal:

    sudo gainroot
    /usr/sbin/kernel-load /home/user/MyDocs/kernel.txt

    how would I insert that?

    PS: whats the command for unloading? I assume it's:

    sudo gainroot
    /usr/sbin/kernel-unload /home/user/MyDocs/kernel.txt

    ?

    Edit | Forward | Quote | Quick Reply | Thanks

     
    No!No!No!Yes! | # 916 | 2010-11-13, 20:57 | Report

    Originally Posted by batman View Post
    Forgive my ignorance, and thank you very much for this awsome App

    What I do is I usualy switch on xterminal:

    sudo gainroot
    /usr/sbin/kernel-load /home/user/MyDocs/kernel.txt

    how would I insert that?

    PS: whats the command for unloading? I assume it's:

    sudo gainroot
    /usr/sbin/kernel-unload /home/user/MyDocs/kernel.txt

    ?
    Uhm ... sorry don't have modded kernel installed and I don't want to mess up your phone with untested instructions but it could look like this (but I repeat I can't test it and you should proceed at your own risk here):
    PHP Code:
    if [ "$QBW_EXEC_REASON" == "QBW_STARTUP_UPDATE" ]; then
    #    add here switch on instructions
        
    /usr/sbin/kernel-load /home/user/MyDocs/kernel.txt | sudo gainroot
        
    echo "ON";
        exit 
    1;
    fi;

    if [ 
    "$QBW_CURRENT_RESULTS_TEXT" == "ON" ]; then
    #    add here switch off instructions
        
    /usr/sbin/kernel-unload /home/user/MyDocs/kernel.txt | sudo gainroot
        
    echo "OFF";
        exit 
    0;
    else
    #    add here switch on instructions
        
    /usr/sbin/kernel-load /home/user/MyDocs/kernel.txt | sudo gainroot
        
    echo "ON";
        exit 
    1;
    fi; 
    But have a look around as some people had problems with sudo gainroot and had to switch to rootsh.

    I repeat once again I haven't tested this and maybe some kernel gurus around here might confirm commands and whole procedure. So proceed at your own risk!!!

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by No!No!No!Yes!; 2010-11-13 at 20:59.
    The Following User Says Thank You to No!No!No!Yes! For This Useful Post:
    batman

     
    batman | # 917 | 2010-11-13, 21:48 | Report

    Thank you very much for the help. Its working in as much as it loads up my kernel on boot up, but it doesn't act as a 2 state on/off button. I wonder if the off command is correct:

    /usr/sbin/kernel-unload /home/user/MyDocs/kernel.txt | sudo gainroot

    As far as the customised kernel goes, I actualy used some 1 elses conservatively tweaked kernel. Initially because I needed to fix the battery life so that I got more than 5/6 hours per charge (not really by choice, more by need) It idols at 125mhz and runs more graphic intense app's like navigation at 850mhz. Other programs run between 250mhz and 850mhz.

    It seems more stable now than the out of the box device.. It certainly has a much better battery life now (even when using Wifi & GPS)

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Armstrong Dicksmasher | # 918 | 2010-11-14, 18:28 | Report

    Hello guys.
    I need help with terminal command in QBW.

    I need to execute these 2 commands
    Originally Posted by
    sudo gainroot
    mount /dev/sda1 /media/flash
    I've tried with this command but it's working also
    Originally Posted by
    osso-xterm -e "mount /dev/sda1 /media/flash" & sudo gainroot
    Can anyone point to me what's wrong with the code?

    Edit | Forward | Quote | Quick Reply | Thanks

     
    hihi427 | # 919 | 2010-11-14, 19:30 | Report

    Originally Posted by batman View Post
    Forgive my ignorance, and thank you very much for this awsome App

    What I do is I usualy switch on xterminal:

    sudo gainroot
    /usr/sbin/kernel-load /home/user/MyDocs/kernel.txt

    how would I insert that?

    PS: whats the command for unloading? I assume it's:

    sudo gainroot
    /usr/sbin/kernel-unload /home/user/MyDocs/kernel.txt

    ?


    the one u want should be some scprits like this

    Code:
    if [ "$QBW_EXEC_REASON" == "QBW_STARTUP_UPDATE" ]; then
    #    add here switch on instructions
        rootsh /usr/sbin/kernel-load /home/user/MyDocs/kernel.txt
        echo "ON";
        exit 1;
    fi;
    
    if [ "$QBW_CURRENT_RESULTS_TEXT" == "ON" ]; then
    #    add here switch off instructions
        rootsh /usr/sbin/kernel-load /etc/default/kernel-power
        echo "OFF";
        exit 0;
    else
    #    add here switch on instructions
        rootsh /usr/sbin/kernel-load /home/user/MyDocs/kernel.txt
        echo "ON";
        exit 1;
    bcz kernel-config dont have a command "kernel-unload'
    if u wanna retore ur setting after the button turned off just copy the default setting to the file /etc/default/kernel-power


    p.s: the script doesnt work under the rootsh 1.8 if u wanna work just deinstalled the current version and download the old one 1.5 from extra but not extra-devel

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by hihi427; 2010-11-14 at 21:56.

     
    Vintrc | # 920 | 2010-11-15, 06:49 | Report

    Hi,
    anyone knows about some command for hide and show all desktop?
    I mean one button will be everytime on desktop and when i press it, each icons, widget etc. hide and next show back.. because if i have some nice wallpaper, it would be fine

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Page 92 of 140 | Prev | 82   90     91   92   93     94   102 | Next | Last
vBulletin® Version 3.8.8
Normal Logout