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)

No!No!No!Yes! 2010-07-25 15:10

Re: [Announce] Queen BeeCon Widget: Customizable and flexible monitoring tool.
 
WIKI updated with more details about the CHECKSUM issues

As per earlier experiences, there has also been an issue with big fonts leading "Import/Export Exported Instance" Buttons to move out of the screen and become invisible.

Crippled Advanced Dialog Box
http://talk.maemo.org/attachment.php...1&d=1279964117

Correct Advanced Dialog Box
http://wiki.maemo.org/images/thumb/9...-Qbwimpexp.jpg

As per the WIKI, Buttons needed for Import and Export of Instance Data are 14 and 15

Buttons 8 & 9 are for Import/Export of Command Data

No!No!No!Yes! 2010-07-25 15:23

Re: [Announce] Queen BeeCon Widget: Customizable and flexible monitoring tool.
 
One more thingie...
Try to avoid use of "\n" newline in beecon command:
Code:

if [ $QBW_EXEC_REASON == "QBW_TIMER_UPDATE" ] ; then  \n  if [ "$QBW_REMEMBER_ME" = locked ] ; then\n    ...
Proper way to deal with complex one-liner shell statements is the ";" semicolon character (this is an abstract example for QBW On Desktop Dialer Widget):
Code:

DIALER_QBW_ID=id15;DIGIT="*    +";case $QBW_HOTSPOT_PRESS in [0147]) DIGIT="*" ;; [369]) DIGIT="+" ;; *) exit 0 ;; esac; if [ "$QBW_EXEC_REASON" != "QBW_CLICK" ];then exit 0;fi; DIALLED=`run-standalone.sh dbus-send --session --print-reply --type=method_call --dest=oh.no.more.qbw /oh/no/more/qbw$DIALER_QBW_ID oh.no.more.qbw.get_current_results_text | tail -1 | cut -d\\" -f2`; if [ "$DIALLED" == "DIAL NUMBER" ] ;then DIALLED=""; fi; run-standalone.sh dbus-send --session --type=method_call --dest=oh.no.more.qbw /oh/no/more/qbw$DIALER_QBW_ID oh.no.more.qbw.exec string:"echo \\"$DIALLED\\"\\"$DIGIT\\""

dandiesel 2010-07-25 15:24

Re: [Announce] Queen BeeCon Widget: Customizable and flexible monitoring tool.
 
[request] Is it possible to add rotate functionality to the widget, similar to dr.launcher? So the widget icons rotate (not the actual desktop)

No!No!No!Yes! 2010-07-25 15:39

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

Originally Posted by dandiesel (Post 764185)
[request] Is it possible to add rotate functionality to the widget, similar to dr.launcher? So the widget icons rotate (not the actual desktop)

Ciao, it is now possible only for text labels (both Command Title and Results angles).
For rotated icons I suggest you use paint proggie and save a rotated copy of the Icon then programmatically use normal or rotated one. (use "click hot spots" on widget to change orientation by issuing dbus-send set_param_string commands to programmatically change layout of the widget and icons to use.

Maybe in next releases that will be possible by directly hooking QBW to DBUS orientation signals and providing programmatic notification for that ... but this is future for now :D

No!No!No!Yes! 2010-07-25 15:46

Re: [Announce] Queen BeeCon Widget: Customizable and flexible monitoring tool.
 
@techie
i spent some time on your OC QBW... I have another suggestion for a possibile optimization of the script ...
instead of changing QBW icons/images via dbus-send commands, why not use the beecon exit status features and images indexing
Also alpha transparency could be used in images masks to obtain cool effects for the final widget.

See Poker Dice Roller or O'clocker for example.

jerryfreak 2010-07-25 22:04

Re: [Announce] Queen BeeCon Widget: Customizable and flexible monitoring tool.
 
hmm i had the program crash while creating a new snippet, and ALL of my beecons suddenly disappeared off of my desktops! is there a quick fix to restore them?

techie 2010-07-26 04:39

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

Originally Posted by No!No!No!Yes! (Post 764182)
One more thingie...
Try to avoid use of "\n" newline in beecon command:

Actually I was editing the code on the device itself with indentation so it inserted \n automatically, I didn't.Will get rid of it if it makes a difference.:)

Quote:

i spent some time on your OC QBW... I have another suggestion for a possibile optimization of the script ...
instead of changing QBW icons/images via dbus-send commands, why not use the beecon exit status features and images indexing
Also alpha transparency could be used in images masks to obtain cool effects for the final widget.

See Poker Dice Roller or O'clocker for example.
Thank You for your time! I looked at the above examples and must admit that is a smart way, I didn't know the app could read images based on index extensions:o, the more I learn of the capabilities of this app the more it impresses me and intrigues me how much work you put into this,kudos to you! (btw dd is a scary command esp since the first explanatory example I stumbled upon was
if=: /dev/zero: of=:/dev/hda: :D)
Will work on implementing your suggestions.
Another thing, although I try my best that minimum statements have to be executed, there is no conclusive statistical reading that I can check, so can you please possibly point me to some tool that I can use to compare how much optimized is one set of code to another.

I noticed that the the rollem deck has a boundary when pressed but I couldn't figure how it was done as there is no other image for it.So how is this done?And what is meant by alpha transparency?

Also No!No!No!Yes! can you check (maybe after you get back) if there is an issue with setting timer update interval using dbus.
It seems 0 (timer disable) can't be set but other values do(haven't checked all) including 9 (custom with interval 0 sec also works).And yes I did do reset_rearm_timer;)

techie 2010-07-26 04:44

Re: [Announce] Queen BeeCon Widget: Customizable and flexible monitoring tool.
 
1 Attachment(s)
@moepda
Although I was reluctant to do it, mainly because I have no way to know yet how much effect the size of code (even small) will have on memory, I still have modded it to your liking.Although I haven't tested it thoroughly it probably would work:)

moepda 2010-07-26 08:04

Re: [Announce] Queen BeeCon Widget: Customizable and flexible monitoring tool.
 
cheers techie your a star !!! :) :) will test and report back how it goes so to keep you informed :)

!!Nokia N900!! 2010-07-26 08:17

Re: [Announce] Queen BeeCon Widget: Customizable and flexible monitoring tool.
 
howcan i write a command for reboot??


All times are GMT. The time now is 12:12.

vBulletin® Version 3.8.8