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)

moepda 2010-07-23 09:16

Re: [Announce] Queen BeeCon Widget: Customizable and flexible monitoring tool.
 
think something to do with the cd command ? only ever finds on xterm if i have cd /home/opt/scripts/ first ?

techie 2010-07-23 09:33

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

Originally Posted by moepda (Post 761905)
really confused now , chmod used and confirmed on winscp that properties had changed but on confirm command replies

-sh: /home/opt/scripts/OptimizeN900 : not found

Sorry no idea,the commands should have worked.
Confirm the output of
ls -l /home/opt/scripts/OptimizeN900

moepda 2010-07-23 09:36

Re: [Announce] Queen BeeCon Widget: Customizable and flexible monitoring tool.
 
cheers will try really appreciate you helping techie :)

jerryfreak 2010-07-23 09:55

Re: [Announce] Queen BeeCon Widget: Customizable and flexible monitoring tool.
 
hi guys i want to reflash my device. ive got half a dozen beecon widgets for overclocking on my desktop. is there an easy way to backup export and restore them. i know you can export some code (ive imported them), but wanted to make sure i was doing it right and i took ALL parameters with me. thanks

moepda 2010-07-23 10:23

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

Originally Posted by techie (Post 761931)
Sorry no idea,the commands should have worked.
Confirm the output of
ls -l /home/opt/scripts/OptimizeN900

here is my output for the command above...


/home/user # ls -l /home/opt/scripts/OptimizeN900
-rwxr-xr-x 1 root root 855 Jul 22 02:10 /home/opt/scripts/OptimizeN900
/home/user #

does this shed any light ?

PipoXtreme 2010-07-23 11:14

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

I don`t now if I`m to stupid but.. your export of snippet .. maybe a make a fault but it dosn`t work !!!! :(

No!No!No!Yes! 2010-07-23 11:21

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

Originally Posted by jerryfreak (Post 761956)
hi guys i want to reflash my device. ive got half a dozen beecon widgets for overclocking on my desktop. is there an easy way to backup export and restore them. i know you can export some code (ive imported them), but wanted to make sure i was doing it right and i took ALL parameters with me. thanks

hi, see the wiki. there are specific howto sections for this... link is in my signature.

techie 2010-07-23 11:21

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

Originally Posted by PipoXtreme (Post 762042)
I don`t now if I`m to stupid but.. your export of snippet .. maybe a make a fault but it dosn`t work !!!! :(

First confirm you have the latest version of QBW installed 1.0.0.1 . Then if the import file fails try copying to clipboard first and paste, this worked for another user

PipoXtreme 2010-07-23 11:35

Re: [Announce] Queen BeeCon Widget: Customizable and flexible monitoring tool.
 
can you maybe write here in the posting the exact code for it!!

sorry for that.... I`ve tried that already with the clipboard...

techie 2010-07-23 11:57

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

Originally Posted by PipoXtreme (Post 762063)
can you maybe write here in the posting the exact code for it!!

sorry for that.... I`ve tried that already with the clipboard...

QBW version 1.0.0.1 required

Code:

[queen-beecon-header]
version=1.000000
checksum=21249112
[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=ideal\nName_Profile_2=default\nDisp_Name_Profile_2=STOCK\nName_Profile_3=ideal\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>\\nMAX CLOCK : <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=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=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='tklock_mode_ind'


PipoXtreme 2010-07-23 12:56

Re: [Announce] Queen BeeCon Widget: Customizable and flexible monitoring tool.
 
I`ve put it on the bottom in the field but.. when I paste - copy and then import from buffer to command .. it crashed and all my widgets are gone !! f*.....

techie 2010-07-23 12:59

Re: [Announce] Queen BeeCon Widget: Customizable and flexible monitoring tool.
 
@PipoXtreme
Strange it never happened to me.If you add your widgets again they will go the same location you previously had them as is.

I tested the code for 2 days before I posted it here.Its possible there could be conflict if you have any other widget carrying out similar commands and having them run together crashes it.Is that the problem?

PipoXtreme 2010-07-23 13:09

Re: [Announce] Queen BeeCon Widget: Customizable and flexible monitoring tool.
 
1 Attachment(s)
I`ve beegcon`s on desktop for overclocking the CPU yes.. can be that the problem or what you think ??

techie 2010-07-23 13:22

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

Originally Posted by PipoXtreme (Post 762177)
I`ve beegcon`s on desktop for overclocking the CPU yes.. can be that the problem or what you think ??

I am no expert in this but the maximum cpu clock widget you have there could be a problem since my widget also displays max clock.Can you try after removing it if thats okay with you?
Edit:
Though I must point out that when I started out with creating my widget I also had a similar overclock widget before but it didn't crash.Worth a try anyways I guess:o

moepda 2010-07-23 13:56

Re: [Announce] Queen BeeCon Widget: Customizable and flexible monitoring tool.
 
@techie , could you add
min clock
to your occp widget please using yours now but still need min clock so still using original QBW... cheers .
ps gonna start from scratch with optimize widget !!! fingers crossed !!
moepda

techie 2010-07-23 14:05

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

Originally Posted by moepda (Post 762231)
@techie , could you add
min clock
to your occp widget please using yours now but still need min clock so still using original QBW... cheers .
ps gonna start from scratch with optimize widget !!! fingers crossed !!
moepda

ooohh that will mean increasing the height of the widget and redesigning images (which I am not even remotely good at, took more time to do that then write the code:eek:).
Would it be okay for you if I replace the "Max Clock" text with value of minimum frequency.So you will have something like
500/850
at the center of the widget??

moepda 2010-07-23 14:09

Re: [Announce] Queen BeeCon Widget: Customizable and flexible monitoring tool.
 
yes that would be great techie :) your widget does look really good and well finished so that would be the icing on the cake , as the other profiles are self descriptive the 500/850 would be most suitable :)

PipoXtreme 2010-07-23 14:15

Re: [Announce] Queen BeeCon Widget: Customizable and flexible monitoring tool.
 
1 Attachment(s)
wtf look @ this

techie 2010-07-23 14:21

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

Originally Posted by PipoXtreme (Post 762258)
wtf look @ this

Never seen anything like it in all my usage history of QBW.
Will need guidance of No!No!No!Yes! to decipher what that message means since only you seem to have the problem.Will try my best to get to the root of it..

moepda 2010-07-23 14:26

Re: [Announce] Queen BeeCon Widget: Customizable and flexible monitoring tool.
 
pipoXtremes error similar to my

[exit code = 27]
Roo

desktop code

[!?7f00] root shell enabled

!!!!!!!!!!

PipoXtreme 2010-07-23 14:37

Re: [Announce] Queen BeeCon Widget: Customizable and flexible monitoring tool.
 
normaly I`ve to put "sudo gainroot" in Xterminal.. not root.. can somebody change the code to this one ??

techie 2010-07-23 15:10

Re: [Announce] Queen BeeCon Widget: Customizable and flexible monitoring tool.
 
1 Attachment(s)
Is this acceptable to you guys or you wanna change something????

moepda 2010-07-23 15:23

Re: [Announce] Queen BeeCon Widget: Customizable and flexible monitoring tool.
 
how would it look with
- not | ?

and my optimizeN900 exit code=127 indicates a typo , minor syntax error or problem with $path google tells me :) gives me something to think about :)

techie 2010-07-23 15:26

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

Originally Posted by moepda (Post 762331)
how would it look with
- not | ?

Temperature would of-course be blue if that profile was selected:D I have ideal selected thats why it is red.Anyways back to issue - so you mean no separator at all, just display the values, or you want some other kind of separator?

moepda 2010-07-23 15:28

Re: [Announce] Queen BeeCon Widget: Customizable and flexible monitoring tool.
 
yes had quickly edited temp bit was blind for moment ! but maybe this symbol
Code:

-
or yes none you made you decide which you prefer im more than grateful to be using either ;)

PipoXtreme 2010-07-23 15:29

Re: [Announce] Queen BeeCon Widget: Customizable and flexible monitoring tool.
 
@techie and whats with my sudo gainroot or root ? :(

when I type sudorh in the terminal there come a info that this is not possible because risque issue.
It told me I should use root or sudo gainroot !

moepda 2010-07-23 16:25

Re: [Announce] Queen BeeCon Widget: Customizable and flexible monitoring tool.
 
update on my optimizeN900 saga !! now got it running on xterm with
Code:

sh OptimizeN900
dont need to type root/sudo gainroot/sudo etc so fiddling about now to get widget working :) still struggling to get working QBW code though...

location of file is now /home/user/OptimizeN900

techie 2010-07-23 16:30

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

Originally Posted by PipoXtreme (Post 762340)
@techie and whats with my sudo gainroot or root ? :(

when I type sudorh in the terminal there come a info that this is not possible because risque issue.
It told me I should use root or sudo gainroot !

That was on a different question asked by moepda.Its not related to my widget, why are you typing it??
Try again with the import, still same error? I have asked the author for help in understanding what the error means, will wait for reply.

Edit: I may have got you wrong.Please clarify.Did the import happen??

PipoXtreme 2010-07-23 17:02

Re: [Announce] Queen BeeCon Widget: Customizable and flexible monitoring tool.
 
doesn't help as well to import the file...again all widgets away...

techie 2010-07-23 17:16

Re: [Announce] Queen BeeCon Widget: Customizable and flexible monitoring tool.
 
@PipoXtreme
Now only add a single queenbeecon widget and import.Dont agree to purge any file.You will be able to add the rest of widgets after import too.

I now have added the file for displaying minimum clock.
http://talk.maemo.org/showpost.php?p...postcount=1692
Pray no import problems this time around
Cheers!

PipoXtreme 2010-07-23 18:15

Re: [Announce] Queen BeeCon Widget: Customizable and flexible monitoring tool.
 
1 Attachment(s)
the same - crashed with import.. but I see you have the rootsh in the txt again. I think this will be the problem - or maybe that (checksum)

dandiesel 2010-07-23 21:42

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

Originally Posted by No!No!No!Yes! (Post 761433)

Thanks thats great it helped.

Now, I want to add more applications, I've been able to set up a custom launcher for Opera Browser also by changing the string to opera.

I can't seem to be able to create anymore without getting Bad Checksum error.

I want to set up launchers for osso_calculator, controlpanel, image-viewer, clock,

also, a link for facebook and one for twitter so that it opens up in opera browser.. thanks guys.

PipoXtreme 2010-07-24 07:23

Re: [Announce] Queen BeeCon Widget: Customizable and flexible monitoring tool.
 
I've reflashed yesterday my N900. Problem still present - can't import the code whitout lose all my widgets!

Now my question !
Will it be possible... that anybody can post here exactly the screens with number what he have done to create the widget (whitout the swapping of the file from the tutorial for this widget)
I wanna see only the QBW Window with numbering all the steps to create the widget.. Please give me some help.. maybe I`ve done a small failure ?! :(

PipoXtreme 2010-07-24 09:36

Re: [Announce] Queen BeeCon Widget: Customizable and flexible monitoring tool.
 
1 Attachment(s)
Have someone the old version of Qbw for me ? look on the botton for import the buffer - its just to import a file in the newest version....
There can be my problem as well...

No!No!No!Yes! 2010-07-24 11:54

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

Originally Posted by PipoXtreme (Post 763006)
Have someone the old version of Qbw for me ? look on the botton for import the buffer - its just to import a file in the newest version....
There can be my problem as well...

some buttons are missing in your screenshot (the very Import Instance Data from buffer for example)... maybe font is too big.
see Advanced Dialog Box section of the wiki for complete dialog layout.

second, I'm not sure a command that long can be correctly handled by QBW. why not write that into a pure shell script like xxx.sh and call that from the beecon?
be careful that substitution variables must be present in the instance command to happen.

try something like this:

Code:

hhh=$QBW_HOTSPOT_PRESS;yyy=$QBW_EXEC_REASON; /path......./xxx.sh $hhh $yyy
I'm sorry I can't be more helpful at this time but I'm on vacation on Ventotene Island with very limited internet access.
I'll be fully operational by first days August.

PipoXtreme 2010-07-24 12:34

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

by the way now somebody how I can use the fonts from before as default ? Can modify somebody this font little bit smaller ? :)

dandiesel 2010-07-24 14:10

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

Originally Posted by dandiesel (Post 762657)
Thanks thats great it helped.

Now, I want to add more applications, I've been able to set up a custom launcher for Opera Browser also by changing the string to opera.

I can't seem to be able to create anymore without getting Bad Checksum error.

I want to set up launchers for osso_calculator, controlpanel, image-viewer, clock,

also, a link for facebook and one for twitter so that it opens up in opera browser.. thanks guys.

Nevermind, I've figured out how to call using dbus commands.

PipoXtreme 2010-07-24 16:26

Re: [Announce] Queen BeeCon Widget: Customizable and flexible monitoring tool.
 
hmm.. why I don`t have a temperature on the screen ?! :confused:

gft2k1 2010-07-24 17:16

Re: [Announce] Queen BeeCon Widget: Customizable and flexible monitoring tool.
 
sorry for my bad english.......

How to make a widget for disabling gps ?

thanks

moepda 2010-07-24 20:12

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

Originally Posted by techie (Post 762313)
Is this acceptable to you guys or you wanna change something????


@techie... another request to mod your widget :)
could you add another section to the bottom (identical to temperature at top) but that shows battery % .
cheers either way moepda


All times are GMT. The time now is 19:15.

vBulletin® Version 3.8.8