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)

ioiomi 2011-02-22 12:04

Re: [Announce] Queen BeeCon Widget: Super powerful and customizable Widget Generation Engine - Official Thread
 
can i install QBW in pc
how to do this

Midnite_Rider 2011-02-22 14:20

Re: [Announce] Queen BeeCon Widget: Super powerful and customizable Widget Generation Engine - Official Thread
 
Hi, No!No!No!Yes!

I love your app, I have been busy replacing my regular widgets with beecons for the past week or so,
and I am currently working on a "like button" for my mp3 player",
I dump a bunch of new songs onto a folder, and if I hear a song i like, I just press the LIKEbutton,
and it saves the song file to another folder.

it seems to be working well, but I think I found a bug in queenbeecon,
I am using QBW V1.3.3, and my N900 firmware is up to date.

the LIKEbutton uses the DBUS to get the currently playing song from the media player (I am using Mediabox player),
but if the song titles have single quotes in them (" ' "), $QBW_DBUS_VERBOSE_OUTPUT returns NOTHING,
in fact, the entire script seems to crash, returning an exit code 2.

I set up a demo beecon that was taken from your own Wiki page,
with a slight modification to include a " ' " in a DBUS output string.

Code:

run-standalone.sh dbus-send --system --type=signal /com/example/app/Signal com.example.app.Signal.Test string:'Oh' string:'No!!!' string:'More QBWs!!!' string:"single quotes don't work here" boolean:true uint32:10000
if you change
"single quotes don't work here"
to
"single quotes dont work here"
the script works fine.


here is the beecon that demonstrates the bug (original script code from Wiki):
Code:

[queen-beecon-header]
version=1.000000
checksum=2855790
[queen-beecon-exported-instance]
widgetType=0
widgetVisible=1
operationalStatus=0
hideCanvas=false
hideClickCanvas=true
snippetBgRGB=0
snippetExtBgRGB=#83477ee7845f
beecon_lt0_ImgZoom=0
beecon_lt0_BgRGB=2
beecon_lt0_ExtBgRGB=#808080808080
beecon_lt0_ImgFilename=
beecon_eq0_ImgZoom=0
beecon_eq0_BgRGB=3
beecon_eq0_ExtBgRGB=#0000ffff0000
beecon_eq0_ImgFilename=
beecon_eq1_ImgZoom=0
beecon_eq1_BgRGB=4
beecon_eq1_ExtBgRGB=#ffff00000000
beecon_eq1_ImgFilename=
beecon_ge2_ImgZoom=0
beecon_ge2_BgRGB=5
beecon_ge2_ExtBgRGB=#ffffffff0000
beecon_ge2_ImgFilename=
beecon_idxge2_ImgZoom=0
beecon_idxge2_BgRGB=11
beecon_idxge2_ExtBgRGB=#ffff8c080000
beecon_idxge2_ImgFilename=
widWidth=500.67741935483866
widHeight=320.57142857142856
instanceTitle=single quote fail
instanceCmd=echo "$QBW_ID $QBW_EXEC_REASON"; echo '$QBW_DBUS_VERBOSE_OUTPUT'; exit 2
rememberMe=
cmdImgFilename=
cmdImgAngle=0
cmdImgZoom=0
cmdFgRGB=1
cmdExtFgRGB=#ffffffffffff
cmdTextAngle=0
cmdVisibilityPosition=0
cmdImgVisibilityPosition=5
cmdJustify=0
cmdExtFont=Nokia Sans bold italic 12
cmdFontName=3
cmdFontSize=12
resImgFilename=queen-beecon-resimg.png
resImgAngle=0
resImgZoom=0
resFgRGB=1
resExtFgRGB=#000000000000
resTextAngle=0
resVisibilityPosition=1
resImgVisibilityPosition=5
resJustify=0
resExtFont=Nokia Sans Cn 17
resFontName=16
resFontSize=10
resWrapLongLines=true
progressAnimationFrames=4
progressAnimationTimer=4
progressAnimationPos=4
progressAnimationAtClickXY=false
progressAnimationBasename=queen-beecon-progress
updOnStartup=false
updOnClick=true
multiClick=false
updOnDesktop=false
updOnSight=false
updOnOrientation=false
delayIndex=0
customIntervalSecs=0
updNeworkPolicy=0
GPSsettings=0
updOnDBUS=1
updOnDBUSBus=0
updOnDBUSMatchRule=type='signal',interface='com.example.app.Signal'


Thanks for reading :)

No!No!No!Yes! 2011-02-22 19:23

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

Originally Posted by ioiomi (Post 952624)
can i install QBW in pc
how to do this

Sorry ... N900 only. No immediate plans to cross-porting.

No!No!No!Yes! 2011-02-22 19:48

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

Originally Posted by Midnite_Rider (Post 952750)
Hi, No!No!No!Yes!

I love your app, I have been busy replacing my regular widgets with beecons for the past week or so,
and I am currently working on a "like button" for my mp3 player",
I dump a bunch of new songs onto a folder, and if I hear a song i like, I just press the LIKEbutton,
and it saves the song file to another folder.

it seems to be working well, but I think I found a bug in queenbeecon,
I am using QBW V1.3.3, and my N900 firmware is up to date.

the LIKEbutton uses the DBUS to get the currently playing song from the media player (I am using Mediabox player),
but if the song titles have single quotes in them (" ' "), $QBW_DBUS_VERBOSE_OUTPUT returns NOTHING,
in fact, the entire script seems to crash, returning an exit code 2.

I set up a demo beecon that was taken from your own Wiki page,
with a slight modification to include a " ' " in a DBUS output string.

Code:

run-standalone.sh dbus-send --system --type=signal /com/example/app/Signal com.example.app.Signal.Test string:'Oh' string:'No!!!' string:'More QBWs!!!' string:"single quotes don't work here" boolean:true uint32:10000
if you change
"single quotes don't work here"
to
"single quotes dont work here"
the script works fine.


here is the beecon that demonstrates the bug (original script code from Wiki):
Code:

[queen-beecon-header]
version=1.000000
checksum=2855790
[queen-beecon-exported-instance]
widgetType=0
widgetVisible=1
operationalStatus=0
hideCanvas=false
hideClickCanvas=true
snippetBgRGB=0
snippetExtBgRGB=#83477ee7845f
beecon_lt0_ImgZoom=0
beecon_lt0_BgRGB=2
beecon_lt0_ExtBgRGB=#808080808080
beecon_lt0_ImgFilename=
beecon_eq0_ImgZoom=0
beecon_eq0_BgRGB=3
beecon_eq0_ExtBgRGB=#0000ffff0000
beecon_eq0_ImgFilename=
beecon_eq1_ImgZoom=0
beecon_eq1_BgRGB=4
beecon_eq1_ExtBgRGB=#ffff00000000
beecon_eq1_ImgFilename=
beecon_ge2_ImgZoom=0
beecon_ge2_BgRGB=5
beecon_ge2_ExtBgRGB=#ffffffff0000
beecon_ge2_ImgFilename=
beecon_idxge2_ImgZoom=0
beecon_idxge2_BgRGB=11
beecon_idxge2_ExtBgRGB=#ffff8c080000
beecon_idxge2_ImgFilename=
widWidth=500.67741935483866
widHeight=320.57142857142856
instanceTitle=single quote fail
instanceCmd=echo "$QBW_ID $QBW_EXEC_REASON"; echo '$QBW_DBUS_VERBOSE_OUTPUT'; exit 2
rememberMe=
cmdImgFilename=
cmdImgAngle=0
cmdImgZoom=0
cmdFgRGB=1
cmdExtFgRGB=#ffffffffffff
cmdTextAngle=0
cmdVisibilityPosition=0
cmdImgVisibilityPosition=5
cmdJustify=0
cmdExtFont=Nokia Sans bold italic 12
cmdFontName=3
cmdFontSize=12
resImgFilename=queen-beecon-resimg.png
resImgAngle=0
resImgZoom=0
resFgRGB=1
resExtFgRGB=#000000000000
resTextAngle=0
resVisibilityPosition=1
resImgVisibilityPosition=5
resJustify=0
resExtFont=Nokia Sans Cn 17
resFontName=16
resFontSize=10
resWrapLongLines=true
progressAnimationFrames=4
progressAnimationTimer=4
progressAnimationPos=4
progressAnimationAtClickXY=false
progressAnimationBasename=queen-beecon-progress
updOnStartup=false
updOnClick=true
multiClick=false
updOnDesktop=false
updOnSight=false
updOnOrientation=false
delayIndex=0
customIntervalSecs=0
updNeworkPolicy=0
GPSsettings=0
updOnDBUS=1
updOnDBUSBus=0
updOnDBUSMatchRule=type='signal',interface='com.example.app.Signal'


Thanks for reading :)

Thanks for thorough reporting :)
Actually, I think the problem here is the:
Code:

echo '$QBW_DBUS_VERBOSE_OUTPUT'
That gets replaced as something like:
Code:

echo '.....single quotes don't work here...'
Thus causing the uneven single quote character balancing and shell statement to fail (Unterminated quoted string)

How about trying with:
Code:

echo "$QBW_DBUS_VERBOSE_OUTPUT"
This way maybe you'll get rid of your current problem but you could have the side effect of noticing weird behaviour with songs with shell special characters in their title.
Like for example: '...$$$ for nothing...'

One more thing to try (shell Here Documents):
Code:

echo <<LikeThisSong
$QBW_DBUS_VERBOSE_OUTPUT
LikeThisSong

Let me now :D

moudy91 2011-02-22 21:00

Re: [Announce] Queen BeeCon Widget: Super powerful and customizable Widget Generation Engine - Official Thread
 
i usual i use the cat command so i can see my notes but i need a script that i will access it from my desktop, and the location of my note is /home/user/MyDocs/note.html
how can i do that ?
i have this script but i can't open my text location:

dbus-send --type=method_call --dest=com.nokia.HildonDesktop.AppMgr /com/nokia/HildonDesktop/AppMgr com.nokia.HildonDesktop.AppMgr.LaunchApplication string:"osso_notes"

please can anyone correct it, thank you

Midnite_Rider 2011-02-22 21:55

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

Originally Posted by No!No!No!Yes! (Post 952997)
Thanks for thorough reporting :)
Actually, I think the problem here is the:
Code:

echo '$QBW_DBUS_VERBOSE_OUTPUT'
How about trying with:
Code:

echo "$QBW_DBUS_VERBOSE_OUTPUT"

Tried that, one of the first things I tried, I even tried putting the quotes into strings,
Code:

QT="'"; echo $QT$QBW_DBUS_VERBOSE_OUTPUT$QT
but even if I used the wrong quoting, I would still get something returned from the variable,
like this: "single quotes don"
but this is a far more serious problem, since the entire script crashes, and I get no output at all.

I will add some code to the demo beecon before $QBW_DBUS_VERBOSE_OUTPUT is read to confirm that the beecon code crashes, but I'm pretty sure it does crash .
Quote:



One more thing to try (shell Here Documents):
Code:

echo <<LikeThisSong
$QBW_DBUS_VERBOSE_OUTPUT
LikeThisSong


It looks like that I would be simply inserting the data into a string,
the same as doing:
Code:

QBW_DBUS_VERBOSE_OUTPUT="single quotes don't work here"
and that isn't going to get me anywhere, since the data is coming from MY code, and I can escape it any way I want.

the problem is that $QBW_DBUS_VERBOSE_OUTPUT
is being set internally by YOUR code, so there isn't anything I can do to correct it after it was set by QBW.

Please try out the beecon & DBUS command I posted above, and see for yourself .

thanks :)

No!No!No!Yes! 2011-02-22 22:39

Re: [Announce] Queen BeeCon Widget: Super powerful and customizable Widget Generation Engine - Official Thread
 
http://i.imgur.com/TrJoq.png

http://i.imgur.com/IMrpt.png

http://i.imgur.com/aoNSU.jpg

http://i.imgur.com/x1fgY.png

Midnite_Rider 2011-02-23 14:08

Re: [Announce] Queen BeeCon Widget: Super powerful and customizable Widget Generation Engine - Official Thread
 
well, I was wrong,
it does seem to work, but it's not very useful, unfortunately.

it only displays the entire dbus output, you can't pass it to another variable for further processing, and a here-doc that was posted on the page you linked to is SUPPOSED to pass the output to a variable doesn't seem to work :(
Code:

variable=$(cat <<SETVAR
This variable
runs over multiple lines.
SETVAR)

echo "$variable"

So, I guess that you aren't going to fix the bug in your app ?
or even look to see if it can be fixed ?

I would think it can be fixed, since the dbus output shows up in the QBW logs & is formatted correctly .

Thanks for pointing me to the here-docs though, at least I learned something new for all my effort .

No!No!No!Yes! 2011-02-23 15:37

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

Originally Posted by Midnite_Rider (Post 953658)
well, I was wrong,
it does seem to work, but it's not very useful, unfortunately.

it only displays the entire dbus output, you can't pass it to another variable for further processing, and a here-doc that was posted on the page you linked to is SUPPOSED to pass the output to a variable doesn't seem to work :(
Code:

variable=$(cat <<SETVAR
This variable
runs over multiple lines.
SETVAR)

echo "$variable"

So, I guess that you aren't going to fix the bug in your app ?
or even look to see if it can be fixed ?

I would think it can be fixed, since the dbus output shows up in the QBW logs & is formatted correctly .

Thanks for pointing me to the here-docs though, at least I learned something new for all my effort .

It's not a bug in the app.
It's just a matter of scripting skills and shell knowledge.
http://i.imgur.com/Yozhy.jpg

Midnite_Rider 2011-02-23 18:52

Re: [Announce] Queen BeeCon Widget: Super powerful and customizable Widget Generation Engine - Official Thread
 
well, if a single character (" ' ") causing an entire script to crash isn't a bug, than I don't know what is, (and it does crash, I checked).

I'm not trying to do anything unusual in the beecon, just trying to extract data from $QBW_DBUS_VERBOSE_OUTPUT, and it works just fine, until it encounters a single quote in the dbus message, how is that not a bug ?

why would I need to add several extra lines of code just to handle quote chars when a:
"my_variable=$QBW_DBUS_VERBOSE_OUTPUT"
should suffice for ALL printable chars.?

and that screenshot you posted shows that the script is clearly NOT running on your widget.

No!No!No!Yes! 2011-02-23 19:30

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

Originally Posted by Midnite_Rider (Post 953874)
well, if a single character (" ' ") causing an entire script to crash isn't a bug, than I don't know what is, (and it does crash, I checked).

I'm not trying to do anything unusual in the beecon, just trying to extract data from $QBW_DBUS_VERBOSE_OUTPUT, and it works just fine, until it encounters a single quote in the dbus message, how is that not a bug ?

why would I need to add several extra lines of code just to handle quote chars when a:
"my_variable=$QBW_DBUS_VERBOSE_OUTPUT"
should suffice for ALL printable chars.?

and that screenshot you posted shows that the script is clearly NOT running on your widget.

I'm sorry I can't help you more than this. :)

Midnite_Rider 2011-02-23 20:07

Re: [Announce] Queen BeeCon Widget: Super powerful and customizable Widget Generation Engine - Official Thread
 
Ok, no problem .

I did my part & reported the issue,
and it's up to you of course, if you choose to do anything about it, or not .

Good luck with your app :)

elie-7 2011-02-26 06:55

Re: [Announce] Queen BeeCon Widget: Super powerful and customizable Widget Generation Engine - Official Thread
 
just a litle something something i did with beecon .
http://talk.maemo.org/attachment.php...1&d=1298663652

JonWW 2011-02-26 16:29

Re: [Announce] Queen BeeCon Widget: Super powerful and customizable Widget Generation Engine - Official Thread
 
No!No!No!Yes! the backup of Queen Beecon Widgets to the backup zip files done by the Backup app fails to include
Code:

/home/user/.queen_beecon
I think this is because the file is permanently open.

If in XTerm you type:
Code:

dbus-monitor --system --monitor type='signal',path='/com/nokia/backup',interface='com.nokia.backup'
and then make a backup, you will see Backup will notify the dbus when it starts and stops (weirdly it also notifies of a restore :confused:)

Perhaps all widgets could/should be paused when the Backup app runs or at least the updating of the file should wait until the backup has completed. I don't know if this is the cause of the problem.

ffha 2011-02-26 18:23

Re: [Announce] Queen BeeCon Widget: Super powerful and customizable Widget Generation Engine - Official Thread
 
http://img141.imageshack.us/img141/7...0110301141.png
I've been using Queen Beecon for quite some time now and I consider this to be the #1 application for the N900.
It's a flexible, efficient method to create GUIs of which you know exactly what they do and how they perform.

I still prefer to write proper scripts and launch them in Xterm for complex tasks, but QBW is great for the smaller things which you activate and deactive often.

Thank you, No!No!No!Yes!.
You're a valuable member of the Maemo-community and I believe you should be treated as one way more often.

Edit:
New screenshot. + Changed the layout of the post.

No!No!No!Yes! 2011-02-28 12:22

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

Originally Posted by JonWW (Post 955949)
No!No!No!Yes! the backup of Queen Beecon Widgets to the backup zip files done by the Backup app fails to include
Code:

/home/user/.queen_beecon
I think this is because the file is permanently open.

If in XTerm you type:
Code:

dbus-monitor --system --monitor type='signal',path='/com/nokia/backup',interface='com.nokia.backup'
and then make a backup, you will see Backup will notify the dbus when it starts and stops (weirdly it also notifies of a restore :confused:)

Perhaps all widgets could/should be paused when the Backup app runs or at least the updating of the file should wait until the backup has completed. I don't know if this is the cause of the problem.

Thanks for reporting and I promise I'll have a look at it.
Can't promise a pin on Calendar though, as I'm currently in the middle of several work missions abroad.
Ciao.

NOMIOMI 2011-03-05 05:24

Re: [Announce] Queen BeeCon Widget: Super powerful and customizable Widget Generation Engine - Official Thread
 
how to make accuweather widget same like yahoo weather any one help me please

Alfred 2011-03-06 18:54

Re: [Announce] Queen BeeCon Widget: Super powerful and customizable Widget Generation Engine - Official Thread
 
Gyus i know, this probably was asked and answered before but, i want to get rid of my ussd widget, and do ussd queries with Queen Beecon, is this possible? Please excuse me for my lazyness.
P.S. and if yes, where to put the code, that helps me to get rid of annoying message after or before my actual account stand? like "30$" and not: "Your account has 30$ and etc...."

elie-7 2011-03-09 13:43

Re: [Announce] Queen BeeCon Widget: Super powerful and customizable Widget Generation Engine - Official Thread
 
ok, i've been doing a lots of searches, but didn't found what i was looking for :( .
ok all what i want is 2 queen beecons to load 2 different kernel-config profiles, i know its very easy, but the problem i'm facing is that i want to know which profile i'm currently using from the widgets .
i already know how to load the profile from the beecon .
in simple words :
-i have 2 queen beecons, each loads a different overclocking profile .
-but what i want is that when i click one i want it to load a picture while the other one load another picture .
-or when click one its gets highlited, while the other gets lowlighted -or something like this :
http://t0.gstatic.com/images?q=tbn:A...MmBVaOSz4a&t=1
with one beecon that goes from one profile to the other .

P.S. :
-do you know where i can find the instructions to the beecons in the picture above ?
- my 2 overclock profiles are called : myconfig ( 850mhz) and superconfig (1 ghz) .

thanks No!No!No!Yes! for all your hard work, this widget is of the hook !

Beatty 2011-03-09 20:02

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

Originally Posted by elie-7 (Post 964014)
ok, i've been doing a lots of searches, but didn't found what i was looking for :( .
ok all what i want is 2 queen beecons to load 2 different kernel-config profiles, i know its very easy, but the problem i'm facing is that i want to know which profile i'm currently using from the widgets .
i already know how to load the profile from the beecon .
in simple words :
-i have 2 queen beecons, each loads a different overclocking profile .
-but what i want is that when i click one i want it to load a picture while the other one load another picture .
-or when click one its gets highlited, while the other gets lowlighted -or something like this :
http://t0.gstatic.com/images?q=tbn:A...MmBVaOSz4a&t=1
with one beecon that goes from one profile to the other .

P.S. :
-do you know where i can find the instructions to the beecons in the picture above ?
- my 2 overclock profiles are called : myconfig ( 850mhz) and superconfig (1 ghz) .

thanks No!No!No!Yes! for all your hard work, this widget is of the hook !

If you are trying to have one button that switches from 850 to 1000 and back again, then you could modify the instructions in the wiki for an on/off button:
http://wiki.maemo.org/Queen_BeeCon_W...N.2FOFF_Button
http://talk.maemo.org/showthread.php...289#post823289

The if statement in the command line could set the OC to 850 at startup and switch between 850 and 1GHz when the icon is pressed.
You set Beecon Status = 0 to be your 1GHz icon and Beecon Status = 1 to be the 850 icon so that the icons change when pressed.

elie-7 2011-03-09 22:21

Re: [Announce] Queen BeeCon Widget: Super powerful and customizable Widget Generation Engine - Official Thread
 
ok dude i mannaged to get the beecon on my desktop, but i can't make it to load my profiles, how can i make it load my profiles ? i've tried many things but its not working .

Beatty 2011-03-10 01:49

Re: [Announce] Queen BeeCon Widget: Super powerful and customizable Widget Generation Engine - Official Thread
 
This is the command I used for a General/Silent profile switcher.
Assume you would substitute the OC script into this instead of the phone-control commands.
Maybe post you command for some skilled QBWers to have a look at (I'm not one...)

if [ "$QBW_RESULTS_TEXT" == "QBW_STARTUP_UPDATE" ]; then phone-control --profileset general; echo "ON"; exit 1; fi;if [ "$QBW_CURRENT_RESULTS_TEXT" == "ON" ]; then phone-control --profileset silent; echo "OFF"; exit 0; else phone-control --profileset general; echo "ON"; exit 1; fi;

elie-7 2011-03-10 16:57

Re: [Announce] Queen BeeCon Widget: Super powerful and customizable Widget Generation Engine - Official Thread
 
thanks mate, all done .

stephano21 2011-03-11 17:54

Re: [Announce] Queen BeeCon Widget: Super powerful and customizable Widget Generation Engine - Official Thread
 
[IMG]http://img849.imageshack.us/img849/5279/693031.jpg[/IMG]
is it possible to have these widgets moving when the battery is the full or low that the stripe is empty using queen beecon widget? i already tried with multiple images but it is not working

No!No!No!Yes! 2011-03-12 00:22

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

Originally Posted by stephano21 (Post 965909)
[IMG]http://img849.imageshack.us/img849/5279/693031.jpg[/IMG]
is it possible to have these widgets moving when the battery is the full or low that the stripe is empty using queen beecon widget? i already tried with multiple images but it is not working

Please explain better ...
... and have a look at Naive Dice Rolled QBW for an example of moving QBW

stephano21 2011-03-12 08:45

Re: [Announce] Queen BeeCon Widget: Super powerful and customizable Widget Generation Engine - Official Thread
 
I want the widget to indicate what percentage battery or cpu freq it is but i want that the widget are empty when MIN and full for MAX just like enigma or conky for pc

udaychaitanya16 2011-03-13 09:36

Re: [Announce] Queen BeeCon Widget: Super powerful and customizable Widget Generation Engine - Official Thread
 
Hi,
Thank you very much for this app.I am very new here.I made a widget with d bus command that calls a specified number.Its working but the problem is its getting activated when i go to the desktop.what i want is it should start only when i click the widget.

May be its very basic question.Even i did my homework but in vain.The settings are
1.startup yes 2.desktop-yes 3.sight -no 4.click-yes 5.multiclick-no
since its a dbus event what should be the rule to get it working if i need it in the first place
regards

richwhite 2011-03-13 16:16

Re: [Announce] Queen BeeCon Widget: Super powerful and customizable Widget Generation Engine - Official Thread
 
Could someone post a script for toggling silent/general? I've never done a toggle beecon, so can someone tell me or point me to a post on how it sees two pictures?

Also, reading Elie's post above makes me want a similar thing but the instructions are confusing.
I have 2 OC profiles, 900 and 1GHz, but i usually run at default 600MHz. Can someone say how to make a beecon for 600/900, and 600/1GHz?

stevomanu 2011-03-13 16:28

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

Originally Posted by richwhite (Post 966904)
Could someone post a script for toggling silent/general? I've never done a toggle beecon, so can someone tell me or point me to a post on how it sees two pictures?

Also, reading Elie's post above makes me want a similar thing but the instructions are confusing.
I have 2 OC profiles, 900 and 1GHz, but i usually run at default 600MHz. Can someone say how to make a beecon for 600/900, and 600/1GHz?

if you already have the profiles done just create a beeccon an add this command

Code:

sudo kernel-config load (your profile name here )

should work that all i have . .

richwhite 2011-03-13 16:42

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

Originally Posted by stevomanu (Post 966908)
if you already have the profiles done just create a beeccon an add this command

Code:

sudo kernel-config load (your profile name here )

should work that all i have . .

I have beecons for OCing already, but i want to toggle them so that i can click it to OC and click again to revert to default. Currently i can only load it, not turn it off also.

Beatty 2011-03-14 01:53

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

Originally Posted by richwhite (Post 966904)
Could someone post a script for toggling silent/general? I've never done a toggle beecon, so can someone tell me or point me to a post on how it sees two pictures?

Hi Rich
My post a few above yours should do it - it is a QBW that toggles between a G and S image when profile changes.
Command use MA-Gs phone control script, which is in the repos.

Also - interested why people toggle OC frequencies. Is it a battery or other performance reason?
(Mine is permanently set at 1100 and has never missed beat.)

richwhite 2011-03-14 02:20

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

Originally Posted by Beatty (Post 967219)
Hi Rich
My post a few above yours should do it - it is a QBW that toggles between a G and S image when profile changes.
Command use MA-Gs phone control script, which is in the repos.

Also - interested why people toggle OC frequencies. Is it a battery or other performance reason?
(Mine is permanently set at 1100 and has never missed beat.)

The instructions were a little confusing to me, can you put it any clearer please?

As for toggling, mainly because i don't want to risk frying the device. 99% of the time it's fine at default speeds so i only OC if i need the extra power

Beatty 2011-03-14 06:46

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

Originally Posted by richwhite (Post 967227)
The instructions were a little conf

I'll have a try :-)

1st place to look:
http://talk.maemo.org/showpost.php?p=784834&postcount=1
This is a simple way of using the existing Phone Control scripts (http://wiki.maemo.org/Phone_control for reference)
The one called profileset can toggle between General and Silent - this was easier for me than the dbus commands in the wiki...

Create or otherwise get a General and a Silent .png file

Create a new QBW
In Beecon Statuses area, set the =0 to be your Silent .png file
set the =1 to be the General .png
In the Edit Command, if you copy the if statement in my other post and paste it here it should work straight off.

In Update Policies, set it to run on startup and on click

There will be other settings to change - I see lots of Hide "Yes" and Position "Hidden" - but the above should get you most of the way.

PS - standard disclaimer that I am a computer numpty and self taught through copying other people's good work

richwhite 2011-03-14 15:18

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

Originally Posted by Beatty (Post 967302)
I'll have a try :-)

1st place to look:
http://talk.maemo.org/showpost.php?p=784834&postcount=1
This is a simple way of using the existing Phone Control scripts (http://wiki.maemo.org/Phone_control for reference)
The one called profileset can toggle between General and Silent - this was easier for me than the dbus commands in the wiki...

Create or otherwise get a General and a Silent .png file

Create a new QBW
In Beecon Statuses area, set the =0 to be your Silent .png file
set the =1 to be the General .png
In the Edit Command, if you copy the if statement in my other post and paste it here it should work straight off.

In Update Policies, set it to run on startup and on click

There will be other settings to change - I see lots of Hide "Yes" and Position "Hidden" - but the above should get you most of the way.

PS - standard disclaimer that I am a computer numpty and self taught through copying other people's good work

Thanks for that, i'll have a crack at it when i get mine back tomorrow

richwhite 2011-03-14 16:26

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

Originally Posted by Beatty (Post 967302)
I'll have a try :-)

1st place to look:
http://talk.maemo.org/showpost.php?p=784834&postcount=1
This is a simple way of using the existing Phone Control scripts (http://wiki.maemo.org/Phone_control for reference)
The one called profileset can toggle between General and Silent - this was easier for me than the dbus commands in the wiki...

Create or otherwise get a General and a Silent .png file

Create a new QBW
In Beecon Statuses area, set the =0 to be your Silent .png file
set the =1 to be the General .png
In the Edit Command, if you copy the if statement in my other post and paste it here it should work straight off.

In Update Policies, set it to run on startup and on click

There will be other settings to change - I see lots of Hide "Yes" and Position "Hidden" - but the above should get you most of the way.

PS - standard disclaimer that I am a computer numpty and self taught through copying other people's good work

Do i need to have the default speed command too, or will simply re-tapping the QBW revert it to 600MHz?

Beatty 2011-03-14 20:06

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

Originally Posted by richwhite (Post 967591)
Do i need to have the default speed command too, or will simply re-tapping the QBW revert it to 600MHz?

The instructions I put up were for toggling between General and Silent profile.
Elie-7 made the OC profile changer - I guess using a similar logic.

hillbicks 2011-03-17 11:22

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

I'm very impressed with this tool but at the same time somewhat overwhelmed by the sheer complexity and possibilities it offers. I just started to mess around with it, so it’ll take some time until I get the hang of it.

I have on issue though. Since version X.XX there is a possibility to use the GPS/Location function and I’ve read the rest of the thread, looking for hint on how to actually use it.

My understanding is that I can trigger the execution of a snippet/beecon when the system registers the location, wether it is via cell identification or GPS Fix.

Question is now, has anyone ever done this before? I have absolutely no idea how to go about this. Where do I get the location information, where do they belong, can I use a range, etc.

If someone could point me in the right direction, that would be fantastic.

Thank you very much.

ejasmudar 2011-03-19 08:23

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

I have created a script to scrape data to view the cricket word cup result. This following is the code. I tried running it with QBW, but I am not seeing any result. But in terminal it is showing the required result.

I am running the command in QBW as
Code:

sh /path/to/script.sh
This is the script
Code:

#!/bin/sh
#Script idea from http://www.badzilla.co.uk/Screenscraping-using-wget-and-Shell-Scripting

# URL to screenscrape
cwc2011http='m.yahoo.com/w/cricket/'

# Screenscrape
wget -q  -O - $cwc2011http  | sed 's/.*Match/Match No :/' | sed 's/<img src/\n<img src /' | sed 's/negative\"\>/negative\"\>\n/'  | sed 's/<[^>]*>//g;s/^[ \t]*//;/^$/d'| sed 's/Headlines.*//'

Could anybody please help?


EDIT: sorry everyone, i got it working. The problem was my path. I gave it as MyDocs/so/and/so. I changed it to /home/user/MyDocs/so/and/so and now it is working!

bigears5000 2011-03-24 18:29

Re: [Announce] Queen BeeCon Widget: Super powerful and customizable Widget Generation Engine - Official Thread
 
Appologies if this is already posted somewhere, but I couldn't find it with power search. Could someone tell me the code to make a simple widget/button to call the phone application. Yes, I could just use the phone shortcut, but I need to use a seperate icon from the other ones and I also want to be able to place it exactly where I want it. Thanks.

JonWW 2011-03-24 18:35

Re: [Announce] Queen BeeCon Widget: Super powerful and customizable Widget Generation Engine - Official Thread
 
http://wiki.maemo.org/Phone_control#...ne_application
Code:

dbus-send --type=method_call --dest=com.nokia.HildonDesktop.AppMgr /com/nokia/HildonDesktop/AppMgr com.nokia.HildonDesktop.AppMgr.LaunchApplication string:"rtcom-call-ui"


All times are GMT. The time now is 18:58.

vBulletin® Version 3.8.8