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)

techie 2010-10-19 16:03

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

Originally Posted by No!No!No!Yes! (Post 845151)
but dunno (don't think but never tried) if photo/image-viewer scan:
Code:

/home/user/.queen_beecon_dir

Have images in /home/user/.queen_beecon_dir and never faced this problem.I think it only scans the MyDocs directory

Parlapipas 2010-10-19 16:52

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

Originally Posted by D4rKlar (Post 845133)
Quick question, is there another Beecon directory folder I can put my Beecon images in which will be seen by QB but not by the photo/image-viewer?

Maybe it's just me...

but if there's any way I'd prefer to not see icons with photos if possible? :D :D :D

Kind Regards,
D4rKlar

PS I've made up some Press-FX icons similar to my app manager effect, haven't got them to work yet tho! Watch this space ;)

Hey D4. I have the same issue. I know the wiki gives you 3 options where to store your icons, but have never tried moving them. Let me know if you did and whether it worked out well buddy.

D4rKlar 2010-10-19 18:40

Re: [Announce] Queen BeeCon Widget: Super powerful and customizable Widget Generation Engine - Official Thread
 
Sorry for not reading the wiki properly, I should've guessed that would have already been thought of! ;)

Yup,

/home/user/.queen_beecon_dir

is the one. Many thanks to No!No!Yes! and techie, nice one!

Kind Regards,
D4rK

MINKIN2 2010-10-19 21:17

Re: [Announce] Queen BeeCon Widget: Super powerful and customizable Widget Generation Engine - Official Thread
 
Hi guys, I have a quick question...

Would it be possible to run a widget over a program running in full screen?

I was wondering if maybe they could be used as a customisable control system that would be mapped to the keyboard for simple none Maemo orientated games, like so...

http://i178.photobucket.com/albums/w...ff/bloxorz.jpg

Kee 2010-10-20 07:59

Re: [Announce] Queen BeeCon Widget: Super powerful and customizable Widget Generation Engine - Official Thread
 
Got an idea last night.

Could a widget be activated (and shown) dynamically?
Example:
On the desktop, only have one widget, when pressed, other widgets would be shown. Hit the same widget again, and the other widgets would be de-activated/hidden again.

Would more or less give unlimited tweaking possibilities:
- Widget to switch between home and work desktops
- Menu system with sub-menus on desktop
Add in animations etc....and one could get really creative..

//K

No!No!No!Yes! 2010-10-20 08:10

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

Originally Posted by Kee (Post 845817)
Got an idea last night.

Could a widget be activated (and shown) dynamically?
Example:
On the desktop, only have one widget, when pressed, other widgets would be shown. Hit the same widget again, and the other widgets would be de-activated/hidden again.

Would more or less give unlimited tweaking possibilities:
- Widget to switch between home and work desktops
- Menu system with sub-menus on desktop
Add in animations etc....and one could get really creative..

//K

http://wiki.maemo.org/Queen_BeeCon_W....26_Parameters

just issue relevant hide or show dbus-send command to the target instance

AKEEL 2010-10-21 15:54

Re: [Announce] Queen BeeCon Widget: Super powerful and customizable Widget Generation Engine - Official Thread
 
I need a command script to check call forwarding status (*#21#)
PLEASE HELP????

No!No!No!Yes! 2010-10-21 20:58

Re: [Announce] Queen BeeCon Widget: Super powerful and customizable Widget Generation Engine - Official Thread
 
Due in few days ...
Orientation/Accelerometer and GPS Location Support
... currently internal testing!!!

http://i.imgur.com/jN7v8.gif

http://i.imgur.com/06EkL.jpg

Click HERE for Video: Orientation Support and Beecon Moving on desktop according to orientation
2 States button always stays at bottom left and in correct position to the observer

kamiwey 2010-10-22 05:20

Re: [Announce] Queen BeeCon Widget: Super powerful and customizable Widget Generation Engine - Official Thread
 
woww, i love that

No!No!No!Yes! 2010-10-24 23:23

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

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

No!No!No!Yes! 2010-10-25 19:46

Re: [Announce] Queen BeeCon Widget: Super powerful and customizable Widget Generation Engine - Official Thread
 
Queen BeeCon Widget release 1.3 is now in extras-devel
Partial Change Log
Code:

queen-beecon (1.3)

  * New: Ability to sense Phone Orientation and execute scripts accordingly + Relevant configuration parameters (updOnOrientation)
  * New: Phone Orientation Parameter Variables substitution for using with scripts which hold $QBW_ORIENTATION_MODE, $QBW_ORIENTATION_STAND, $QBW_ORIENTATION_FACE, $QBW_ORIENTATION_X, $QBW_ORIENTATION_Y, $QBW_ORIENTATION_Z
  * New: Ability to sense GPS/Location information and execute scripts accordingly + Relevant configuration parameters (GPSsettings)
  * New: GPS/Location Parameter Variables substitution for using with scripts which hold $QBW_LOCATION_FIX current position FIX in string form
  * New: Added option to wrap text results and relevant configuration parameter resWrapLongLines
  * New: New about box in Advanced Settings dialog Box with Application Name, Description, Version, Buttons for "Visit website" "Report bug" "Donate", Copyright info
  * New: Added confirmation in Command Deletion Dialog Box
  * New: Added the possibility to completely hide widget and display only the animation when updating (useful for example to draw on-click/press FX frames and visual feedback to buttons)
  * New: Parameter Variables substitution for using with scripts which holds the current X position of QBW widget ($QBW_POSITION_X); useful for dynamic update/processing of widget according to its position on screen 
  * New: Parameter Variables substitution for using with scripts which holds the current Y position of QBW widget ($QBW_POSITION_Y); useful for dynamic update/processing of widget according to its position on screen 
  * New: Implementation of toggle for multi-click support (quicker click response if disabled); with relevant settings & configuration parameter "multiClick" 
  * New: Implementation of DBUS methods: reset_rearm_connection
  * New: Implementation of DBUS methods: reset_rearm_location
  * New: Implementation of DBUS methods: reset_rearm_orientation
  * New: Implementation of DBUS methods: reset_rearm_dbus_monitor
  * Changed: Complete QBW icons restyle!!!
  * Changed: Changed some settings sensitivity logic according to enablement of relevant function
  * Changed: Command Input Buffer in Advanced Settings Dialog Box now accepts linebreaks in the input for improved command readability
  * Changed: Progress Animation is now not shown if widget is set to invisible
  * Changed: @connection events now have their management subsystem and gets activated only for instances requiring it
  * Changed: Changed logger verbosity @connection event
  * Changed: Restyle in Update Policy Settings
  * Changed: UI Restyle in Advanced Settings and Tools Dialog Box 
  * Changed: UI Restyle in Widget Size Settings 
  * Changed: UI Restyle in Widget Positioning Settings 
  * Changed: More verbosity for Pango Markup Language inconsistencies notification (Now instance id and offending command title are displayed)
  * Changed: Optimization in wakeup/sleep logic (better error management and notifications)
  * Bugfixing: Instance parameters related to commands (instanceTitle, instanceCmd) where not poperly updated when edited both in Advanced Dialog Box and in Command Add/Edit/Delete dialog box; fixed
  * Bugfixing: Network connection/disconnection logic; fixed
  * Bugfixing: In Advanced Dialg Box, export of command not in list caused SEGFAULT; fixed

queen-beecon (1.2)

  * New: All work and no play makes No!No!No!Yes! a dull boy - Release Candidate to Extras (1.0.53 -> 1.2)   
  * Changed: All work and no play makes No!No!No!Yes! a dull boy - Release Candidate to Extras (1.0.53 -> 1.2)
  * Bugfixing: All work and no play makes No!No!No!Yes! a dull boy - Release Candidate to Extras (1.0.53 -> 1.2)

queen-beecon (1.0.53)

  * New: Parameter Variables substitution for using with scripts which holds the current width of QBW widget ($QBW_WIDTH); useful for dynamic recalculation of click hotspots
  * New: Parameter Variables substitution for using with scripts which holds the current height of QBW widget ($QBW_HEIGHT); useful for dynamic recalculation of click hotspots
  * New: Parameter Variables substitution for using with scripts which holds the exit status of the last previous executed command ($QBW_PREVIOUS_EXIT_STATUS)
  * New: Added new Network Connection Event condition (NETWORK__PASSTHROUGH) which will trigger the execution of command at every Network Related event. Management of the connection event status will be completely delegated to the command through $QBW_IS_CONNECTED and $QBW_EXEC_REASON=="QBW_CONNECTION_EVENT" Parameter Variables substitution. 
  * Changed: Optimized "cancel on exec in progress" logic 
  * Bugfixing: Some network connection status change issues; fixed

queen-beecon (1.0.52)

  * New: In Command and Instance import in Advanced Settings and Tools Dialog Box, command title is now checked for existence, if existent "+"s are appendend till name is unique 
  * New: In Add/Edit Command Dialog box, command title is now checked for existence, if existent, user is now asked for unique name 
  * Changed: - 
  * Bugfixing: Both in Settings and in Advanced Settings and Tools Dialog Box, Command Selection button was not correctly re-populated after operations on commands list (add/delete/import); fixed

queen-beecon (1.0.51)

  * New: Added Reset/Truncate Logfile action to Logger Verbosity Button in Advanced Settings and Tools Dialog Box
  * Changed: - 
  * Bugfixing: -

queen-beecon (1.0.5)

  * New: Possibility to directly modify the "rememberMe" parameter from the output of the executed command (without using the DBUS interface which is much slower) for using with scripts which need to hold/manipulate status or persistency information. Just echo the following string (which will not be displayed) as output of your command "QBW_REMEMBER_ME(<content to be remembered>)" no angle brackets; escape "close round bracket" like this "\)" to store it as ")"
  * Changed: Extended warning message in case of inconsistent Pango Markup Language output ("QBW Warning! Possible Pango Markup Language inconsistent/unterminated Tag!") 
  * Changed: Extended warning message in case of inconsistent/non-UTF-8 output in TestDrive output Buffer ("QBW Warning! Expected/Shown Command Output mismatch. Possible charset different from UTF-8!") 
  * Bugfixing: QBW re-enable on double-click logic bugged; fixed

queen-beecon (1.0.4)

  * New: Implemented the possibility to have the Progress Animation displayed at widget click X,Y coordinates; with relevant configuration parameter "progressAnimationAtClickXY" 
  * New: Implemented the possibility to hide the background Canvas on click both for Beecons and Snippets with relevant configuration parameter "hideClickCanvas" 
  * Changed: Some optimizations in QBW at startup, expecially for instances with execute @startup flag; should speed up widget appearance
  * Changed: Checks for obsolete instances in configuration file moved to Advanced Settings and Tools Dialog; check is performed upon entering.
  * Changed: Some optimizations in progress icon animation logic
  * Changed: Some optimization in multiple-clicks management
  * Bugfixing: Command output for Test Drive in Advanced Settings and Tools Dialog still buggy and not displaying complete output; fixed
  * Bugfixing: Logic for multiple clicks count was a bit bugged; fixed
  * Bugfixing: DBUS Signal emission at end of command execution was misplaced ; fixed
  * Bugfixing: Logging info incorrect for timeout seconds count function GetSeconds; fixed

queen-beecon (1.0.3)

  * New: Added button to change Logger Verbosity in Advanced Settings and Tools Dialog Box
  * New: Implementation of Command and Results image orientation angle (w/ relevant configuration parameters)
  * New: Added edit box in Settings Dialog for "rememberMe" value. Can now be initialized also from widget and not only via DBUS method 
  * New: Parameter Variables substitution for using with scripts which holds the number of times a QBW was pressed/clicked: $QBW_CLICKS_COUNT; useful for handling single/double/triple... clicks and behave accordingly (Tested up to 12 ... :) )
  * New: Parameter Variables substitution for using with scripts which hold X and Y coordinates where a QBW was pressed/clicked: $QBW_CLICK_X, $QBW_CLICK_Y; useful for handling different arbitrary/dynamic hotspots on widgets via launched shell scripts
  * Changed: Now QBW instances with status disabled/minimized (black small 60x60 inactive sleeping bee icon) are enable again on double-click and non on single-click
  * Bugfixing: TestDrive in Advanced Settings and Tools Dialog Box was not fetching the whole command output; fixed 
  * Bugfixing: Typos in "Edit Cmd" Dialog Box title; fixed 
  * Bugfixing: Not proper memory deallocation of some strings parameter in Settings Dialog; fixed   

queen-beecon (1.0.2)

  * Source Modules: Changed architecture of source module ... now split into single modules according to QBW subfunctions ... expect some sneaky regressions!!!
  * New: Parameter Variables substitution for using with scripts which holds Network Connection status: $QBW_IS_CONNECTED (true=QBW Instance is connected to the network (either WLAN or GPRS) false=QBW Instance is NOT connected to the network (either WLAN or GPRS))
  * Changed: In Settings Dialog Box changed "Custom(")" to "Custom(Secs)" for custom timer label
  * Changed: In Advanced Settings and Tools Dialog Box it's now possible to scroll dialog both vertically and horizontally. So all buttons will be accessible even if you have big fonts
  * Changed: In Advanced Settings and Tools Dialog Box added more checks for Import Instance/Command Data (It should now be more restrictive on Import Data consistency/congruency)
  * Bugfixing: System Proxy fetching logic bugged; fixed
  * Bugfixing: reset_rearm_timer DBUS method call was not disabling timer when timer update was disabled; fixed
  * Bugfixing: set_param_uint32 DBUS method call had problems if values = 0; fixed

queen-beecon (1.0.0.1)

  * New: Nothing - Release Candidate to Extras (0.1.9.9 -> 1.0.0.1)   
  * Changed: Nothing - Release Candidate to Extras (0.1.9.9 -> 1.0.0.1)
  * Bugfixing: Nothing - Release Candidate to Extras (0.1.9.9 -> 1.0.0.1)

See complete Change Log in the WIKI

Usual WARNINGS apply to extras-devel material


As anticipated, 1.3 brings 2 new major features and a lot of UI restyles:

- Orientation/Accelerometer Support
- GPS Location Support

Orientation Support is now working with no particular issues since some days.
GPS Support could be still a little big buggy ...
Again changelog is quite long and also a lot of internal optimization and hidden flaws have been hopefully addressed
Again please bear with some possible regressions!!!

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

Feel free to experiment with all extended features and please report bugs and experiences or feature requests here.
Please, report any problem or crash during installation/upgrade if they still persist
Have fun!!!

No!No!No!Yes! 2010-10-26 10:57

Re: [Announce] Queen BeeCon Widget: Super powerful and customizable Widget Generation Engine - Official Thread
 
2 Attachment(s)
Well ... QBW v1.3 seems to have survived Maemo PR 1.3 upgrade without any visible/sensible collateral!!!:cool: :D :eek: :rolleyes:

The "2 states orientation aware" button beecon and images are attached to the post
http://i.imgur.com/06EkL.jpg

Extra instructions here:
http://i.imgur.com/JJsLH.png

Have fun!

UPDATE 27/10/2010 8:50pm CEST: One image was missing :o in the archive 2states_orientation_button.qbw.images.zip ... now it's OK!

kamiwey 2010-10-27 05:38

Re: [Announce] Queen BeeCon Widget: Super powerful and customizable Widget Generation Engine - Official Thread
 
great job, the new icons looks really nice and the new features is making this aplication more perfect everyday :)

moepda 2010-10-27 11:55

Re: [Announce] Queen BeeCon Widget: Super powerful and customizable Widget Generation Engine - Official Thread
 
techie said i should report this No!No!No!Yes! . using techie occp widget (temperature,battery,clock speed) when i lock screen/keys then unlock i get dbus error .
error enabling QBW_SUBSYSTEM_TIMER)
subsystem(s) disabled in QBW instance(id8!)

this only happens unlocking screen/keys not secure device. techie using pr1.2 so cant test , myself unsure of dbus so techie suggested qbw may need fix ? am using clock speed adjusted to locked/unlocked but this error was not present on pr1.2.
im using latest QBW 1.3
cheers , moepda

No!No!No!Yes! 2010-10-27 12:19

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

Originally Posted by moepda (Post 853290)
techie said i should report this No!No!No!Yes! . using techie occp widget (temperature,battery,clock speed) when i lock screen/keys then unlock i get dbus error .
error enabling QBW_SUBSYSTEM_TIMER)
subsystem(s) disabled in QBW instance(id8!)

this only happens unlocking screen/keys not secure device. techie using pr1.2 so cant test , myself unsure of dbus so techie suggested qbw may need fix ? am using clock speed adjusted to locked/unlocked but this error was not present on pr1.2.
im using latest QBW 1.3
cheers , moepda

qbw 1.3 should work also in pr1.2 (it was just a coincidence qbw1.3 came out same day as pr1.3 :eek:)

However this turns out to be a fake error report due to a bug ...
Bug should be fixed in 1.3.1 which I expect to release ASAP as I get more confidence in bug condition
Could you point me to the exact "offending" beecon ... with export? Sorry I have no OC so I maybe need someone of you guys to test it ;)
10x

moepda 2010-10-27 12:44

Re: [Announce] Queen BeeCon Widget: Super powerful and customizable Widget Generation Engine - Official Thread
 
1 Attachment(s)
cheers No!No!No!Yes! .

on QBW wiki its Overclock Control Panel I

links here to original file posts :

http://talk.maemo.org/showthread.php...215#post761215

http://talk.maemo.org/showpost.php?p...&postcount=377

i use version with battery % .

export here...

[queen-beecon-header]
version=1.000000
checksum=7299972
[queen-beecon-exported-instance]
widgetType=0
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=\squeen-beecon-syserr.png
beecon_eq0_ImgZoom=0
beecon_eq0_BgRGB=3
beecon_eq0_ExtBgRGB=#0000ffff0000
beecon_eq0_ImgFilename=default.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=profile.png
widWidth=190.04878048780489
widHeight=107.5
instanceTitle=OC Control Panel
instanceCmd=Name_Profile_1=default ; Name_Profile_2=stock ; Disp_Name_Profile_2=Stock ; Name_Profile_3=starving ; Disp_Name_Profile_3=Saver ;\nif [ $QBW_EXEC_REASON == "QBW_DBUS_MONITOR" ];then echo '$QBW_DBUS_VERBOSE_OUTPUT' > /home/user/.QBW_DBUS_TEMP;fi;sh /home/user/.OCCP $Name_Profile_1 $Name_Profile_2 $Name_Profile_3 $QBW_ID $QBW_EXEC_REASON $QBW_HOTSPOT_PRESS $QBW_REMEMBER_ME;rt_st=$?;echo -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>";exit $rt_st
rememberMe=3
cmdImgFilename=queen-beecon.png
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
resImgZoom=0
resFgRGB=1
resExtFgRGB=#ffffffffffff
resTextAngle=0
resVisibilityPosition=5
resImgVisibilityPosition=9
resJustify=2
resExtFont=Nokia Sans 12
resFontName=2
resFontSize=12
progressAnimationFrames=0
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'
cmdImgAngle=0
resImgAngle=0
hideClickCanvas=true
progressAnimationAtClickXY=false
resWrapLongLines=false
multiClick=false
updOnOrientation=false
GPSsettings=0

No!No!No!Yes! 2010-10-27 13:16

Re: [Announce] Queen BeeCon Widget: Super powerful and customizable Widget Generation Engine - Official Thread
 
@moepda:
could you please post /home/user/.OCCP as well or point me to it.
Couldn't find it myself in all mentioned posts ...
10x

moepda 2010-10-27 14:32

Re: [Announce] Queen BeeCon Widget: Super powerful and customizable Widget Generation Engine - Official Thread
 
1 Attachment(s)
here .occp file for you posted inside zip file

many thanks , moepda

Dousan 2010-10-27 17:32

Re: [Announce] Queen BeeCon Widget: Super powerful and customizable Widget Generation Engine - Official Thread
 
@No!No!No!Yes! i've one question about the new orientation, is it suposed to rotate on screen or start the beecon?
In my case i just made a test icon on my desktop for xterm. When orientation set to 'yes' it starts whenever i rotate phone sidewise...

Am i missing something og did i think the new feature did something else?

Really like the the new look of .png's and animation... Good stuff mate :D Ohh and no issues after updating (flashed the PR1.3)

No!No!No!Yes! 2010-10-27 19:25

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

Originally Posted by Dousan (Post 853902)
@No!No!No!Yes! i've one question about the new orientation, is it suposed to rotate on screen or start the beecon?
In my case i just made a test icon on my desktop for xterm. When orientation set to 'yes' it starts whenever i rotate phone sidewise...

Am i missing something og did i think the new feature did something else?

Really like the the new look of .png's and animation... Good stuff mate :D Ohh and no issues after updating (flashed the PR1.3)

When Orientation is enabled, the beecon is executed every time you turn your phone.
Beecon is not actually rotated because I wanted to leave the most possible flexibility to the beeconer. Suppose for example you'd like a landscape layout with, say, a seaside background and all "summer-marine-themed" widgets scattered horizontally ... while a portrait layout with a winter background and all "flaky-fidgeted-cokedrinking-polar-bears" scattered vertically (I know I'm a bit maniac with this example ... but YOU, crazy graphics modders, are prone to such kind of desktop raping attacks!!! :D:D:D:cool:)

If you have a look at the example beecon (which is now fixed as 1 image was missing in the archive) you'll see that every orientation condition triggers the script execution, ends up returning a different exit status according to orientation and button state; beecon then takes care of indexing the correct image and displays it.

PHP Code:

#We fetch previous state from button text
c=$QBW_CURRENT_RESULTS_TEXT

#Deal with widget startup condition and init button 1st position
if [ "_$c== "_" -"$QBW_EXEC_REASON== "QBW_STARTUP_UPDATE" ];then
   
#Insert here commands to turn on
   #nothing if, on startup, sensor is already on
   
c=1;
fi;

if [ 
"$QBW_EXEC_REASON== "QBW_CLICK" ];then
   
if [ $c -eq 1 ]; then
      
#Insert here commands to turn off
      
c=0;
   else
      
#Insert here commands to turn on
      
c=1;
   
fi
fi

case "$QBW_ORIENTATION_MODEin
   
"portrait")             x=644y=292 ;xt=`expr 4 + 4 \\* $c` ;;
   
"landscape (inverted)"x=644y=155 ;xt=`expr 5 + 4 \\* $c` ;;
   
"portrait (inverted)")  x=0  y=155 ;xt=`expr 6 + 4 \\* $c` ;;
   *)                      
x=0  y=292 ;xt=`expr 3 + 4 \\* $c` ;;
esac

#Move beecon on screen command according to x,y calculated in 'case'
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_position int32:$x int32:$y

#Store current status
echo $c

#Exit with correct code to show the image according to current orientation status
exit $xt 

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

techie 2010-10-27 19:53

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

Originally Posted by moepda (Post 853383)
cheers No!No!No!Yes! .

on QBW wiki its Overclock Control Panel I

links here to original file posts :

http://talk.maemo.org/showthread.php...215#post761215

http://talk.maemo.org/showpost.php?p...&postcount=377

i use version with battery % .

export here...

Moepda you linked the wrong post.I discourage anyone from still using the old version.
Please only use the new one from here
http://talk.maemo.org/showthread.php...673#post776673

No!No!No!Yes! 2010-10-27 20:00

Re: [Announce] Queen BeeCon Widget: Super powerful and customizable Widget Generation Engine - Official Thread
 
... further:
even if orientation is not enabled, if you use any of the $QBW_ORIENTATION_* parameter substitution variables in your script, the X, Y, Z axis values of phone orientation will be read upon execution from:
Code:

/sys/class/i2c-adapter/i2c-3/3-001d/coord
as per specs HERE and relevant values passed to the script

No!No!No!Yes! 2010-10-27 20:02

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

Originally Posted by techie (Post 854114)
Moepda you linked the wrong post.I discourage anyone from still using the old version.
Please only use the new one from here
http://talk.maemo.org/showthread.php...673#post776673

QBW bug is confirmed however also with this version :o

techie 2010-10-27 20:08

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

Originally Posted by No!No!No!Yes! (Post 854127)
QBW bug is confirmed however also with this version :o

And I can also confirm it to be present in PR1.2 not just PR1.3.
Will report you back on beta version.

Dousan 2010-10-27 20:35

Re: [Announce] Queen BeeCon Widget: Super powerful and customizable Widget Generation Engine - Official Thread
 
@No!No!No!Yes! thanks for the answer ;) I'm no dev nor a coder so i'm a bit lost on how to implement it in a cmd for my test icon or any icon/beecon? o.O

I'm using this cmd:
/usr/bin/dbus-send --dest=com.nokia.HildonDesktop.AppMgr /com/nokia/HildonDesktop/AppMgr com.nokia.HildonDesktop.AppMgr.LaunchApplication string:osso-xterm
Where to put any orientation input, if here at all?

No!No!No!Yes! 2010-10-27 20:39

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

Originally Posted by Dousan (Post 854182)
@No!No!No!Yes! thanks for the answer ;) I'm no dev nor a coder so i'm a bit lost on how to implement it in a cmd for my test icon or any icon/beecon? o.O

I'm using this cmd:
/usr/bin/dbus-send --dest=com.nokia.HildonDesktop.AppMgr /com/nokia/HildonDesktop/AppMgr com.nokia.HildonDesktop.AppMgr.LaunchApplication string:osso-xterm
Where to put any orientation input, if here at all?

You are right ... when I've time I'll prepare a simple beecon template for button making

moepda 2010-10-27 21:58

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

Originally Posted by No!No!No!Yes! (Post 854127)
QBW bug is confirmed however also with this version :o

Originally Posted by techie = And I can also confirm it to be present in PR1.2 not just PR1.3.
Will report you back on beta version.

cheers for investigating this error No!No!No!Yes! , hoping for fix in next build of QBW :) likewise cheers too techie for checking at your end too much appreciated :)

No!No!No!Yes! 2010-10-27 22:06

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

Originally Posted by moepda (Post 854306)
Originally Posted by techie = And I can also confirm it to be present in PR1.2 not just PR1.3.
Will report you back on beta version.

cheers for investigating this error No!No!No!Yes! , hoping for fix in next build of QBW :) likewise cheers too techie for checking at your end too much appreciated :)

techie PMed me beta fix seems to be working.
I'll wait your side also and then release 1.3.1 to the extras-devel

moepda 2010-10-27 22:11

Re: [Announce] Queen BeeCon Widget: Super powerful and customizable Widget Generation Engine - Official Thread
 
sounds good cant wait !! cheers in advance No!No!No!Yes! and techie :)

Dousan 2010-10-28 06:31

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

Originally Posted by No!No!No!Yes! (Post 854188)
You are right ... when I've time I'll prepare a simple beecon template for button making

Sounds really good No!No!No!Yes! Thanks for that in advance ;)

aathava 2010-10-28 06:47

Re: [Announce] Queen BeeCon Widget: Super powerful and customizable Widget Generation Engine - Official Thread
 
1 Attachment(s)
Is it possible to create a widget that shows Time, Date and Day like the one in the picture below using Queen beecon,
if possible can anyone help me out to do this?

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

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

Originally Posted by aathava (Post 854697)
Is it possible to create a widget that shows Time, Date and Day like the one in the picture below using Queen beecon,
if possible can anyone help me out to do this?

What font is that?
Just find the font and widget is a matter of presto!

D4rKlar 2010-10-28 07:44

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

Originally Posted by No!No!No!Yes! (Post 854068)
When Orientation is enabled, the beecon is executed every time you turn your phone.
Beecon is not actually rotated because I wanted to leave the most possible flexibility to the beeconer. Suppose for example you'd like a landscape layout with, say, a seaside background and all "summer-marine-themed" widgets scattered horizontally ... while a portrait layout with a winter background and all "flaky-fidgeted-cokedrinking-polar-bears" scattered vertically (I know I'm a bit maniac with this example ... but YOU, crazy graphics modders, are prone to such kind of desktop raping attacks!!! :D:D:D:cool:)

If you have a look at the example beecon (which is now fixed as 1 image was missing in the archive) you'll see that every orientation condition triggers the script execution, ends up returning a different exit status according to orientation and button state; beecon then takes care of indexing the correct image and displays it.

PHP Code:

#We fetch previous state from button text
c=$QBW_CURRENT_RESULTS_TEXT

#Deal with widget startup condition and init button 1st position
if [ "_$c== "_" -"$QBW_EXEC_REASON== "QBW_STARTUP_UPDATE" ];then
   
#Insert here commands to turn on
   #nothing if, on startup, sensor is already on
   
c=1;
fi;

if [ 
"$QBW_EXEC_REASON== "QBW_CLICK" ];then
   
if [ $c -eq 1 ]; then
      
#Insert here commands to turn off
      
c=0;
   else
      
#Insert here commands to turn on
      
c=1;
   
fi
fi

case "$QBW_ORIENTATION_MODEin
   
"portrait")             x=644y=292 ;xt=`expr 4 + 4 \\* $c` ;;
   
"landscape (inverted)"x=644y=155 ;xt=`expr 5 + 4 \\* $c` ;;
   
"portrait (inverted)")  x=0  y=155 ;xt=`expr 6 + 4 \\* $c` ;;
   *)                      
x=0  y=292 ;xt=`expr 3 + 4 \\* $c` ;;
esac

#Move beecon on screen command according to x,y calculated in 'case'
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_position int32:$x int32:$y

#Store current status
echo $c

#Exit with correct code to show the image according to current orientation status
exit $xt 

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

My brain just exploded. This is AMAZING!!! :eek::eek::eek:

Kind Regards,
D4rKlar

aathava 2010-10-28 07:59

Re: [Announce] Queen BeeCon Widget: Super powerful and customizable Widget Generation Engine - Official Thread
 
It seems to be clockopia.ttf , but it does't matter
anything else is fine too..,

No!No!No!Yes! 2010-10-28 17:09

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

Originally Posted by aathava (Post 854697)
Is it possible to create a widget that shows Time, Date and Day like the one in the picture below using Queen beecon,
if possible can anyone help me out to do this?

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

There you go ... import beecon and have a look at Pango Tags and date command format reference for further customizations:
Code:

[queen-beecon-header]
version=1.000000
checksum=2963190
[queen-beecon-exported-instance]
widgetType=0
widgetVisible=1
operationalStatus=0
hideCanvas=true
hideClickCanvas=true
snippetBgRGB=0
snippetExtBgRGB=#000000000000
beecon_lt0_ImgZoom=0
beecon_lt0_BgRGB=2
beecon_lt0_ExtBgRGB=#808080808080
beecon_lt0_ImgFilename=queen-beecon-syserr.png
beecon_eq0_ImgZoom=0
beecon_eq0_BgRGB=3
beecon_eq0_ExtBgRGB=#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=250
widHeight=100
instanceTitle=CoolDate
instanceCmd=echo -e "`date +'<span font=\\"40\\">%l:%M</span>%P%n%A, %B %d'`"
rememberMe=
cmdImgFilename=;queen-beecon.png
cmdImgAngle=0
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=;queen-beecon-resimg.png
resImgAngle=0
resImgZoom=0
resFgRGB=1
resExtFgRGB=#ffffffffffff
resTextAngle=0
resVisibilityPosition=1
resImgVisibilityPosition=0
resJustify=0
resExtFont=Nokia Sans bold 12
resFontName=2
resFontSize=12
progressAnimationFrames=0
progressAnimationTimer=4
progressAnimationPos=8
progressAnimationAtClickXY=true
progressAnimationBasename=queen-beecon-progress
updOnStartup=true
updOnClick=true
updOnDesktop=true
updOnSight=true
delayIndex=2
customIntervalSecs=0
updNeworkPolicy=0
updOnDBUS=0
updOnDBUSBus=0
updOnDBUSMatchRule=
multiClick=false
updOnOrientation=false
GPSsettings=0
resWrapLongLines=false


D4rKlar 2010-10-28 17:56

Re: [Announce] Queen BeeCon Widget: Super powerful and customizable Widget Generation Engine - Official Thread
 
OK starting sloooooooow... if you get the chance (I know you're busy mate so absolutely no rush ;)) ...how would someone go about changing their wallpaper depending on orientation?

Kind Regards,
D4rK

techie 2010-10-28 19:02

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

Originally Posted by D4rKlar (Post 855625)
OK starting sloooooooow... if you get the chance (I know you're busy mate so absolutely no rush ;)) ...how would someone go about changing their wallpaper depending on orientation?

Kind Regards,
D4rK

I couldn't get any time to study the new features introduced in QBW but what you ask seems simple really:)
Use the code by No!No!No!Yes! for determining orientation and accordingly change the wallpaper using this command
Code:

gconftool-2 -s /apps/osso/hildon-desktop/views/<desktop-number>/bg-image -t string <path_to_image>
Modified hildon-desktop may be required though even if you use 4 screens.
Nice idea btw.Use a portrait wallpaper if in portrait orientation:) I might work on it tomorrow if you don't;)

No!No!No!Yes! 2010-10-28 20:54

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

Originally Posted by techie (Post 855711)
I couldn't get any time to study the new features introduced in QBW but what you ask seems simple really:)
Use the code by No!No!No!Yes! for determining orientation and accordingly change the wallpaper using this command
Code:

gconftool-2 -s /apps/osso/hildon-desktop/views/<desktop-number>/bg-image -t string <path_to_image>
Modified hildon-desktop may be required though even if you use 4 screens.
Nice idea btw.Use a portrait wallpaper if in portrait orientation:) I might work on it tomorrow if you don't;)

Uhm ... does it work kind of real time? I mean how fast is the backgrounds transition?

aathava 2010-10-29 03:50

Re: [Announce] Queen BeeCon Widget: Super powerful and customizable Widget Generation Engine - Official Thread
 
1 Attachment(s)
Thank you No!No!No!Yes! for the cool clock
please add it to the WIKI
I used to customize my linux desktop with conky, and i wish to do the same implementations with queen beecon,
May be the wiki is the right place to begin with..,

No!No!No!Yes! 2010-10-29 04:56

Re: [Announce] Queen BeeCon Widget: Super powerful and customizable Widget Generation Engine - Official Thread
 
1 Attachment(s)
Browser Gravity Button (Template and Example for buttons the like)
http://i.imgur.com/Pq4Zo.jpg
Uncompress and Save attached images as/where usual
Import beecon as usual

Code:

[queen-beecon-header]
version=1,000000
checksum=5381482
[queen-beecon-exported-instance]
widgetType=0
widgetVisible=1
operationalStatus=0
hideCanvas=true
hideClickCanvas=true
snippetBgRGB=0
snippetExtBgRGB=#000000000000
beecon_lt0_ImgZoom=0
beecon_lt0_BgRGB=2
beecon_lt0_ExtBgRGB=#808080808080
beecon_lt0_ImgFilename=queen-beecon-syserr.png
beecon_eq0_ImgZoom=0
beecon_eq0_BgRGB=3
beecon_eq0_ExtBgRGB=#00005cfc0000
beecon_eq0_ImgFilename=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=browser.png
widWidth=156
widHeight=156
instanceTitle=BrowserGButton
instanceCmd=app="browser"\nmove="true";\nlaxy="0,292";poxy="644,292";laixy="644,56";poixy="0,56"\nif [ "$QBW_EXEC_REASON" == "QBW_CLICK" ];then\n  dbus-send --dest=com.nokia.HildonDesktop.AppMgr /com/nokia/HildonDesktop/AppMgr com.nokia.HildonDesktop.AppMgr.LaunchApplication string:"$app"\nfi\n\ncase "$QBW_ORIENTATION_MODE" in\n  "portrait")            xy=$poxy;xt=4 ;;\n  "landscape (inverted)") xy=$laixy;xt=5 ;;\n  "portrait (inverted)")  xy=$poixy;xt=6 ;;\n  *)                      xy=$laxy;xt=3 ;;\nesac\nif [ "$move" == "true" ];then dbus-send --session --type=method_call --dest=oh.no.more.qbw /oh/no/more/qbw$QBW_ID oh.no.more.qbw.set_position int32:"`echo $xy|cut -d, -f1`" int32:"`echo $xy|cut -d, -f2`";fi;\nexit $xt\n
rememberMe=
cmdImgFilename=queen-beecon.png
cmdImgAngle=0
cmdImgZoom=0
cmdFgRGB=1
cmdExtFgRGB=#ffffffffffff
cmdTextAngle=0
cmdVisibilityPosition=0
cmdImgVisibilityPosition=0
cmdJustify=2
cmdExtFont=Nokia Sans 10
cmdFontName=3
cmdFontSize=12
resImgFilename=queen-beecon-resimg.png
resImgAngle=0
resImgZoom=0
resFgRGB=1
resExtFgRGB=#ffff00000000
resTextAngle=0
resVisibilityPosition=0
resImgVisibilityPosition=5
resJustify=0
resExtFont=Nokia Sans bold italic 18
resFontName=2
resFontSize=12
resWrapLongLines=false
progressAnimationFrames=1
progressAnimationTimer=4
progressAnimationPos=4
progressAnimationAtClickXY=false
progressAnimationBasename=browser-frame
updOnStartup=true
updOnClick=true
multiClick=false
updOnDesktop=false
updOnSight=false
updOnOrientation=true
delayIndex=0
customIntervalSecs=0
updNeworkPolicy=0
GPSsettings=0
updOnDBUS=0
updOnDBUSBus=0
updOnDBUSMatchRule=

SETUP:
http://i.imgur.com/G6wHD.png
app="<application>" as per HERE
move="true" if you want button to move on screen according to orientation and coordinates ("false" for fixed position)
laxy=coordinates for landscape mode
poxi=coordinates for portrait mode
laixy=coordinates for landscape inverted mode
poixi=coordinates for portrait inverted mode

For multiple button instances, remember to change in settings also:
  • ">=3" image basename
  • Press & Progress Animation FX basename


All times are GMT. The time now is 09:11.

vBulletin® Version 3.8.8