maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [Announce] Queen BeeCon Widget: Super powerful and customizable Widget Generation Engine - Official Thread (https://talk.maemo.org/showthread.php?t=45388)

!!Nokia N900!! 2010-07-27 18:36

Re: [Announce] Queen BeeCon Widget: Customizable and flexible monitoring tool.
 
well, i will do as jonWW did ( reboot ) in the picture ( power menu option.
Tell me jonWW. will editing this will have side effect on the device?
regards

JonWW 2010-07-27 19:01

Re: [Announce] Queen BeeCon Widget: Customizable and flexible monitoring tool.
 
Quote:

Originally Posted by !!Nokia N900!! (Post 766776)
will editing this will have side effect on the device?

No side effects, the two files are nothing more than xml files that define the power button menu.

Don't edit them unless you understand how the structure of the xml files work. But you should be able to change the icons or remove them if you don't want them. I included the original files in the zip incase your fiddling goes wrong. Experiment and have fun with them.

I also installed "Cellular Modem Control Buttons" this added the Tablet mode button to the power menu.

!!Nokia N900!! 2010-07-27 19:43

Re: [Announce] Queen BeeCon Widget: Customizable and flexible monitoring tool.
 
Dear jonWW
Can u please tell me step-by-step how to Add/put the reboot button in the power menu button??
i am new to these setting & afraid to encounter such a issues, and then not able to re-cop..:)

Regards

gft2k1 2010-07-27 19:50

Re: [Announce] Queen BeeCon Widget: Customizable and flexible monitoring tool.
 
[queen-beecon-header]
version=1.000000
checksum=21089746
[queen-beecon-exported-instance]
widgetType=1
widgetVisible=1
operationalStatus=0
hideCanvas=false
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=#0000ffff0000
beecon_eq0_ImgFilename=queen-beecon-appok.png
beecon_eq1_ImgZoom=0
beecon_eq1_BgRGB=4
beecon_eq1_ExtBgRGB=#ffffffff0000
beecon_eq1_ImgFilename=queen-beecon-appwrn.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=190.73667711598748
widHeight=87.567567567567565
instanceTitle=OC Control Panel
instanceCmd=Name_Profile_1=starving_1000\nName_Pro file_2=default\nDisp_Name_Profile_2=STOCK\nName_Pr ofile_3=ideal\nDisp_Name_Profile_3=IDEAL\nif [ $QBW_EXEC_REASON == "QBW_TIMER_UPDATE" ] \;\sthen \n if [ "$QBW_REMEMBER_ME" = fixed ] \;\sthen\n exit 0\n fi\n elif [ "$QBW_REMEMBER_ME" = variable ] and [ $(awk '/string/ {print $2}' /home/user/.QBW_DBUS_TEMP) = "\\"unlocked\\"" ] \;\sthen\n sudo /usr/local/bin/overclock.sh > /dev/null\;\n\s\sfi\nif [ $QBW_EXEC_REASON == "QBW_DBUS_MONITOR" ] \;\sthen\n echo '$QBW_DBUS_VERBOSE_OUTPUT' > /home/user/.QBW_DBUS_TEMP \;\n\s\sif [ $(awk '/string/ {print $2}' /home/user/.QBW_DBUS_TEMP) = "\\"locked\\"" ] and [ "$QBW_REMEMBER_ME" = variable ] \;\sthen\n sudo /usr/local/bin/underclock.sh > /dev/null\n exit 0\n elif [ $(awk '/string/ {print $2}' /home/user/.QBW_DBUS_TEMP) = "\\"unlocked\\"" ] and [ "$QBW_REMEMBER_ME" = variable ] \;\sthen\n sudo /usr/local/bin/overclock.sh > /dev/null \n fi\nif [ $QBW_EXEC_REASON == "QBW_CLICK" ] \;\sthen \n if [ $QBW_HOTSPOT_PRESS -eq "1" -o $QBW_HOTSPOT_PRESS -eq 2 -o $QBW_HOTSPOT_PRESS -eq 3 ] \;\sthen\n sudo kernel-config load $Name_Profile_1 > /dev/null\n sudo /usr/local/bin/overclock.sh > /dev/null\;\n\s\s\s\srun-standalone.sh dbus-send --session --type=method_call --dest=oh.no.more.qbw /oh/no/more/qbw$QBW_ID oh.no.more.qbw.set_param_string string:"rememberMe" string:variable string:""\n run-standalone.sh dbus-send --session --type=method_call --dest=oh.no.more.qbw /oh/no/more/qbw$QBW_ID oh.no.more.qbw.set_param_string string:"resImgFilename" string:smart.png string:""\n elif [ $QBW_HOTSPOT_PRESS -eq 4 -o $QBW_HOTSPOT_PRESS -eq 7 ] \;\sthen\n sudo kernel-config load $Name_Profile_2 > /dev/null\n run-standalone.sh dbus-send --session --type=method_call --dest=oh.no.more.qbw /oh/no/more/qbw$QBW_ID oh.no.more.qbw.set_param_string string:"rememberMe" string:fixed string:""\n run-standalone.sh dbus-send --session --type=method_call --dest=oh.no.more.qbw /oh/no/more/qbw$QBW_ID oh.no.more.qbw.set_param_string string:"resImgFilename" string:profile2.png string:""\n elif [ $QBW_HOTSPOT_PRESS -eq 6 -o $QBW_HOTSPOT_PRESS -eq 9 ] \;\sthen\n sudo kernel-config load $Name_Profile_3 > /dev/null\n run-standalone.sh dbus-send --session --type=method_call --dest=oh.no.more.qbw /oh/no/more/qbw$QBW_ID oh.no.more.qbw.set_param_string string:"rememberMe" string:fixed string:""\n run-standalone.sh dbus-send --session --type=method_call --dest=oh.no.more.qbw /oh/no/more/qbw$QBW_ID oh.no.more.qbw.set_param_string string:"resImgFilename" string:profile3.png string:""\n fi\nfi\necho -e "TEMPERATURA : <span font = \\"14\\"><b>`cat /sys/class/power_supply/bq27200-0/temp` C</b></span>\\nFREQ. MAX : <span font = \\"16\\"><b>`awk '{print $1/1000"MHz"}' /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq`</b></span>"\;echo -e "<span font = \\"18\\"><b><i>$Disp_Name_Profile_2 $Disp_Name_Profile_3</i></b></span>"
rememberMe=fixed
cmdImgFilename=queen-beecon.png
cmdImgZoom=0
cmdFgRGB=1
cmdExtFgRGB=#ffffffffffff
cmdTextAngle=0
cmdVisibilityPosition=0
cmdImgVisibilityPosition=0
cmdJustify=0
cmdExtFont=Nokia Sans bold italic 12
cmdFontName=3
cmdFontSize=12
resImgFilename=default.png
resImgZoom=0
resFgRGB=1
resExtFgRGB=#ffffffffffff
resTextAngle=0
resVisibilityPosition=5
resImgVisibilityPosition=5
resJustify=2
resExtFont=Nokia Sans 12
resFontName=2
resFontSize=12
progressAnimationFrames=4
progressAnimationTimer=4
progressAnimationPos=4
progressAnimationBasename=queen-beecon-progress
updOnStartup=true
updOnClick=true
updOnDesktop=false
updOnSight=false
delayIndex=3
customIntervalSecs=0
updNeworkPolicy=0
updOnDBUS=1
updOnDBUSBus=0
updOnDBUSMatchRule=type='signal',path='/com/nokia/mce/signal',interface='com.nokia.mce.signal',member='t klock_mode_ind'

!!Nokia N900!! 2010-07-27 19:55

Re: [Announce] Queen BeeCon Widget: Customizable and flexible monitoring tool.
 
??????????????????????????

moepda 2010-07-28 10:21

Re: [Announce] Queen BeeCon Widget: Customizable and flexible monitoring tool.
 
copy text to clipboard on phone (or as a file in MyDocs/documents) make new widget,click advanced and paste text or open txt file option either is ok) , import and everything is done :)

!!Nokia N900!! 2010-07-28 13:10

Re: [Announce] Queen BeeCon Widget: Customizable and flexible monitoring tool.
 
Quote:

Originally Posted by moepda (Post 767579)
copy text to clipboard on phone (or as a file in MyDocs/documents) make new widget,click advanced and paste text or open txt file option either is ok) , import and everything is done :)

???? ( confused ):confused::confused:

techie 2010-07-28 13:29

Re: [Announce] Queen BeeCon Widget: Customizable and flexible monitoring tool.
 
Quote:

Originally Posted by !!Nokia N900!! (Post 767736)
???? ( confused ):confused::confused:

The reply of moepda was directed to @gft2k1. However I don't think gft2k1's problem is not knowing how to import the code.He seems to want to use starving for his profile and also change some text,and has clearly run into errors that I can see at a quick glance.Still in order to get help he will have to ask his question clearly.

As for your question !!Nokia N900!! searching always helps:)

http://talk.maemo.org/showpost.php?p=457128&postcount=3
http://talk.maemo.org/showpost.php?p...7&postcount=16

And an entire thread dedicated for this
http://talk.maemo.org/showthread.php?t=48843

gft2k1 2010-07-28 15:37

Re: [Announce] Queen BeeCon Widget: Customizable and flexible monitoring tool.
 
Quote:

Originally Posted by techie (Post 767756)
The reply of moepda was directed to @gft2k1. However I don't think gft2k1's problem is not knowing how to import the code.He seems to want to use starving for his profile and also change some text,and has clearly run into errors that I can see at a quick glance.Still in order to get help he will have to ask his question clearly.

As for your question !!Nokia N900!! searching always helps:)

http://talk.maemo.org/showpost.php?p=457128&postcount=3
http://talk.maemo.org/showpost.php?p...7&postcount=16

And an entire thread dedicated for this
http://talk.maemo.org/showthread.php?t=48843

sorry techie, thanks for your widget but i don't know how to change the checksum (i have made some modifications as you see) and i have copied the text there to copy-paste from my N900 but don't work.

Another thing: in your original script overclock don't work......
example: if i set ideal (850) then lock and unlock phone the temperature button is blue but the frequency is the same (850) and i still on ideal......

Thanks again for your job and sorry for my bad english......

!!Nokia N900!! 2010-07-28 15:38

Re: [Announce] Queen BeeCon Widget: Customizable and flexible monitoring tool.
 
Done...:)
now i have reboot button in my power top button...coooool.
NOTE:
(i used the one with commander manager steps.)

TNiga 2010-07-28 16:21

Re: [Announce] Queen BeeCon Widget: Customizable and flexible monitoring tool.
 
Hi,

I'm making my own fm transmitter widget to match the looks of my other widgets on desktop, and I use this script with QB:
Code:

#!/bin/bash

STATE="`fmtx_client | grep state`"
if [ $STATE = "state=disabled" ]; then
        fmtx_client -p1
        fm-boost
        exit 0
elif [ $STATE = "state=enabled" ]; then
        fmtx_client -p0
        exit 5
fi

What I'm trying to do in QB is show image fmtx_on.png when exit status is 0 and fmtx_off.png.5 (I have written "fmtx_off.png" in the >=3 image) when exit status is 5, but for some reason widget shows no images at all. I know that exit statuses are recognised correctly since the background color changes but no images are shown. What could be wrong?

No!No!No!Yes! 2010-07-28 18:07

Re: [Announce] Queen BeeCon Widget: Customizable and flexible monitoring tool.
 
Quote:

Originally Posted by TNiga (Post 767961)
Hi,

I'm making my own fm transmitter widget to match the looks of my other widgets on desktop, and I use this script with QB:
Code:

#!/bin/bash

STATE="`fmtx_client | grep state`"
if [ $STATE = "state=disabled" ]; then
        fmtx_client -p1
        fm-boost
        exit 0
elif [ $STATE = "state=enabled" ]; then
        fmtx_client -p0
        exit 5
fi

What I'm trying to do in QB is show image fmtx_on.png when exit status is 0 and fmtx_off.png.5 (I have written "fmtx_off.png" in the >=3 image) when exit status is 5, but for some reason widget shows no images at all. I know that exit statuses are recognised correctly since the background color changes but no images are shown. What could be wrong?

Have you checked position of images and visibility?
Is directory correct?
Refer to wiki for relevant settings.

No!No!No!Yes! 2010-07-28 18:12

Re: [Announce] Queen BeeCon Widget: Customizable and flexible monitoring tool.
 
Quote:

Originally Posted by gft2k1 (Post 767911)
sorry techie, thanks for your widget but i don't know how to change the checksum (i have made some modifications as you see) and i have copied the text there to copy-paste from my N900 but don't work.

Another thing: in your original script overclock don't work......
example: if i set ideal (850) then lock and unlock phone the temperature button is blue but the frequency is the same (850) and i still on ideal......

Thanks again for your job and sorry for my bad english......

Guys ... do not change exported instance data by hand ... change command via edit cmd button once you have imported the widget instance with original checksum.

Please refer to the wiki for issues with checksum

techie 2010-07-28 18:52

Re: [Announce] Queen BeeCon Widget: Customizable and flexible monitoring tool.
 
Quote:

Originally Posted by gft2k1 (Post 767911)
sorry techie, thanks for your widget but i don't know how to change the checksum (i have made some modifications as you see) and i have copied the text there to copy-paste from my N900 but don't work.

Another thing: in your original script overclock don't work......
example: if i set ideal (850) then lock and unlock phone the temperature button is blue but the frequency is the same (850) and i still on ideal......

Thanks again for your job and sorry for my bad english......

Your checksum question has already been answered by No!No!No!Yes! You weren't supposed to change the import data but the code.In my download post I mentioned clearly how to change the 3 profiles,follow those instructions.

As for the second part of your question, sorry I didn't understand.To me it looks like its working perfectly.After device is unlocked the ideal profile is loaded with limits 500-850 (default).So whats the problem??

PipoXtreme 2010-07-28 20:08

Re: [Announce] Queen BeeCon Widget: Customizable and flexible monitoring tool.
 
Quote:

Originally Posted by gft2k1 (Post 767911)
sorry techie, thanks for your widget but i don't know how to change the checksum (i have made some modifications as you see) and i have copied the text there to copy-paste from my N900 but don't work.

Another thing: in your original script overclock don't work......
example: if i set ideal (850) then lock and unlock phone the temperature button is blue but the frequency is the same (850) and i still on ideal......

Thanks again for your job and sorry for my bad english......

sorry for my english as well.. my problem is little bit the same.. I set the "top" clock as ideal with 250 - 850 and it works - but when I lock and unlock my phone there is a set the clock back to 250 - 500 why this guys.. thx for your feedbacks...

TNiga 2010-07-28 21:52

Re: [Announce] Queen BeeCon Widget: Customizable and flexible monitoring tool.
 
Quote:

Originally Posted by No!No!No!Yes! (Post 768103)
Have you checked position of images and visibility?
Is directory correct?
Refer to wiki for relevant settings.

There isn't position or visibility setting for exit status images or have I missed something? And I have checked wiki and dice roll example, no help there.

EDIT: Oh now I got it. Didn't realize that I had to set the result position since there was different image.

techie 2010-07-29 08:56

Re: [Announce] Queen BeeCon Widget: Customizable and flexible monitoring tool.
 
Quote:

Originally Posted by PipoXtreme (Post 768266)
sorry for my english as well.. my problem is little bit the same.. I set the "top" clock as ideal with 250 - 850 and it works - but when I lock and unlock my phone there is a set the clock back to 250 - 500 why this guys.. thx for your feedbacks...

Seems that the dbus signal for unlocking is missed and not captured by the widget, though I don't see any reason for that.Maybe you lock and unlock quickly.Try unlocking with the power button too.Also make sure you made the overclock script executable.

PipoXtreme 2010-07-29 09:31

Re: [Announce] Queen BeeCon Widget: Customizable and flexible monitoring tool.
 
1 Attachment(s)
Quote:

Originally Posted by techie (Post 768868)
Also make sure you made the overclock script executable.

???
executable -> chmod ?!
That I`ve done before the installation of the widget.

this is my export and screenshot...

Quote:

[queen-beecon-header]
version=1.000000
checksum=23407278
[queen-beecon-exported-instance]
widgetType=1
widgetVisible=1
operationalStatus=0
hideCanvas=false
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=#0000ffff0000
beecon_eq0_ImgFilename=queen-beecon-appok.png
beecon_eq1_ImgZoom=0
beecon_eq1_BgRGB=4
beecon_eq1_ExtBgRGB=#ffffffff0000
beecon_eq1_ImgFilename=queen-beecon-appwrn.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=190.73667711598748
widHeight=107.25
instanceTitle=OC Control Panel
instanceCmd=Name_Profile_1=ideal\nName_Profile_2=d efault\nDisp_Name_Profile_2=STOCK\nName_Profile_3= lv_ideal_1100\nDisp_Name_Profile_3=IDEAL\nif [ $QBW_EXEC_REASON == "QBW_TIMER_UPDATE" ] ; then \n if [ "$QBW_REMEMBER_ME" = locked ] ; then\n exit 0\n fi\n if [ "$QBW_REMEMBER_ME" != fixed ] ; then\n rootsh /usr/local/bin/overclock > /dev/null;\n fi\nelif [ $QBW_EXEC_REASON == "QBW_DBUS_MONITOR" ] ; then\n echo '$QBW_DBUS_VERBOSE_OUTPUT' > /home/user/.QBW_DBUS_TEMP ;\n if [ $(awk '/string/ {print $2}' /home/user/.QBW_DBUS_TEMP) = "\\"locked\\"" ] ; then\n rootsh /usr/local/bin/underclock > /dev/null\n run-standalone.sh dbus-send --session --type=method_call --dest=oh.no.more.qbw /oh/no/more/qbw$QBW_ID oh.no.more.qbw.set_param_string string:"rememberMe" string:locked string:""\n exit 0\n elif [ $(awk '/string/ {print $2}' /home/user/.QBW_DBUS_TEMP) = "\\"unlocked\\"" ] ; then\n rootsh /usr/local/bin/overclock > /dev/null \n run-standalone.sh dbus-send --session --type=method_call --dest=oh.no.more.qbw /oh/no/more/qbw$QBW_ID oh.no.more.qbw.set_param_string string:"rememberMe" string:unlocked string:""\n run-standalone.sh dbus-send --session --type=method_call --dest=oh.no.more.qbw /oh/no/more/qbw$QBW_ID oh.no.more.qbw.set_param_string string:"resImgFilename" string:smart.png string:"" \n fi\nelif [ $QBW_EXEC_REASON == "QBW_CLICK" ] ; then \n if [ $QBW_HOTSPOT_PRESS -eq "1" -o $QBW_HOTSPOT_PRESS -eq 2 -o $QBW_HOTSPOT_PRESS -eq 3 ] ; then\n rootsh kernel-config load $Name_Profile_1 > /dev/null\n rootsh /usr/local/bin/overclock > /dev/null;\n run-standalone.sh dbus-send --session --type=method_call --dest=oh.no.more.qbw /oh/no/more/qbw$QBW_ID oh.no.more.qbw.set_param_string string:"resImgFilename" string:smart.png string:""\n elif [ $QBW_HOTSPOT_PRESS -eq 4 -o $QBW_HOTSPOT_PRESS -eq 7 ] ; then\n rootsh kernel-config load $Name_Profile_2 > /dev/null\n run-standalone.sh dbus-send --session --type=method_call --dest=oh.no.more.qbw /oh/no/more/qbw$QBW_ID oh.no.more.qbw.set_param_string string:"rememberMe" string:fixed string:""\n run-standalone.sh dbus-send --session --type=method_call --dest=oh.no.more.qbw /oh/no/more/qbw$QBW_ID oh.no.more.qbw.set_param_string string:"resImgFilename" string:profile2.png string:""\n elif [ $QBW_HOTSPOT_PRESS -eq 6 -o $QBW_HOTSPOT_PRESS -eq 9 ] ; then\n rootsh kernel-config load $Name_Profile_3 > /dev/null\n run-standalone.sh dbus-send --session --type=method_call --dest=oh.no.more.qbw /oh/no/more/qbw$QBW_ID oh.no.more.qbw.set_param_string string:"rememberMe" string:fixed string:""\n run-standalone.sh dbus-send --session --type=method_call --dest=oh.no.more.qbw /oh/no/more/qbw$QBW_ID oh.no.more.qbw.set_param_string string:"resImgFilename" string:profile3.png string:""\n fi\nfi\necho -e "TEMPERATURE : <span font = \\"14\\"><b>`cat /sys/class/power_supply/bq27200-0/temp` C</b></span>\\n<span font = \\"16\\"><b>`awk '{print $1/1000"MHz"}' /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq` - `awk '{print $1/1000"MHz"}' /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq`</b></span>";echo -e "<span font = \\"18\\"><b><i>$Disp_Name_Profile_2 $Disp_Name_Profile_3</i></b></span>";echo "BATTERY : <span font = \\"14\\"><b>`hal-device bme | awk '/l.p/ {perc = $3}; /s_c/ {isch = $3} END if (isch == "false") {print perc" %"} else {print "Chrg"}'`</b></span>"\n
rememberMe=unlocked
cmdImgFilename=queen-beecon.png
cmdImgZoom=0
cmdFgRGB=1
cmdExtFgRGB=#ffffffffffff
cmdTextAngle=0
cmdVisibilityPosition=0
cmdImgVisibilityPosition=0
cmdJustify=0
cmdExtFont=Nokia Sans bold italic 12
cmdFontName=3
cmdFontSize=12
resImgFilename=smart.png
resImgZoom=0
resFgRGB=1
resExtFgRGB=#ffffffffffff
resTextAngle=0
resVisibilityPosition=2
resImgVisibilityPosition=2
resJustify=2
resExtFont=Nokia Sans 12
resFontName=2
resFontSize=12
progressAnimationFrames=4
progressAnimationTimer=4
progressAnimationPos=4
progressAnimationBasename=queen-beecon-progress
updOnStartup=true
updOnClick=true
updOnDesktop=false
updOnSight=false
delayIndex=3
customIntervalSecs=0
updNeworkPolicy=0
updOnDBUS=1
updOnDBUSBus=0
updOnDBUSMatchRule=type='signal',path='/com/nokia/mce/signal',interface='com.nokia.mce.signal',member='t klock_mode_ind'

AlMehdi 2010-07-29 10:12

Re: [Announce] Queen BeeCon Widget: Customizable and flexible monitoring tool.
 
1 Attachment(s)
Quote:

Originally Posted by TNiga (Post 767961)
Hi,

I'm making my own fm transmitter widget to match the looks of my other widgets on desktop, and I use this script with QB:
Code:

#!/bin/bash

STATE="`fmtx_client | grep state`"
if [ $STATE = "state=disabled" ]; then
        fmtx_client -p1
        fm-boost
        exit 0
elif [ $STATE = "state=enabled" ]; then
        fmtx_client -p0
        exit 5
fi

What I'm trying to do in QB is show image fmtx_on.png when exit status is 0 and fmtx_off.png.5 (I have written "fmtx_off.png" in the >=3 image) when exit status is 5, but for some reason widget shows no images at all. I know that exit statuses are recognised correctly since the background color changes but no images are shown. What could be wrong?

I used this script to do it. It's the golden radio in the screendump.

Code:

/usr/bin/fmtx_client -p$(if [ $(cut -d. -f1 /proc/uptime ) -lt 100 ]; then echo 0; else /usr/bin/fmtx_client | /bin/grep -q '^state=enabled' ; echo $? ; fi) | /usr/bin/awk -F "=" '($1=="state") {print $2}'
Edit: Ohh.. you wanted the image to change. Sorry. This would not do that.

source: http://wiki.maemo.org/Desktop_Comman...able.2Fdisable

techie 2010-07-29 10:44

Re: [Announce] Queen BeeCon Widget: Customizable and flexible monitoring tool.
 
Quote:

Originally Posted by PipoXtreme (Post 768894)
member='t klock_mode_ind'

Is that how it is in your code.There shouldn't be any space between "t" and "k", its "tklock...."

PipoXtreme 2010-07-29 12:28

Re: [Announce] Queen BeeCon Widget: Customizable and flexible monitoring tool.
 
1 Attachment(s)
Quote:

Originally Posted by techie (Post 768988)
Is that how it is in your code.There shouldn't be any space between "t" and "k", its "tklock...."

when i look in the settings of the widgets in match rule.. there isn`t a space between t - and - klock. its like this `tklock_mode_ind

sacal 2010-07-30 00:23

Re: [Announce] Queen BeeCon Widget: Customizable and flexible monitoring tool.
 
Quote:

Originally Posted by PipoXtreme (Post 768266)
.. I set the "top" clock as ideal with 250 - 850 and it works - but when I lock and unlock my phone there is a set the clock back to 250 - 500 why this guys.. thx for your feedbacks...

Quote:

Originally Posted by techie (Post 768868)
Seems that the dbus signal for unlocking is missed and not captured by the widget, .....

Just let me try to help.

Techie i think the files overclock and underclock are coded as dos files and not linux files. When i try to execute in xterm:
sudo /usr/local/bin/overclock

i got an syntax error: end of file unexpected

Replacing the 0D 0A chars at the end of each line of the overclock and underclock files with only 0A solves the problem.

One other suggestion, if i may, is to only execute underclock if:
"$QBW_REMEMBER_ME" != fixed
so that underclock isn't executed if the stock or ideal profiles are active

By the way thanks for this widget - i liked it :)

techie 2010-07-30 03:55

Re: [Announce] Queen BeeCon Widget: Customizable and flexible monitoring tool.
 
Quote:

Originally Posted by sacal (Post 769757)
Just let me try to help.

Techie i think the files overclock and underclock are coded as dos files and not linux files. When i try to execute in xterm:
sudo /usr/local/bin/overclock

i got an syntax error: end of file unexpected

Replacing the 0D 0A chars at the end of each line of the overclock and underclock files with only 0A solves the problem.

Thanks for the feedback.As I mentioned in my post I am a linux beginner so any suggestions are welcome.:)
Code:

sudo /usr/local/bin/overclock
Running this never gave me a syntax error (and still doesn't;)), although I use rootsh instead of sudo as it doesn't work for me.As for changing values, can you tell me how you are doing it,I have no idea:o

Quote:

One other suggestion, if i may, is to only execute underclock if:
"$QBW_REMEMBER_ME" != fixed
so that underclock isn't executed if the stock or ideal profiles are active

By the way thanks for this widget - i liked it :)
I think you may be confused here.Underclock is executed only when you lock the phone not while using it.My reasoning is that you don't need a speedy phone if its just gonna be sitting idle.When stock or ideal is selected it would prevent the overclock script from executing.Underclock will always execute when device gets locked.

PipoXtreme 2010-07-30 04:57

Re: [Announce] Queen BeeCon Widget: Customizable and flexible monitoring tool.
 
Quote:

Originally Posted by techie (Post 769834)

I think you may be confused here.Underclock is executed only when you lock the phone not while using it.My reasoning is that you don't need a speedy phone if its just gonna be sitting idle.When stock or ideal is selected it would prevent the overclock script from executing.Underclock will always execute when device gets locked.

There can be my problem...

PipoXtreme 2010-07-30 09:09

Re: [Announce] Queen BeeCon Widget: Customizable and flexible monitoring tool.
 
Quote:

Originally Posted by PipoXtreme (Post 769873)
There can be my problem...

Any news about my problem ?! ;)

sacal 2010-07-30 10:24

Re: [Announce] Queen BeeCon Widget: Customizable and flexible monitoring tool.
 
1 Attachment(s)
Techie and Pipo

I have attached a zip with my working version of overclock and underclock. They seam exactly the same as the original files but if you check sizes you will see the difference.

After replacing this files Pipo's max freq problem after unlocking should be solved. At least with me it did.

As for the Stock or Ideal profiles imho they shouldn't be changed when lock happens. It's like automatic or manual mode. Selecting Stock or Ideal should be like manual mode - only changed manualy.

PipoXtreme 2010-07-30 13:15

Re: [Announce] Queen BeeCon Widget: Customizable and flexible monitoring tool.
 
Quote:

Originally Posted by sacal (Post 770120)
Techie and Pipo

I have attached a zip with my working version of overclock and underclock. They seam exactly the same as the original files but if you check sizes you will see the difference.

After replacing this files Pipo's max freq problem after unlocking should be solved. At least with me it did.

As for the Stock or Ideal profiles imho they shouldn't be changed when lock happens. It's like automatic or manual mode. Selecting Stock or Ideal should be like manual mode - only changed manualy.

It works - Great sacal.... thx for that...

techie 2010-07-30 17:58

Re: [Announce] Queen BeeCon Widget: Customizable and flexible monitoring tool.
 
Thanks
Quote:

Originally Posted by sacal (Post 770120)
As for the Stock or Ideal profiles imho they shouldn't be changed when lock happens. It's like automatic or manual mode. Selecting Stock or Ideal should be like manual mode - only changed manualy.

If this is what you want then it can be simply achieved by disabling dbus monitor in settings.No change in coding required:)

sacal 2010-07-30 18:53

Re: [Announce] Queen BeeCon Widget: Customizable and flexible monitoring tool.
 
Quote:

Originally Posted by techie (Post 770506)
Thanks

If this is what you want then it can be simply achieved by disabling dbus monitor in settings.No change in coding required:)

But then even when default profile (blue temperature) is active the underclock function will be disabled.

I think underclock function should only be executed (as the overclock in timer update) when - "$QBW_REMEMBER_ME" != fixed - which means when default profile (blue temperature) is active.

But that's my opinion so don't worry about it.
I will try to do it myself. It will be necessary to add another if.
I just hope qbw can handle some more bytes of code in instancecmd. :)

Thanks

Trestry 2010-07-30 23:15

Re: [Announce] Queen BeeCon Widget: Customizable and flexible monitoring tool.
 
A very nice widget, but I still have some trouble with it. My N900 runs normally at 250-850. When I lock/unlock the screen my N900 runs at 250-750...

It would be great if the widget can reconise wich profile you use and turns the button with that settings on. Now it's always the blue temperature button who's on after a unlock or reboot.

Thank you at all:-)

sacal 2010-07-31 03:59

Re: [Announce] Queen BeeCon Widget: Customizable and flexible monitoring tool.
 
As i said in my last post i did some changes in techie's OCCP widget.

In my custom version there are now 2 modes of operation: auto mode and fixed mode.

Auto mode is activated touching the temperature area of the widget. In this mode profile1 is activated and the max clock frequency is function of the temperature as coded in overclock file. If the phone is locked the underclock file is executed setting a lower max frequency. When the phone is unlocked the auto mode is reactivated.

Fixed mode can be activated touching the STOCK or IDEAL areas of the widget. In this mode the min and max clock frequencies are fixed and set by the profiles associated with STOCK and IDEAL. There is no change in clock frequency with temperature or with the locking unlocking of the phone.

Note that all credits for this widget belong to his creator - techie.

If anyone wants this custom version please ask techie and if he agrees i can send him the code for posting.

techie 2010-07-31 10:59

Re: [Announce] Queen BeeCon Widget: Customizable and flexible monitoring tool.
 
@sacal
Thank you your support! If this is how users want to use it then I have no problem, I am always open to suggestions.
Actually I have been working on a new version of the widget following No!No!No!Yes!'s suggestions for optimization, and the general doubt about QBW properly handling such large code.I have modified many of the things mainly with the view of having it execute minimum possible statements.I am still testing so didn't upload it.

moepda 2010-07-31 11:31

Re: [Announce] Queen BeeCon Widget: Customizable and flexible monitoring tool.
 
looking forward to its release techie :) my occp you made still running fine by the way :)

gft2k1 2010-08-02 15:12

Re: [Announce] Queen BeeCon Widget: Customizable and flexible monitoring tool.
 
Quote:

Originally Posted by sacal (Post 771008)
As i said in my last post i did some changes in techie's OCCP widget.

In my custom version there are now 2 modes of operation: auto mode and fixed mode.

Auto mode is activated touching the temperature area of the widget. In this mode profile1 is activated and the max clock frequency is function of the temperature as coded in overclock file. If the phone is locked the underclock file is executed setting a lower max frequency. When the phone is unlocked the auto mode is reactivated.

Fixed mode can be activated touching the STOCK or IDEAL areas of the widget. In this mode the min and max clock frequencies are fixed and set by the profiles associated with STOCK and IDEAL. There is no change in clock frequency with temperature or with the locking unlocking of the phone.

Note that all credits for this widget belong to his creator - techie.

If anyone wants this custom version please ask techie and if he agrees i can send him the code for posting.

I'm trying too but i come from dos and windows......I'm neewbie with python and i don't know how to manage if then else conditions.......

gft2k1 2010-08-02 15:32

Re: [Announce] Queen BeeCon Widget: Customizable and flexible monitoring tool.
 
hello moepda

I want modify the script to create an auto mode and a fixed mode, same as sacal but i'm neewbie with python.........sigh

gft2k1 2010-08-02 15:42

Re: [Announce] Queen BeeCon Widget: Customizable and flexible monitoring tool.
 
i want to create a queen beecon widget that enable gps, launch sygic mobile maps and when exit from sygic disable gps but i don't find the gps module in maemo........

TNiga 2010-08-02 17:17

Re: [Announce] Queen BeeCon Widget: Customizable and flexible monitoring tool.
 
Quote:

Originally Posted by gft2k1 (Post 773195)
i want to create a queen beecon widget that enable gps, launch sygic mobile maps and when exit from sygic disable gps but i don't find the gps module in maemo........

Doesn't gps go on automatically when you start Sygic and off when you close it? At least for me it does that.

gft2k1 2010-08-02 18:29

Re: [Announce] Queen BeeCon Widget: Customizable and flexible monitoring tool.
 
Quote:

Originally Posted by TNiga (Post 773274)
Doesn't gps go on automatically when you start Sygic and off when you close it? At least for me it does that.

basically yes, but if you go in settings->gps the gps option is checked and you must unchecked it manually.......

Try to uncheck gps option and launch sygic.......
When sygic start will ask you to enable gps!

But when you exit from sygic it doesn't ask you to disable gps!

The gps is still active in background even if no application required it and this is an inopportune battery drain

sorry for my bad english !

No!No!No!Yes! 2010-08-03 07:32

Re: [Announce] Queen BeeCon Widget: Customizable and flexible monitoring tool.
 
@techie: reset_rearm_timer DBUS method call was not disabling timer when timer update was disabled; fixed

Bug confirmed and fixed in 1.0.2

Also ... next extras-devel 1.0.2 release will have g_warning() enabled so if you have sysklogd daemon running on phone you'll be able to fetch extra debugging info

No!No!No!Yes! 2010-08-03 07:46

Re: [Announce] Queen BeeCon Widget: Customizable and flexible monitoring tool.
 
Quote:

Originally Posted by dandiesel (Post 764990)
Hi, have a question:

When I click on any of my icons (widgets) it shows a black background behind the image,

http://img707.imageshack.us/img707/5...eenshot03k.png

Can anyone tell me where I can remove this or change these parameters?

Black background onClick is visual feedback for widget click ... no parameter to hide this.

Quote:

Originally Posted by dandiesel (Post 764990)
Also, is it possible to add a custom animation onclick? I.e. when I click on an icon, it will glow briefly or swirl effect (i can try with a GIF later but thought I would ask first)

SEE WIKI


All times are GMT. The time now is 23:28.

vBulletin® Version 3.8.8