View Full Version : [Announce] Queen BeeCon Widget: Super powerful and customizable Widget Generation Engine - Official Thread
No!No!No!Yes!
02-21-2010, 08:47 PM
Hi, Folks.
Based on an idea and widget by cpscotti (http://talk.maemo.org/member.php?u=27674) ("Desktop Command Execution Widget (http://talk.maemo.org/showthread.php?t=39177)" R E S P E C T & Kudos, Dude!) and due to personal needs, I forked developments towards:
http://i.imgur.com/5YbFw.pngQueen BeeCon Widgethttp://i.imgur.com/5YbFw.png (https://garage.maemo.org/projects/queen-beecon/)
AT FULL POWER!
http://i.imgur.com/Khwoi.png
http://i41.tinypic.com/12375g8.png
http://i49.tinypic.com/2e2qb9t.png
Queen BeeCon Widget is a highly customizable and flexible widget-based multi-instance monitoring, alerting and interactive tool for Maemo 5 Fremantle and the N900.
The Widget is based on the execution of external Shell/OS Commands which can be either as simple as one-liner statements or as complex as articulated shell scripts, which, for example, fetch, parse and aggregate contents retreived from the system, other applications or the Internet.
There are two basic Widget types, Beecons and Snippets:
Beecons are small hexagonal cells whose background color or associated image/icon changes according to the executed Command Exit Status.
Beecons can handle virtually unlimited Command Exit Status:
<0 Normally notifying system errors in esecuting the script/command
0 Returned when script/command successfully completes
1 Used to report a warning condition
2 If script/command needs to notify some application error conditions
<=126 Other exit status which can be handled for displaying user defined icons/images
Snippets are normal text/graphic boxes with fixed background color and images which is not influenced by the executed Command Exit Status.
See WIKI (http://wiki.maemo.org/Queen_BeeCon_Widget)
Enjoy, No!No!No!Yes! (http://talk.maemo.org/member.php?u=26113)
No!No!No!Yes!
02-21-2010, 08:48 PM
Moved to WIKI (http://wiki.maemo.org/Queen_BeeCon_Widget)
No!No!No!Yes!
02-21-2010, 08:48 PM
Moved to WIKI (http://wiki.maemo.org/Queen_BeeCon_Widget)
Bratag
02-22-2010, 10:47 AM
I find this app to be both cool and a little confusing, but I suspect thats because Its so comprehensive. Purely as a way of monitoring items at a glance however its great, though perhaps a little space consuming on the desktop.
No!No!No!Yes!
02-22-2010, 12:45 PM
Here is the Normal version of the "Rootfs(%):" command:
df | awk '$1 == "rootfs" {print $5}'
Here is the equivalent Beeconified version of the "Rootfs(%):" command which you can replace:
df | awk 'BEGIN { FS="[ %]+" } $1 == "rootfs" { print $5 "%"; if ($5 < 90) exit 0; else if ($5 < 95) exit 1; else exit 2 }'
With the beeconified version of the command, the awk statement will return:
Exit Status 0 (Green Beecon) for less the 90% rootfs file system full
Exit Status 1 (Yellow Beecon) for less the 95% rootfs file system full
Exit Status 2 (Red Beecon) for 95% or more rootfs file system full
http://i45.tinypic.com/1zjhvc.png http://i48.tinypic.com/2cyje5i.png http://i47.tinypic.com/1625lyd.png
Bratag
02-22-2010, 12:48 PM
Here is the Normal version of the "Rootfs(%):" command:
df | awk '$1 == "rootfs" {print $5}'
Here is the equivalent Beeconified version of the "Rootfs(%):" command which you can replace:
df | awk 'BEGIN { FS="[ %]+" } $1 == "rootfs" { print $5 "%"; if ($5 < 90) exit 0; else if ($5 < 95) exit 1; else exit 2 }'
With the beeconified version of the command, the awk statement will return:
Exit Status 0 (Green Beecon) for less the 90% rootfs file system full
Exit Status 1 (Yellow Beecon) for less the 95% rootfs file system full
Exit Status 2 (Red Beecon) for 95% or more rootfs file system full
http://i45.tinypic.com/1zjhvc.png http://i48.tinypic.com/2cyje5i.png http://i47.tinypic.com/1625lyd.png
Very cool - One imagines this can be applied to pretty much any % based command.
late666
02-22-2010, 01:46 PM
It's a cool idea, but I think a more elegant way to do this is to stick to the half transparent black rectangle like the one in the original desktop command execution widget..
It would also save up on space.
No!No!No!Yes!
02-22-2010, 02:06 PM
Very cool - One imagines this can be applied to pretty much any % based command.
Sure... see also following Beeconified version of a "ping -q -c 3 server1" command to test server1 responsiveness:
ping -q -c 3 server1 | awk 'BEGIN { FS="[ \/]+"; rt=0 } $1 == "round-trip" { rt=1; print $6 "\n" $7 "\n" $8 "\n(ms)"; if ($8 < 100) exit 0; else if ($8 < 200) exit 1; else exit 2 } END { if ( rt == 0 ) exit -1 }'
The awk statement will return:
Exit Status 0 (Green Beecon) for round-trip max below 100ms
Exit Status 1 (Yellow Beecon) for round-trip max between 100 and 200 ms
Exit Status 2 (Red Beecon) for round-trip max above 200ms
Exit Status -1 (Grey Beecon) for server1 unresponsiveness
http://i49.tinypic.com/23uc5s3.png http://i45.tinypic.com/2zeiauh.png http://i49.tinypic.com/30hpnr6.png http://i45.tinypic.com/2ev82l5.png
No!No!No!Yes!
02-22-2010, 03:36 PM
It's a cool idea, but I think a more elegant way to do this is to stick to the half transparent black rectangle like the one in the original desktop command execution widget..
It would also save up on space.
Ciao,
I discussed about this matter with cpscotti, the current maintainer of DCEW, before I went public. We both agreed with the fact that both tools can have supporters and admirers especially if we move the topic into the "elegance" vs. "versatility" vs. "simplicity" vs. "practicality" vs. "completeness" vs. "complexity" vs. "beautifulness" vs. "coolness" vs. "hackishness" debate.
Due to my personal needs, for home and for work, I dedicated two, out of the four desktops, to monitoring widgets and I rely more on a visual/chromatic experience than on a plain textual feedback.
Furthermore, on the todo list there is also an open mind in developing a graphic architecture with far more freedom for the end-users to design and plug in their favourite visual "geometry", being that basic shapes or multi-area/clickable icons with alpha channel.
Thank you for your feedback. Bye.
No!No!No!Yes!
02-23-2010, 09:14 PM
http://i46.tinypic.com/ege1sh.jpg
And now... let's get ready for the 2010 MLB season...
Before using this Beecon make sure you have "wget" package installed:
Start X-Terminal and type:
Nokia-N900-51-1:/home/user/MyDocs# wget
wget: missing URL
Usage: wget [OPTION]... [URL]...
Try `wget --help' for more options.
Nokia-N900-51-1:/home/user/MyDocs#
If you don't receive the above output you need to install the package:
apt-get install wget
Beecon provides periodic updates for matches of your favourite MLB team:
wget -q -O - http://m.mlb.com/scores/`date +%Y%m%d`/ | awk 'BEGIN{t="NYY";m=0}/<td>.+<\/td>/{split(gensub(/<[^>]*>/,"","g"),a);if(a[1]!=t && a[3]!=t && a[4]!=t)next;m=1;if(a[2]=="vs."){print a[1] "\n" a[3] "\n" a[4],a[5];exit 1}print a[1],a[2] "\n" a[4],a[5] "\n" a[6];if((a[4]==t&&a[5]>a[2])||(a[1]==t&&a[2]>a[5]))exit 0;if(a[5]==a[2])exit 1;else exit 2}END{if(m==0){print "No\nMatch!\n";exit 1}}'
Just replace the:
t="NYY"
with one of the predefined abbreviations:
ATL, LAD, NYY, TOR, FLA, NYM, BOS, BAL, CIN, WSH, SD, PHI, SF, PIT, CHC, HOU, CLE, CWS, DET, KC, MIL, STL TB, TEX, MIN, OAK, LAA, SEA, COL, ARI.
Set update interval as you like and enjoy...
Beecon will return:
Exit Status 0 (Green Beecon) if team is winning
Exit Status 1 (Yellow Beecon) if match is tied up or no match for the day or match starting later on
Exit Status 2 (Red Beecon) if team is losing the match
http://i49.tinypic.com/wciudv.png http://i49.tinypic.com/nyg41w.png http://i45.tinypic.com/24b589i.png
http://i47.tinypic.com/j7ep2v.png http://i49.tinypic.com/wbywb7.png http://i47.tinypic.com/15ge1k.png
Hi,
I don't think my use cases will fit the "Queeen Beecon" approach, but I must thank you none the less for bringing its ancestor "Desktop Command Execution" to my attention. I don't know how I managed to miss it, but the idea behind both widgets is incredibly useful !
No!No!No!Yes!
02-24-2010, 12:41 PM
Before using this Beecon make sure you have "wget" package installed:
Start X-Terminal and type:
Nokia-N900-51-1:/home/user/MyDocs# wget
wget: missing URL
Usage: wget [OPTION]... [URL]...
Try `wget --help' for more options.
Nokia-N900-51-1:/home/user/MyDocs#
If you don't the above output you need to install the package:
apt-get install wget
I quote a previous post to clarify some possible issues with respect to the use of wget to retreive webpages to be parsed for relevant contents.
Proxy support in N900 Maemo (don't know for previous versions) is far from being perfect and comfortable to handle.
While testing the previous Beecon behind our company's firewall, hildon-home/desktop got frozen because of the wget command trying to access internet resources while being blocked by our firewall.
Only way to unfreeze it was to kill both the shell script spawned by Beecon, awk and wget hung processes.
UPDATE 201002251730{Don't know why wget hung itself like this in endless timeout but} Setting -t 1 -T 3 options prevents wget from hanging and getting stuck for more then -T 3 seconds even if connection or proxy problems arise!!! However set -T <secs> according to the foreseen size of the web content to be fetched
I figured out a way to programmatically retrieve the proxy settings both for HTTP and for HTTPS from the internal MicroB browser configuration file: /home/user/.mozilla/microb/prefs.js
File holds several values related to proxy settings:
user_pref("network.proxy.http", "my.proxy.pri");
user_pref("network.proxy.http_port", 3128);
user_pref("network.proxy.no_proxies_on", "");
user_pref("network.proxy.ssl", "my.proxy.pri");
user_pref("network.proxy.ssl_port", 3128);
user_pref("network.proxy.type", 1);
These values are also updated every time a new internet/network connection is estabilished with the configurations present in the internet connection settings.
http://i47.tinypic.com/3582csk.png
In order for wget to properly work behind a proxy, two environment variables must be set in this way:
export http_proxy=http://my.proxy.pri:3128/
export https_proxy=http://my.proxy.pri:3128/
Following one-liner script, which must be prepended to the wget command, does exactly that. It parses the MicroB/Browser configuration file and generates the statements to dynamically set those two variables:
`awk 'BEGIN {FS="[\(\", ;\)]+"}/proxy\.http"/{hx=$3}/proxy\.http_port"/{hp=$3}/proxy\.type"/{pt=$3}/proxy\.ssl"/{sx=$3}/proxy\.ssl_port"/{sp=$3}END{if(pt==0)exit;print "export http_proxy=http://" hx ":" hp "\/ export https_proxy=http://" sx ":" sp "\/"}' /home/user/.mozilla/microb/prefs.js`
So the final statement to feed the MLB Beecon with, will be this one:
`awk 'BEGIN {FS="[\(\", ;\)]+"}/proxy\.http"/{hx=$3}/proxy\.http_port"/{hp=$3}/proxy\.type"/{pt=$3}/proxy\.ssl"/{sx=$3}/proxy\.ssl_port"/{sp=$3}END{if(pt==0)exit;print "export http_proxy=http://" hx ":" hp "\/ export https_proxy=http://" sx ":" sp "\/"}' /home/user/.mozilla/microb/prefs.js`;wget -t 1 -T 3 -O - http://m.mlb.com/scores/`date +%Y%m%d`/ | awk 'BEGIN{t="NYY";m=0}/<td>.+<\/td>/{split(gensub(/<[^>]*>/,"","g"),a);if(a[1]!=t && a[3]!=t && a[4]!=t)next;m=1;if(a[2]=="vs."){print a[1] "\n" a[3] "\n" a[4],a[5];exit 1}print a[1],a[2] "\n" a[4],a[5] "\n" a[6];if((a[4]==t&&a[5]>a[2])||(a[1]==t&&a[2]>a[5]))exit 0;if(a[5]==a[2])exit 1;else exit 2}END{if(m==0){print "No\nMatch!\n";exit 1}}'
Of course you can save the proxy variables builder command into a file system shell script, lets say: pxy.sh and drop it into some PATH-reachable directory ex. /usr/sbin
# cat /usr/sbin/pxy.sh
awk '
BEGIN {
FS="[\(\", ;\)]+"
}
/proxy\.http"/ { hx=$3 }
/proxy\.http_port"/ { hp=$3 }
/proxy\.type"/ { pt=$3 }
/proxy\.ssl"/ { sx=$3 }
/proxy\.ssl_port"/ { sp=$3 }
END {
if ( pt==0 ) exit;
print "export http_proxy=http://" hx ":" hp "\/ export https_proxy=http://" sx ":" sp "\/"
} ' /home/user/.mozilla/microb/prefs.js
#
Change permissions to executable:
chmod 755 /usr/sbin/pxy.sh
and, inside the Beecon, use a shorter statement prepended to wget command:
`pxy.sh` ; wget -t 1 -T 3 -O - http://m.mlb.com/scores/`date +%Y%m%d`/ | awk 'BEGIN{t="NYY";m=0}/<td>.+<\/td>/{split(gensub(/<[^>]*>/,"","g"),a);if(a[1]!=t && a[3]!=t && a[4]!=t)next;m=1;if(a[2]=="vs."){print a[1] "\n" a[3] "\n" a[4],a[5];exit 1}print a[1],a[2] "\n" a[4],a[5] "\n" a[6];if((a[4]==t&&a[5]>a[2])||(a[1]==t&&a[2]>a[5]))exit 0;if(a[5]==a[2])exit 1;else exit 2}END{if(m==0){print "No\nMatch!\n";exit 1}}'
No!No!No!Yes!
02-25-2010, 05:48 PM
queen-beecon (0.0.3) uploaded to autobuilder a few minutes ago ... should be in devel for download shortly...
* Bugfixing for widget resize(dimensions) and positioning
* Bugfixing for general network related behaviours and content update, even after settings change
* Bugfixing for Command Edit and blank command selector after returning from command edit dialog
* Changed Exit Code output for command from !?0000xxxx to !?xxxx
* Changed Command Output is returned, if any, even if Exit Code less then 0
No!No!No!Yes!
02-26-2010, 11:42 AM
http://i50.tinypic.com/8yb23a.png
GMail New Messages Notifier Beecon
Following Beecon retrieves number of unread messages in specified Gmail Inbox.
Substitute <username> and <password> with your personal account information.
wget -t 1 -T 3 -q -O - https://<username>:<password>@mail.google.com/mail/feed/atom --no-check-certificate | awk 'BEGIN{m=2}/<fullcount>.+<\/fullcount>/{gsub(/<[^>]*>/,"",$0);print $1 " New";if($1>0)m=1;else m=0}END{exit m}'
The Beecon statement will return:
Exit Status 0 (Green Beecon) for 0 New Mails
Exit Status 1 (Yellow Beecon) for >0 New Mails
Exit Status 2 (Red Beecon) for problems fetching Mails
Exit Status -1 (Grey Beecon) for System problems
For PROXY/WGET related info have a look at THIS (http://talk.maemo.org/showthread.php?p=544591#post544591) post
Ciao, No!No!No!Yes!
No!No!No!Yes!
03-01-2010, 06:43 PM
http://i49.tinypic.com/2e2qb9t.png
Stay Tuned...
No!No!No!Yes!
03-02-2010, 03:05 AM
queen-beecon (0.1.0) now in extras-devel ... same usual relevant advices! (http://wiki.maemo.org/Extras-devel) :)
* WARNING! Architecture and readibility of code has been heavily revised for implementing the new functionalities...
* WARNING! Please bear with possible regressions and report bugs to the Maintainer
* New: Implemented the possibility to hide the background Canvas both for Beecons and Snippets
* New: Implemented the possibility to use different icons/images for Beecon's status output instead of just specific background color (Ex. 0=green led, 1=yellow led, 2=red led) (with high positioning versatility) ;)
* New: Implemented the possibility to use icons/images instead of text both for Beecons/Snippets command title and output (with high positioning versatility) ;)
* New: Implemented creation and management of private general purpose directory "~/.queen_beecon_dir" for widget (images/icons/etc.)
* New: Implemented "Update on widget Startup" option for every instance
* New: Implemented basic management/deletion of dead/disposed instances configurations data from config file
* New: Added button "Save & Run" settings dialog which saves settings and contextually triggers command execution
* Changed: Widget Layout is now nicer with better gummy "button-press" like visual feedback using Gradient fill
* Changed: Button Save in settings dialog does not trigger a command execution any more
* Changed: Now command do not get updated after getting back from settings dialog (even after "save"); relevant event only drives updates (manual, timer, desktop, network)
No!No!No!Yes!
03-02-2010, 04:39 PM
queen-beecon (0.1.1) now in extras-devel ... same usual relevant advices! (http://wiki.maemo.org/Extras-devel) :)
* Changed: Visual feedback for widget pressure is now also provided for Canvas-less beecons and snippets (button down canvas is displayed when pressed)
* Changed: Changed default size for newly created instances (50px=>100px)
* Changed: Housekeeping for dead/disposed instances is now run on each instance initialization and on class termination (should be more accurate now)
* Bugfixing: Writing/Reading configuration file inconsistencies fixed
* Bugfixing: Correction in images (status/results/title) hide/show logic. If images displayed and then commented out, they kept showing! - FIXED
And some goodies...
http://i50.tinypic.com/15mcmsk.png attached to the post for use as status icon with Beecons.
Bratag
03-02-2010, 04:41 PM
queen-beecon (0.1.1) now in extras-devel ... same usual relevant advices! (http://wiki.maemo.org/Extras-devel) :)
* Changed: Visual feedback for widget pressure is now also provided for Canvas-less beecons and snippets (button down canvas is displayed when pressed)
* Changed: Changed default size for newly created instances (50px=>100px)
* Changed: Housekeeping for dead/disposed instances is now run on each instance initialization and on class termination (should be more accurate now)
* Bugfixing: Writing/Reading configuration file inconsistencies fixed
* Bugfixing: Correction in images (status/results/title) hide/show logic. If images displayed and then commented out, they kept showing! - FIXED
And some goodies...
http://i50.tinypic.com/15mcmsk.png attached to the post for use as status icon with Beecons.
So we need to install these independently - not installed by default?
No!No!No!Yes!
03-02-2010, 04:59 PM
So we need to install these independently - not installed by default?
Ciao...
I'm sorry I still haven't studied how to package icons/images inside .deb and to extract them in relevant directory at .deb install time. If you can point me to some tutorial for doing this, please do... however this issue is in my TODO list but with low priority.
To use this icons you have just to extract them in the ~/.queen_beecon_dir directory and directly refer to them in the settings (if no pathname is specified then QBW looks inside that)
I'm mostly working on solving widget issues and testing core functionalities.
I'd also like to come out with some ways to export/import whole Beecons (basic parameters and possibly icons/images)... to more easily share them once assembled and tested. (I'm also aware of potential security concerns with respect to this matter).
Ciao, No!No!No!Yes!
No!No!No!Yes!
03-02-2010, 05:50 PM
Queen Beecon Widget 0.1.1 has now been promoted to extra testing.
No!No!No!Yes!
03-07-2010, 09:12 PM
Uhm...
Just a preview of how 0.1.3 is gonna look like...
http://i49.tinypic.com/2jfg3tt.png
Sometimes ... you win...
http://i48.tinypic.com/ke7khd.png
Sometimes ... you lose...
http://i47.tinypic.com/2vn4bc9.png
And sometimes ... it just ... rains!!!
Now only your fantasy and artistic skill are your boundaries ... :D
As soon as I can have some sleep ... I'll try to prepare a tutorial about how I made MLBeecon.
Ciao, No!No!No!Yes!
No!No!No!Yes!
03-08-2010, 07:11 AM
... and Hot Stove for www.tvrage.com TV Series Beecon in the brewery!!!
http://i46.tinypic.com/2iu7pfn.png
Still internal testing for 0.1.3...
Change Log:
* New: Added possibility to show or hide both snippet's image/text and beecon image/text. This way you can have two images and two text placeholders on widget, for more flexibility in graphic layout
* New: Added supplementary images/icons directory storage "~/Mydocs/.images/queen_beecon_dir". If images/icons without path are not found here then they are searched in "~/.queen_beecon_dir". For easier population via USB of BLUETOOTH File Services.
* New: Added functions in Advanced Maintenance Dialog Box: instance export/import w/ checksum, command export/import w/ checksum, command update with current Test Drive buffer, clipboard operations
* New: Added some confirmation dialogs for critical operations and some notification messages
* New: Added possibility to use different images/icons for Command Exit Statuses >=3 . Basically the Exit Status value will be appended to a fixed image filename and relevant image will be loaded (ex. "queen-beecon-status.png.3" ... 4 ... 5 ...)
* New: Basic Images/Icons for Snippets and Beecon Statuses incorporated into .deb package and installed inside canonical hildon hicolor 48x48 directory
* Bugfixing: Fixed size and positioning of controls in Advanced Maintenance Dialog Box
* Bugfixing: Removed directory purge in "rmnobraco.sh" script
* Bugfixing: Checked and removed some memory leaks and resources deallocation (were causing hildon-home desktop to crash on instance disposal)
* Changed: Restyle and lots of optimization in Settings Dialog Box UI layout
* Changed: Widget's fill gradients when background is enabled
* Changed: Restyle in Advanced Maintenance Dialog Box interface, now more functional and user friendly
* Changed: When opening Advanced Maintenance Dialog Box, command in current instance is automatically copied to the TestDrive command text box
* Changed: Advanced Maintenance Dialog Box changed font to Monospace Bold for the three text views for inproved visibility
No!No!No!Yes!
03-10-2010, 05:53 PM
Icons galore ... to play smooth!!! :cool:
http://i41.tinypic.com/9bdgfn.png
A nice set of tools ... to play rough!!! :eek:
http://i40.tinypic.com/m8kbad.png
No!No!No!Yes!
03-10-2010, 06:27 PM
WARNING! Feel free to play with this software, but be aware that this is software under development. For further info please READ THIS!!! (http://wiki.maemo.org/Extras-testing)
0.1.3 now in extras-devel ... stick with this ... as it is the most stable of all around. Don't bother with 0.1.1 in extras-testing as it has been demoted for too much instability.
As I promised I just need some spare time to write a little tutorial for the MLBeecon or the TV Rage Beecon ... stay tuned.
No!No!No!Yes!
03-15-2010, 08:45 AM
Beecon for Italian Serie A Soccer League
http://i41.tinypic.com/119wgnt.png
In code, replace f="JUVENTUS" with f="<your team>"
wget -t 1 -T 3 -q -O - "http://mobile.gazzetta.it/calcio/ultimi_risultati.jsp?nC=serieA&cC=1320" | awk 'BEGIN { FS="[<>\"]";f="JUVENTUS";r=-1;}$3=="giornata" { print "<big><span foreground=\"cyan\" size=\"x-large\"><b>Serie A [" $11 "]</b></span></big>";next;}$5=="text-decoration:none" {gsub(/ /,"",$7) rs = $7 " " $9;if(index($7,f)!=0){rs = "<span foreground=\"blue\"><b>" rs "</b></span>";split($7,t,"[ -]+");split($9,s,"[ -]+");if ((t[1]==f && s[1]>s[2])||(t[2]==f && s[2]>s[1])) r=0;else {if(s[1]==s[2]) r=1;else r=2;}}print rs;next;}END{exit r}'
No!No!No!Yes!
03-15-2010, 07:55 PM
And now in 0.1.4 version still in internal testing ... the possibility to have Minimized/Standby Beecons which are ready to be activated and maximized with just a click on the sleeping beecon icon!!!
TVRage (TV Show of the Day), Italian Serie A last sunday's soccer results, MLB Yesterday and Today results ... beecons maximized and active
http://i39.tinypic.com/b7zaki.png
TVRage (TV Show of the Day), Italian Serie A last sunday's soccer results, MLB Today results ... beecons maximized and active, MLB Yesterday beecon minimized and disabled but ready to full service again with just one click on it.
http://i40.tinypic.com/15zs5g4.png
TVRage (TV Show of the Day) beecon ... maximized and active, Italian Serie A last sunday's soccer results, MLB Today results, MLB Yesterday beecon minimized and disabled but ready to full service again with just one click on them.
http://i42.tinypic.com/qnp7pg.png
No!No!No!Yes!
03-15-2010, 08:22 PM
AT FULL POWER!
http://i39.tinypic.com/2vux35f.png
No!No!No!Yes!
03-16-2010, 09:28 AM
queen-beecon (0.1.4) now in extras-devel
* New: Implementation of Widget Instance disabling and minimizing on desktop (click on minimized icon on desktop will wakeup and maximize instance)
* New: Implementation of image/icon scaling function for all images used (Zoom In/Out from 5% to 200% or Fit to Widget Width/Height)
* Bugfixing: In Advanced Maintenance Dialog Box several bugfixes for Import/Export commands and instances
and a preview of what is now possible!!!
Milan (Italy) Ringroad Live Traffic Beecon
http://i44.tinypic.com/e6408y.png
Also available for ROME, TURIN, FLORENCE, NAPLES, BOLOGNA!
Beecon Export soon available!
Credits go to the cited Companies, Organizations, Product, Services. Please report if any contents is neither appropriate nor allowed to be published and it will be removed within short time span.
Bratag
03-16-2010, 09:33 AM
Wow this app is sure growing up fast :)
No!No!No!Yes!
03-18-2010, 11:08 AM
http://i46.tinypic.com/1zn04fm.pngQueen BeeCon Widgethttp://i46.tinypic.com/1zn04fm.png
[HowTo] Import Procedure for Beecon Exported Instance Data
Make sure you have already copied into your phone's clipboard the Beecon Exported Instance Data (http://talk.maemo.org/showpost.php?p=575685&postcount=31)
Then three usual and basic steps to instantiate the Widget:
http://i41.tinypic.com/oan8n8.png
http://i42.tinypic.com/6hlrh4.png
http://i41.tinypic.com/oq92yc.png
http://i42.tinypic.com/2ebualz.png
Now click on the Settings Wrench Icon and we reach the Settins Dialog.
Click on the "Advanced" button (1)
http://i42.tinypic.com/2vxpqo6.png
Confirm that we are PROFESSIONALS :) and we know what we are doing. Button (1)
http://i43.tinypic.com/ab0cnb.png
We reach the Advanced Settings and Tools Dialog Box... scroll down to the bottom.
http://i41.tinypic.com/4h9sgz.png
We reach following screen. If we press Button (1), we paste our Exported Instance Data into the Import/Export buffer, ready to be processed.
http://i42.tinypic.com/ejzpdt.png
After the Import Buffer is filled with Import Data, let's click on Import Snippet/Beecon Button (1)
http://i40.tinypic.com/14xkqx5.png
And confirm we really want to Import our Instance
http://i41.tinypic.com/2m43vxf.jpg
SUCCESS!!! We have now imported our Exported Instance.
http://i44.tinypic.com/15y87xd.png
Let's dismiss the warning and, after imported data is reloaded, we will be back at our Instance Settings Dialog Box. You'll see the new instance data saving data and running with Button (5)
http://i43.tinypic.com/1zwya3c.png
And now proceed with instance specific post-import steps!!!
No!No!No!Yes!
03-21-2010, 06:59 AM
http://i46.tinypic.com/1zn04fm.pngQueen BeeCon Widgethttp://i46.tinypic.com/1zn04fm.png
[HowTo] Copy Exported Instance Data to Phone's Clipboard
Best way (to me): Just use N900 Microb Browser to open page with Exported Instance Data and Copy to clipboard according to this simple procedure:
http://i41.tinypic.com/2lkplxj.png
http://i42.tinypic.com/rtkljn.png
Then proceed with Instance Advanced Settings Dialog operations.
No!No!No!Yes!
03-23-2010, 04:18 AM
Release 0.1.4 is now in Extras-Testing repository.
Testers and a bit of promotion needed for taking it to Extras.
Anybody can help? (http://maemo.org/packages/package_instance/view/fremantle_extras-testing_free_armel/queen-beecon/0.1.4/)
Patola
03-24-2010, 12:58 AM
Is there a possibility of different scripts for showing the information on the beecon and updating it? Like, say, I have a VPN status script which shows on the beecon, but if I click it, it changes the status. Or I have a FM transmitter status which shows on the beecon, but if I click it, it changes the status. This would be greatly useful.
No!No!No!Yes!
03-24-2010, 04:00 AM
Is there a possibility of different scripts for showing the information on the beecon and updating it? Like, say, I have a VPN status script which shows on the beecon, but if I click it, it changes the status. Or I have a FM transmitter status which shows on the beecon, but if I click it, it changes the status. This would be greatly useful.
Absolutely Yes, if I understand your use case correctly.
Your script can handle statuses persistence...
for example (and in metalanguage) the script could perform like this:
Beecon pressed
isFmOn() { // check some kind of system status indicator
// (test presence of a file or ps|grep process)
// Its on, turn it off
turnFmOff()
touchOffFlag() // if necessary
handleError() // if necessary
exit(1) //Beecon will sense 1 Exit Code and show relevant icon/color
} else {
// Its off, turn it on
turnFmOn()
touchOnFlag() // if necessary
handleError() // if necessary
exit(0) //Beecon will sense 0 Exit Code and show relevant icon/color
}
You can also set a very short timer interval for handling unexpected status changes.
Everything depends on the amount of persistence logic or complexity you can handle via your script/command.
Patola
03-24-2010, 02:30 PM
Absolutely Yes, if I understand your use case correctly.
Your script can handle statuses persistence...
for example (and in metalanguage) the script could perform like this:
Beecon pressed
isFmOn() { // check some kind of system status indicator
// (test presence of a file or ps|grep process)
// Its on, turn it off
turnFmOff()
touchOffFlag() // if necessary
handleError() // if necessary
exit(1) //Beecon will sense 1 Exit Code and show relevant icon/color
} else {
// Its off, turn it on
turnFmOn()
touchOnFlag() // if necessary
handleError() // if necessary
exit(0) //Beecon will sense 0 Exit Code and show relevant icon/color
}
You can also set a very short timer interval for handling unexpected status changes.
Everything depends on the amount of persistence logic or complexity you can handle via your script/command.
Thanks for the response. Actually I've made this with Desktop Command Execution, but there is a problem nevertheless with the design decision of updating and showing being activated by the same script.
Namely, the problem is that, to show the status, you have to update. And sometimes you just don't want that; for example, when I reconfigure anything on the desktop, it reinitializes all widgets, and the script on Desktop Command Execution toggles my FM transmitter again, which I didn't want. Or when I reboot, it does the same thing - it toggles - I had to add some logic to verify from /proc/uptime whether 100 seconds have passed so that it could update only after that.
That's why I am asking for such a feature on Queen Beecon itself. It would ve very useful to me.
No!No!No!Yes!
03-24-2010, 04:40 PM
Thanks for the response. Actually I've made this with Desktop Command Execution, but there is a problem nevertheless with the design decision of updating and showing being activated by the same script.
Namely, the problem is that, to show the status, you have to update. And sometimes you just don't want that; for example, when I reconfigure anything on the desktop, it reinitializes all widgets, and the script on Desktop Command Execution toggles my FM transmitter again, which I didn't want. Or when I reboot, it does the same thing - it toggles - I had to add some logic to verify from /proc/uptime whether 100 seconds have passed so that it could update only after that.
That's why I am asking for such a feature on Queen Beecon itself. It would ve very useful to me.
Hi ... with these settings you can prevent Beecon from executing unless the button is explicitly pressed manually. No other event will trigger execution (neither startup of system/widget)
http://i39.tinypic.com/eiwjms.png
But help me model your use case...
How would you trigger the two different scripts?
A timer?
Two different hot-spots on the Beecon surface (Maybe center for execute (script) and peripheral for status (script))?
Same triggering logic for both states/scripts?
How would you like to handle status persistency across reboots?
...when I reconfigure anything on the desktop, it reinitializes all widgets,...
Could you please clarify this more? Seems some sort of bug to me. Does it happen to QBW as well?
Patola
03-24-2010, 06:01 PM
But help me model your use case...
How would you trigger the two different scripts?
A timer?
Two different hot-spots on the Beecon surface (Maybe center for execute (script) and peripheral for status (script))?
Same triggering logic for both states/scripts?
How would you like to handle status persistency across reboots?
Could you please clarify this more? Seems some sort of bug to me. Does it happen to QBW as well?
Sorry, I think I confused my script running under Desktop Command Execution and Queen Beacon Widget. Most of the issues aren't there with QBW indeed. If I edit the desktop, the widget is not reinitialized. If I reboot, it is not auto activated either.
However, due to the nature of my script a small problem still rests. Since the update script is also the script that shows state, I can't get it activated on reboot because it will toggle the FM transmitter. And if I don't get it activated, it will show "Not updated" on the widget.
The script is this one:
result=$( /usr/bin/fmtx_client -p$( /usr/bin/fmtx_client | /bin/grep -q '^state=enabled' ; echo $? ) | /usr/bin/awk -F '=' '($1=="state") {print $2}' ); echo $result; [ $result = "enabled" ]
Answering your questions:
The first script would toggle the state of FM TX, as my script does. The other would just show the result of the fmtx, using fmtx_client with no parameters and grepping the state.
Timer? No, no timers or periodic execution are needed on my script. What I did for the Desktop Command Execution version was an if with /proc/uptime to update or not, so that it wouldn't trigger on boot but also wouldn't trigger with a click until 100 seconds had passed.
Well, I don't think that would fit for a workaround...
No, the one would trigger when clicked, the other would trigger e.g. on reboot or repaint when the option for the first not triggering on boot was activated.
I wouldn't. I'd rely on the device (FM TX) behaviour to get and set its status, as I did on the script.
Cheers,
Cláudio (Patola)
EDIT: BTW, I noticed a small bug. When entering the text in the input line, sometimes it capitalizes the first letter of some word. With the unix shell being case-sensitive, this results in the script failing. I've noticed that there are programs which do not capitalize any letter, maybe you need to set a flag or something in the input box properties.
No!No!No!Yes!
03-24-2010, 07:33 PM
Sorry, I think I confused my script running under Desktop Command Execution and Queen Beacon Widget. Most of the issues aren't there with QBW indeed. If I edit the desktop, the widget is not reinitialized. If I reboot, it is not auto activated either.
However, due to the nature of my script a small problem still rests. Since the update script is also the script that shows state, I can't get it activated on reboot because it will toggle the FM transmitter. And if I don't get it activated, it will show "Not updated" on the widget.
The script is this one:
result=$( /usr/bin/fmtx_client -p$( /usr/bin/fmtx_client | /bin/grep -q '^state=enabled' ; echo $? ) | /usr/bin/awk -F '=' '($1=="state") {print $2}' ); echo $result; [ $result = "enabled" ]
Answering your questions:
The first script would toggle the state of FM TX, as my script does. The other would just show the result of the fmtx, using fmtx_client with no parameters and grepping the state.
Timer? No, no timers or periodic execution are needed on my script. What I did for the Desktop Command Execution version was an if with /proc/uptime to update or not, so that it wouldn't trigger on boot but also wouldn't trigger with a click until 100 seconds had passed.
Well, I don't think that would fit for a workaround...
No, the one would trigger when clicked, the other would trigger e.g. on reboot or repaint when the option for the first not triggering on boot was activated.
I wouldn't. I'd rely on the device (FM TX) behaviour to get and set its status, as I did on the script.
Cláudio, would you mind trying with different scripts? Have a look at this topic: http://talk.maemo.org/showpost.php?p=452221&postcount=100 and please report back here results...
other suggestion:
why don't you just set "enable on startup" and programmatically skip first run from within your script like:
if [! -f /tmp/1st_run ]
then
touch /tmp/1st_run
else
<your code here>
fi
EDIT: BTW, I noticed a small bug. When entering the text in the input line, sometimes it capitalizes the first letter of some word. With the unix shell being case-sensitive, this results in the script failing. I've noticed that there are programs which do not capitalize any letter, maybe you need to set a flag or something in the input box properties.
This is not a bug ... it is standard behaviour for text entry fields. Needs to be programmatically changed soon after entry text creation.
Thanks to querty12 tip this has already been changed in 0.1.5 still in internal testing on my N900
No!No!No!Yes!
03-25-2010, 03:21 AM
I made some test last night and it seems to me that when fmtx switches on the radio, and no sound is sent through it, after a while the FM radio gets automatically switched off.
I believe it is not easy for Beecon to track this kind of behaviour unless continuously polling with very short rest time... being a real Battery squeezer.
Patola
03-25-2010, 02:49 PM
Yes, that's why I think the click script and update content script should be different! My "show" script could just get the battery status from fmtx_client polling every x minutes, while my "update" script could change it to what I want.
And thanks for the response, I'll try for the time being using the temporary file but I'd really prefer the feature of separate scripts.
No!No!No!Yes!
03-25-2010, 04:16 PM
Yes, that's why I think the click script and update content script should be different! My "show" script could just get the battery status from fmtx_client polling every x minutes, while my "update" script could change it to what I want.
And thanks for the response, I'll try for the time being using the temporary file but I'd really prefer the feature of separate scripts.
I believe the cheapest solution could be this one:
http://i41.tinypic.com/nei7hy.png http://i39.tinypic.com/2zf7j8y.png http://i44.tinypic.com/eugi69.png
With "A" being the "status" beecon (with status querying script updating manually, every startup, on desktop change, every 30 or so seconds) and "B" being the "toggle" beecon/button (with status toggling script just for manual interaction)
http://i42.tinypic.com/wu4bxi.png http://i44.tinypic.com/11m8ahz.png http://i43.tinypic.com/2u4lw5g.png
Patola
03-26-2010, 11:39 PM
This creates a new problem, isn't it? B would have to call A since it change's A status, otherwise A would only change colors on the next time threshold. OR the user should always click on B then click on A, which would be also a nuisance.
No!No!No!Yes!
03-27-2010, 10:32 AM
This creates a new problem, isn't it? B would have to call A since it change's A status, otherwise A would only change colors on the next time threshold. OR the user should always click on B then click on A, which would be also a nuisance.
Yesssss!!! you're right ... but has I said, since the Beecon is not the only direct controller of the fmtx program behaviour (fmtx takes the initiative of switching itself off after inactivity) also the polling mechanism to monitor fmtx status according to timer periodicity will be inaccurate however
... then sorry, my friend ... no cheap method for this use case!!! :(
jakiman
04-13-2010, 05:27 PM
I just started using this app and all I can say is "what an amazing piece of work!!".
Now I just need to study it a bit more to see what I can do with it and how to arrange them. =)
No!No!No!Yes!
04-13-2010, 05:35 PM
I just started using this app and all I can say is "what an amazing piece of work!!".
Now I just need to study it a bit more to see what I can do with it and how to arrange them. =)
thanks man... come back soon and share your experiments with us :D
jakiman
04-13-2010, 06:30 PM
Here's some stuff I did so far with your awesome widget.
Used 5 of queen beecon (snippet mode) in this desktop.
http://img59.imageshack.us/img59/5747/screenshot2010041408401.png
1. Overclocked@1Ghz is a snippet 'button' with following code. It's to reset it back to 1Ghz after a phone call. (some kind of issue where overclock is reset to 800mhz after a call)
echo "echo 1000000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq" | sudo gainroot
2. Output down the bottom is certain lines from cpufreq-info output. (you can install cpufreq tools from app manager)
3. Standard Rootfs and Battery output. (separate widgets)
4. LCD button on right which is used to instantly dim the LCD to lower than lowest level possible in settings.
echo "echo 2 > /sys/class/backlight/acx565akm/brightness" | sudo gainroot
No!No!No!Yes!
04-14-2010, 02:24 AM
Here's some stuff I did so far with your awesome widget.
Used 5 of queen beecon (snippet mode) in this desktop.
http://img59.imageshack.us/img59/5747/screenshot2010041408401.png
1. Overclocked@1Ghz is a snippet 'button' with following code. It's to reset it back to 1Ghz after a phone call. (some kind of issue where overclock is reset to 800mhz after a call)
echo "echo 1000000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq" | sudo gainroot
2. Output down the bottom is certain lines from cpufreq-info output. (you can install cpufreq tools from app manager)
3. Standard Rootfs and Battery output. (separate widgets)
4. LCD button on right which is used to instantly dim the LCD to lower than lowest level possible in settings.
echo "echo 2 > /sys/class/backlight/acx565akm/brightness" | sudo gainroot
Neat and nice layout ... with a bit more tweaking and scripting (awk and the like) you could also highlight and change text properties for point 2 ... for example: cpu values/% in bold or "MHZ" in subscript style or with different font with Pango Markup Language (http://maemo.org/api_refs/5.0/5.0-final/pango/PangoMarkupFormat.html)
Also Battery and Rootfs could be replaced by their specific dynamic icons showing status in a visual way like this:
http://i41.tinypic.com/fthq45.png
janne.palo
04-14-2010, 03:42 AM
Could someone help me a bit?
I would like to have a single button that sets the wifi off, changes mode to gsm and shuts down all connections and possibly shuts the screen off. It would be so handy to just push that single button before you put your device to pocket. I dont have skills to create command like that. Thanx. :)
No!No!No!Yes!
04-14-2010, 05:34 AM
This should be the sequence of commands to script:
#This disconnects from the net
run-standalone.sh dbus-send --system --dest=com.nokia.icd /com/nokia/icd_ui com.nokia.icd_ui.disconnect boolean:true
#This shuts down wifi
rmmod wl12xx
#This sets phone to 2G
run-standalone.sh dbus-send --system --type=method_call --dest=com.nokia.phone.net /com/nokia/phone/net Phone.Net.set_selected_radio_access_technology byte:1
#This locks screen
run-standalone.sh dbus-send --print-reply --system --dest=com.nokia.mce /com/nokia/mce/request com.nokia.mce.request.req_tklock_mode_change string:locked
cheggers33
04-14-2010, 07:26 AM
Noticed that a Serie A scores widget had been created - has there been anyone who has created a Premiership widget as yet?
That would be amazing! :D
No!No!No!Yes!
04-14-2010, 07:33 AM
Could someone help me a bit?
I would like to have a single button that sets the wifi off, changes mode to gsm and shuts down all connections and possibly shuts the screen off. It would be so handy to just push that single button before you put your device to pocket. I dont have skills to create command like that. Thanx. :)
Beecon has been created ... see here for instructions [Announce] Queen BeeCon Widget - N900 Hard Sleep Mode (http://talk.maemo.org/showthread.php?t=49982)
Enjoy!
No!No!No!Yes!
04-14-2010, 07:35 AM
Noticed that a Serie A scores widget had been created - has there been anyone who has created a Premiership widget as yet?
That would be amazing! :D
See here for instructions... [Announce] Queen BeeCon Widget - European Soccer Leagues Live Results and Next Matches Beecon (http://talk.maemo.org/showthread.php?t=47649)
Enjoy.
iceman600
04-14-2010, 08:16 PM
Here's some stuff I did so far with your awesome widget.
Used 5 of queen beecon (snippet mode) in this desktop.
http://img59.imageshack.us/img59/5747/screenshot2010041408401.png
i cant find the cpufreq tools on the app manager... :confused:
edit: fix the repo and found the cpufrequi but having error on dependencies...
iceman600
04-15-2010, 04:55 AM
im beginning to like this app... its more cuztomizable than DCE widget.
im looking forward for your tutorial for the tv guide thing for this app.
nice work man... im sure this will be a hit :D
jakiman
04-15-2010, 05:27 AM
i cant find the cpufreq tools on the app manager... :confused:
edit: fix the repo and found the cpufrequi but having error on dependencies...
I installed it via xterminal.
apt-get -install cpufreq*
Also, cpufrequi can be installed via .deb file from this thread:
http://talk.maemo.org/showthread.php?t=50067
No!No!No!Yes!
04-15-2010, 05:56 PM
im beginning to like this app... its more cuztomizable than DCE widget.
im looking forward for your tutorial for the tv guide thing for this app.
nice work man... im sure this will be a hit :D
You are right... I promised about "TVRage" beecon but ... forgot!!! Sorry!
Next pop from my stack.
Stay tuned.
jakiman
04-16-2010, 04:10 AM
One thing I found extremely annoying is that it does not remember the individual beecon settings.
So if I accidently close 1 beecon/snippet, I lose all the settings on how it looks and I have to redo it all over again.
I just had to recreate the same widget multiple times.... =(
Would be awesome if you can create design templates. (just like being able to create scripts)
iceman600
04-16-2010, 04:46 AM
One thing I found extremely annoying is that it does not remember the individual beecon settings.
So if I accidently close 1 beecon/snippet, I lose all the settings on how it looks and I have to redo it all over again.
I just had to recreate the same widget multiple times.... =(
Would be awesome if you can create design templates. (just like being able to create scripts)
im just going to post the same thing... lols
i used desktop activity to clone my desktop on every occation i used it... but saving on another desktop or cloning the desktop will revert the snipnets to default. have to do it all over again...
can i request for a command that will open a site on firefox mobile or microb. i hate putting bookmarks on my desktop. their to big for my taste. thank you:D
Patola
04-16-2010, 04:52 AM
can i request for a command that will open a site on firefox mobile or microb. i hate putting bookmarks on my desktop. their to big for my taste. thank you:D
Just search the wiki, man. The information you want is on the Phone control (http://wiki.maemo.org/Phone_control#Open_link_in_browser) page:
Open link in browser
dbus-send --system --type=method_call --dest=com.nokia.osso_browser /com/nokia/osso_browser/request com.nokia.osso_browser.load_url string:"google.com"
zimon
04-16-2010, 05:11 AM
This BeeCon widget deserves its own wiki page from the start, because it is so versatile, flexible and usable for many things. This thread will become huge and people will ask the same things multiple times.
Great work!
No!No!No!Yes!
04-16-2010, 05:11 AM
One thing I found extremely annoying is that it does not remember the individual beecon settings.
So if I accidently close 1 beecon/snippet, I lose all the settings on how it looks and I have to redo it all over again.
I just had to recreate the same widget multiple times.... =(
Would be awesome if you can create design templates. (just like being able to create scripts)
Function is already there ... see following post for exporting Instance Settings:
[HowTo] Export/Save Procedure for Beecon Instance Data (http://talk.maemo.org/showpost.php?p=613152&postcount=62)
No!No!No!Yes!
04-16-2010, 05:11 AM
http://i46.tinypic.com/1zn04fm.pngQueen BeeCon Widgethttp://i46.tinypic.com/1zn04fm.png
[HowTo] Export/Save Procedure for Beecon Instance Data
Once you finished working with your customizations, click on the "Advanced" button (1)
http://i41.tinypic.com/169rlh2.png
Confirm that we are PROFESSIONALS :) and we know what we are doing. Button (1)
http://i44.tinypic.com/29q0575.png
We reach the Advanced Settings and Tools Dialog Box... scroll down to the bottom.
http://i43.tinypic.com/4vo0ba.png
We reach following screen. If we press Button (1), we export the Instance Data into the Import/Export buffer, the with Button (2), data will be automatically selected and copied into our clipboard.
http://i43.tinypic.com/6iqkgy.png
Dismiss all QBW settings dialogs by clicking on top area of the display and open Notes application from applications menu
http://i41.tinypic.com/t6ufq0.png
Create New Note and paste your clipboard there [Ctrl-V]
http://i40.tinypic.com/331ozuh.jpg
Save Note using a name of your choice
http://i43.tinypic.com/1zm009j.png
If you need to RESTORE, just open back your saved note, select all text, copy to clipboard and proceed according to this post:
Import Procedure for Beecon Exported Instance Data (http://talk.maemo.org/showpost.php?p=572028&postcount=30)
No!No!No!Yes!
04-16-2010, 05:19 AM
This BeeCon widget deserves its own wiki page from the start, because it is so versatile, flexible and usable for many things. This thread will become huge and people will ask the same things multiple times.
Great work!
I believe you are right, but since the beginning I did not find much feedback and interest about QBW ... proof is still no karma and feedback in QA testing queue (http://maemo.org/packages/package_instance/view/fremantle_extras-testing_free_armel/queen-beecon/0.1.4/)
I'm trying to keep this main thread in order and see if Wiki is really needed...
jakiman
04-16-2010, 06:24 AM
Thank you. Now I can at least export the settings.
But would be awesome if it was integrated into the widget's settings screen. :)
IMO, QBW is a far more superior widget the the DCEW.
All the things DCEW lacks, you've added into QBW.
Amazing amount of work. Awesome set of instructions.
I'm no longer using DCEW as this is like DCEW version 3.0 and some. lol :p
btw, I cannot get output to word wrap within the snippet mode.
Is this possible for big text outputs? (so output doesn't go outside of the box)
slewis1972
04-17-2010, 04:14 AM
Hi
Can anyone tell me please how to change the default look of beacon to say square icons? I dont want to keep setting sizes - is this possible?
No!No!No!Yes!
04-17-2010, 04:45 AM
Hi
Can anyone tell me please how to change the default look of beacon to say square icons? I dont want to keep setting sizes - is this possible?
Sorry ... could you please explain what you'd like to do? I'm not sure I understand your request.
iceman600
04-17-2010, 04:48 AM
Hi
Can anyone tell me please how to change the default look of beacon to say square icons? I dont want to keep setting sizes - is this possible?
just change the beecon to snippets... (upper left corner of the settings)
enjoy...
and pls give the author karma and feedback so we can have a wiki
iceman600
04-17-2010, 05:03 AM
Just search the wiki, man. The information you want is on the Phone control (http://wiki.maemo.org/Phone_control#Open_link_in_browser) page:
Open link in browser
dbus-send --system --type=method_call --dest=com.nokia.osso_browser /com/nokia/osso_browser/request com.nokia.osso_browser.load_url string:"google.com"
i have firefox installed... how about if i want to launch firefox... its not on the wiki. can you provide me a code? not good at terminal commands... lol :D
thanks
nokian-series
04-17-2010, 08:10 AM
Hi all.
I have done a script to one of those widgets, but it is freezing my device, hildon desktop stop works, and other strange things.
I've tried to uninstall it, but when re-install, the configurations are there too.
I cand access the configuration to modifiy the script, phone hangs up.
I can acess the x-terminal and filesystem over ssh.
So..what file and where is it, that stores the script code so i can 'edit' it other way then the default one ?
Or, anyway to remove\uninstall with the defenitions too ..
help please
zimon
04-17-2010, 09:10 AM
Or, anyway to remove\uninstall with the defenitions too ..
http://wiki.openvz.org/Package_managers#Commands
dpkg -P queen-beecon
rm -r /home/user/.queen_beecon_dir /home/user/.queen_beecon
nokian-series
04-17-2010, 11:14 AM
Hi all,
Anyone can help me to make a script to view the football results from there:
http://www.futebol365.pt/directo/default.asp
For exemple, for the "Inglaterra: Premier League"
Please ?
matts76
04-17-2010, 01:22 PM
Hi all.
I have done a script to one of those widgets, but it is freezing my device, hildon desktop stop works, and other strange things.
I've tried to uninstall it, but when re-install, the configurations are there too.
I cand access the configuration to modifiy the script, phone hangs up.
I can acess the x-terminal and filesystem over ssh.
So..what file and where is it, that stores the script code so i can 'edit' it other way then the default one ?
Or, anyway to remove\uninstall with the defenitions too ..
help please
I had a similar problem with the hard sleep mode widged, i screwed up the set up a bit and forgot to uncheck the updade at start up and switch desktop options so as soon as i turned my n 900 on it went straight to sleep:confused: when i uninstalled and re installed it i got the same problem. the way i solved it was rather low tech, using the lock button to activate the desk top for about half a second at a time i first held the stylus down to enter desktop edit (took a few tries) and then selected the wrench icon on the offending widged to edit it, before that i tried simply deleting the widget but the problem just reacured as soon as i tried to replace it, hope this helps in some way.:)
No!No!No!Yes!
04-17-2010, 01:41 PM
Hi all ... please support troubleshooting and bugfixing by providing as much info as possible, especially if you suspect it is a program bug and not an own script messup!
Solution and support will be given maximum priority if reported via:
Queen Beecon's bugtracker (https://garage.maemo.org/tracker/?group_id=1295)
iceman600
04-17-2010, 03:49 PM
I had a similar problem with the hard sleep mode widged, i screwed up the set up a bit and forgot to uncheck the updade at start up and switch desktop options so as soon as i turned my n 900 on it went straight to sleep:confused: when i uninstalled and re installed it i got the same problem. the way i solved it was rather low tech, using the lock button to activate the desk top for about half a second at a time i first held the stylus down to enter desktop edit (took a few tries) and then selected the wrench icon on the offending widged to edit it, before that i tried simply deleting the widget but the problem just reacured as soon as i tried to replace it, hope this helps in some way.:)
lol... im having the same problem. mine is i did a command to oen a specific site on a browser... i forgot to unchecked the update the widget on startup/switched to desktop. so now when i open the device it opens the page.. since i did not unchecked the update when switched to desktop, everytime i close the browser it pop ups again. :mad:
no!no!no!yes! is there a way to reset to default config of the commands... im serching the file system for the configurations cant find it. reinstall didnt work...
funny thing is everytime i add a queenbee widget it opens the browser again. so meaning adding a new widget makes the command i make the default one...
just wannt to reset the settings and play withit again.
is there a way to reset to default config?
thanks:o
No!No!No!Yes!
04-17-2010, 05:17 PM
lol... im having the same problem. mine is i did a command to oen a specific site on a browser... i forgot to unchecked the update the widget on startup/switched to desktop. so now when i open the device it opens the page.. since i did not unchecked the update when switched to desktop, everytime i close the browser it pop ups again. :mad:
no!no!no!yes! is there a way to reset to default config of the commands... im serching the file system for the configurations cant find it. reinstall didnt work...
funny thing is everytime i add a queenbee widget it opens the browser again. so meaning adding a new widget makes the command i make the default one...
just wannt to reset the settings and play withit again.
is there a way to reset to default config?
thanks:o
Configuration file is:
/home/user/.queen_beecon
For those of you who are having issues at widget startup:
open up x-terminal
sudo gainroot
vi /home/user/.queen_beecon
find updOnStartup=true (all instances supposed to be culprits)
set it to false (updOnStartup=false)
save file
immediately issue: killall hildon-home
hildon-home will restart automatically and widgets won't run any more at startup
If Configuration file:
/home/user/.queen_beecon
is messed up real bad ... just delete it, issue killall hildon-home and cross your fingers!!!
Generally speaking, there will NOT be any need to remove either package with:
dpkg -P queen-beecon
or images directory with:
rm -r /home/user/.queen_beecon_dir
rm -r /home/user/MyDocs/.images/queen_beecon_dir/
WARNING
For all Beecons used as buttons I suggest to set the update policy as this in order to prevent accidental triggering of the button!!!
http://i44.tinypic.com/1z5hrw6.png
No!No!No!Yes!
04-17-2010, 10:26 PM
Wiki page is on the go ... see here:
http://wiki.maemo.org/Queen_BeeCon_Widget
iceman600
04-17-2010, 10:37 PM
Wiki page is on the go ... see here:
http://wiki.maemo.org/Queen_BeeCon_Widget
im hoping to see a tv rage as promised... :D
SallyJane
04-18-2010, 02:05 AM
Sorry, please outline the steps needed to change the update policy ?
jakiman
04-18-2010, 02:34 AM
Sorry, please outline the steps needed to change the update policy ?
What steps? Just uncheck the ones you don't need.
Also, leave Update Interval to 0 if you don't want periodic update.
(btw, this is right down the bottom. So you need to scroll down)
SallyJane
04-18-2010, 02:43 AM
OMG of course, scrolling down reveals the hidden page !
Thanks !
:o
No!No!No!Yes!
04-18-2010, 03:32 PM
You are right... I promised about "TVRage" beecon but ... forgot!!! Sorry!
Next pop from my stack.
Stay tuned.
OK ... TVRage Beecon is now spotted into the wild :cool:
WIKI (http://wiki.maemo.org/Queen_BeeCon_Widget) will soon be updated accordingly.
UNderworld
04-19-2010, 09:48 AM
hi is there any way I can back up my widgets etc without using the phone backup function??
please please full command
No!No!No!Yes!
04-19-2010, 10:26 AM
hi is there any way I can back up my widgets etc without using the phone backup function??
please please full command
Sure,
See HOWTO procedures in the WIKI (http://wiki.maemo.org/Queen_BeeCon_Widget#Backup_all_Widget_Instances)
UNderworld
04-19-2010, 10:50 AM
Sure,
See HOWTO procedures in the WIKI (http://wiki.maemo.org/Queen_BeeCon_Widget#Backup_all_Widget_Instances)
I have tried this before posting but did not work..
Nokia-N900-02-8:~# cp -r /home/user/.queen_beecon_dir /home/user/MyDocs/dir1
no error is produced but there is nothing in dir1
edit: do I have to save one by one using the export procedure?
No!No!No!Yes!
04-19-2010, 11:15 AM
I have tried this before posting but did not work..
Nokia-N900-02-8:~# cp -r /home/user/.queen_beecon_dir /home/user/MyDocs/dir1
no error is produced but there is nothing in dir1
edit: do I have to save one by one using the export procedure?
For every widget you have instantiated:
Apply Export/Save/Backup Procedure for Beecon Instance Data (http://talk.maemo.org/showpost.php?p=613152&postcount=62) and store the notes you have saved in a safe place
Save content (Beecons' Images) of these TWO directories:
/home/user/.queen_beecon_dir
/home/user/MyDocs/.images/queen_beecon_dir/
It could be possible that this directory is empty:
/home/user/.queen_beecon_dir
No!No!No!Yes!
04-19-2010, 12:25 PM
...
btw, I cannot get output to word wrap within the snippet mode.
Is this possible for big text outputs? (so output doesn't go outside of the box)...
Sorry, forgot this!!!
I quote mjec (http://talk.maemo.org/member.php?u=31722)
Piping your command through fold might do what you need. For example:
command | fold -s -w 60
Note that I haven't tested this. More info on fold is available from http://unixhelp.ed.ac.uk/CGI/man-cgi?fold. Specifically the -w width may be of interest, depending on the width of your widget.
Not quite automatic word wrap, but this should work on a command-by-command basis.
zimon
04-19-2010, 12:37 PM
About "Internal IP" command. Would it be possible somehow to colorize differently address which has default route (out to Internet)?
# ifconfig;route
bnep0 Link encap:Ethernet HWaddr EC:9B:5B:D3:XX:XX
inet addr:192.168.3.15 Bcast:192.168.3.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2720 errors:0 dropped:0 overruns:0 frame:0
TX packets:2128 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:397510 (388.1 KiB) TX bytes:356735 (348.3 KiB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:60 errors:0 dropped:0 overruns:0 frame:0
TX packets:60 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:3016 (2.9 KiB) TX bytes:3016 (2.9 KiB)
phonet0 Link encap:UNSPEC HWaddr 15-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
UP POINTOPOINT RUNNING NOARP MTU:4000 Metric:1
RX packets:345 errors:0 dropped:0 overruns:0 frame:0
TX packets:160 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:8444 (8.2 KiB) TX bytes:5422 (5.2 KiB)
usb0 Link encap:Ethernet HWaddr C6:B2:5D:9E:YY:YY
inet addr:192.168.2.15 Bcast:192.168.2.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.3.0 * 255.255.255.0 U 0 0 0 bnep0
192.168.2.0 * 255.255.255.0 U 0 0 0 usb0
default bt 0.0.0.0 UG 0 0 0 bnep0
In this case 192.168.3.15
No!No!No!Yes!
04-19-2010, 12:53 PM
About "Internal IP" command. Would it be possible somehow to colorize differently address which has default route (out to Internet)?
# ifconfig;route
bnep0 Link encap:Ethernet HWaddr EC:9B:5B:D3:XX:XX
inet addr:192.168.3.15 Bcast:192.168.3.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2720 errors:0 dropped:0 overruns:0 frame:0
TX packets:2128 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:397510 (388.1 KiB) TX bytes:356735 (348.3 KiB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:60 errors:0 dropped:0 overruns:0 frame:0
TX packets:60 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:3016 (2.9 KiB) TX bytes:3016 (2.9 KiB)
phonet0 Link encap:UNSPEC HWaddr 15-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
UP POINTOPOINT RUNNING NOARP MTU:4000 Metric:1
RX packets:345 errors:0 dropped:0 overruns:0 frame:0
TX packets:160 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:8444 (8.2 KiB) TX bytes:5422 (5.2 KiB)
usb0 Link encap:Ethernet HWaddr C6:B2:5D:9E:YY:YY
inet addr:192.168.2.15 Bcast:192.168.2.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.3.0 * 255.255.255.0 U 0 0 0 bnep0
192.168.2.0 * 255.255.255.0 U 0 0 0 usb0
default bt 0.0.0.0 UG 0 0 0 bnep0
In this case 192.168.3.15
Yes, it is.
As long as you can write logic to parse the output, with awk/sed/etc. and programmatically isolate the ipaddress ... you can stick Pango Markup Language (http://maemo.org/api_refs/5.0/5.0-final/pango/PangoMarkupFormat.html) around it:
echo "<span foreground=\"green\"><big><i>IP_ADDRESS_GOES_HERE</i></big></span>"
And it will be shown with all the bells & wistles you like :cool:
gabby131
04-20-2010, 12:03 PM
hi! how can a NOOB execute this commands and see a text result in queen beecon:
sudo gainroot
cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_cur_freq
thanks
UPDATE: i tried cat "cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_cur_freq" Ι sudo gainroot, butnothing cane out.
please help
BTW: this app is awesome! typing commands is just a tap away!
matts76
04-22-2010, 06:04 AM
hi! how can a NOOB execute this commands and see a text result in queen beecon:
sudo gainroot
cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_cur_freq
thanks
UPDATE: i tried cat "cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_cur_freq" Ι sudo gainroot, butnothing cane out.
please help
BTW: this app is awesome! typing commands is just a tap away!
I see from your post in the oc thread that you've resolved this, could you please post the scripl you used to get it working and also the 805mhz one please:D
Thanks
No!No!No!Yes!
04-22-2010, 06:16 AM
hi! how can a NOOB execute this commands and see a text result in queen beecon:
sudo gainroot
cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_cur_freq
thanks
UPDATE: i tried cat "cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_cur_freq" Ι sudo gainroot, butnothing cane out.
please help
BTW: this app is awesome! typing commands is just a tap away!
Hi, try this:
echo "cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_cur_freq" | sudo gainroot
rolan900d
04-22-2010, 06:47 AM
I keep having issues with this great app.
Please some help...
When I create my own commands I sometimes have an error in de the desktop stating that hildon-desktop needs to shutdown???
I am trying to add a command to start homunculus from root.
In X-terminal it works like this:
root homunculus
can this be done in queen app?
No!No!No!Yes!
04-22-2010, 07:18 AM
I keep having issues with this great app.
Please some help...
When I create my own commands I sometimes have an error in de the desktop stating that hildon-desktop needs to shutdown???
I am trying to add a command to start homunculus from root.
In X-terminal it works like this:
root homunculus
can this be done in queen app?
QBW is not actually meant for running programs with their own GUI as it'll wait till program is closed before returning control to hildon-home (N900 part of desktop processes).
N900 hildon-desktop & hildon-home processes might have some sort of watchdog mechanisms which prevent them from getting stuck if some widgets/status applets don't return them control in a timely fashion.
Try put a "&" character at the end of your command and cross your fingers!
This will force "homunculus" to be run in the background and immediately return control to hildon-* processes
UPDATE 201004221350CET: Sorry, method described above launches program but locks desktop widgets. Do not use it!!!!
rolan900d
04-22-2010, 07:21 AM
Thanks mate, but tried that as well...
I would like to have commands in the desktop to start apps from root...
No!No!No!Yes!
04-22-2010, 07:31 AM
Thanks mate, but tried that as well...
I would like to have commands in the desktop to start apps from root...
Maybe you'd like to try this...
http://www.themaemo.com/howto-launch-a-terminal-app-from-a-shortcut/
And change:
Exec=/usr/bin/osso-xterm top
with:
Exec=root homunculus
Maybe you should use full path for the two commands.
rolan900d
04-22-2010, 07:34 AM
Gonna try that!
Cheers
gabby131
04-23-2010, 06:35 PM
Hi, try this:
echo "cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_cur_freq" | sudo gainroot
thanks, so in every sudo gainroot comand, i'll just type in:
echo "/sudo_command/" ׀ sudo gainroot
working for me, gonna try a reboot widget :D
gabby131
04-23-2010, 07:02 PM
I see from your post in the oc thread that you've resolved this, could you please post the scripl you used to get it working and also the 805mhz one please:D
Thanks
at my post above, in every sudo command (root commands),
type: echo "<command_that_is_root>" І sudo gainroot
for example:
echo "echo 1000000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq" | sudo gainroot
that is for kernel for power users to increase cpu max frequency to 1GHz.
you can also do some sudo commands like reboot, apt-get clean etc, but be carefull and read between the lines of the options.
thanks to No!No!No!Yes! and jakiman
jakiman
04-23-2010, 11:50 PM
I noticed that that piping it to sudo gainroot doesn't work for my friend's N900 for some reason. So I used following instead and it works. (works in my phone also and this is better a it returns no output)
sudo /usr/sbin/kernel-load /home/user/MyDocs/files/overclock_1000
(where overclock_1000 is a copied/modified file of the kernel power setting default profiles)
I noticed that that piping it to sudo gainroot doesn't work for my friend's N900 for some reason. So I used following instead and it works. (works in my phone also and this is better a it returns no output)
sudo /usr/sbin/kernel-load /home/user/MyDocs/files/overclock_1000
(where overclock_1000 is a copied/modified file of the kernel power setting default profiles)
Mine was the same. Doing it this way works fine though.
SallyJane
04-24-2010, 12:06 PM
I'm trying to create a 2G/3G toggle widget.
When I copy and paste the (rather long) 2g3g.sh script from here
http://wiki.maemo.org/Desktop_Command_Execution_Widget_scripts#2G.2F3G
into the Command field of the AddCmd settings, all that is entered is the first line of the script
*!/bin/sh
No!No!No!Yes!
04-24-2010, 05:16 PM
I'm trying to create a 2G/3G toggle widget.
When I copy and paste the (rather long) 2g3g.sh script from here
http://wiki.maemo.org/Desktop_Command_Execution_Widget_scripts#2G.2F3G
into the Command field of the AddCmd settings, all that is entered is the first line of the script
*!/bin/sh
You cannot paste it directly into QBW.
You need to connect to X-Terminal (http://wiki.maemo.org/Terminal) for that and then...:
~ $
cd /home/user
cat > 2g3g.sh
<here you paste the script>
#!/bin/sh
if [ `dbus-send --system --type=method_call --print-reply --dest=com.nokia.phone.net /com/nokia/phone/net Phone.Net.get_selected_radio_access_technology | awk '/b/ {print $2}'` -eq 1 ]; then
dbus-send --system --type=method_call --dest=com.nokia.phone.net /com/nokia/phone/net Phone.Net.set_selected_radio_access_technology byte:2
else
dbus-send --system --type=method_call --dest=com.nokia.phone.net /com/nokia/phone/net Phone.Net.set_selected_radio_access_technology byte:1
fi
<then you press CTRL-D and you get the prompt again>
~ $ chmod 755 2g3g.sh
Now you can "AddCmd": /home/user/2g3g.sh
... and see what happens.
No!No!No!Yes!
04-26-2010, 12:05 PM
:cool: We are now in... Extras Repository eventually!!! :D Yayyyyy!!! :D
No!No!No!Yes!
04-26-2010, 08:12 PM
N900 Mini Monitor... preview. Still testing output formatting and minor issues!
http://i44.tinypic.com/14iei6f.jpg
No!No!No!Yes!
05-05-2010, 04:12 PM
This is in very early stages of development so it doesn't deserve its proper thread...
It's just a proof of concept for handling persistency of configuration data across multiple command executions... Furthermore PR1.2 is supposed to bring changes to counters position so... let's wait a little bit more for final version.
Customize Queen BeeCon Widget (>=v0.1.4) (http://talk.maemo.org/showthread.php?t=45388) to display:
GPRS Compact Data Monitor
The Beecon will show plenty of Data Plan information and statistics, plus changes background according to data plan capacity consumption.
http://i39.tinypic.com/f1mpn6.jpg
http://i43.tinypic.com/14u7uva.jpg
http://i42.tinypic.com/o79k5y.png http://i42.tinypic.com/2ly3ejo.png http://i43.tinypic.com/2wlvlao.png http://i40.tinypic.com/5wkwld.png
[queen-beecon-header]
version=1,000000
checksum=5739874
[queen-beecon-exported-instance]
widgetType=0
operationalStatus=0
hideCanvas=true
snippetBgRGB=0
beecon_lt0_ImgZoom=0
beecon_lt0_BgRGB=2
beecon_lt0_ImgFilename=queen-beecon-syserr.png
beecon_eq0_ImgZoom=0
beecon_eq0_BgRGB=3
beecon_eq0_ImgFilename=gprsmon-green.png
beecon_eq1_ImgZoom=0
beecon_eq1_BgRGB=4
beecon_eq1_ImgFilename=gprsmon-yellow.png
beecon_ge2_ImgZoom=0
beecon_ge2_BgRGB=5
beecon_ge2_ImgFilename=gprsmon-red.png
beecon_idxge2_ImgZoom=0
beecon_idxge2_BgRGB=11
beecon_idxge2_ImgFilename=queen-beecon-index.png
widWidth=175
widHeight=110
instanceTitle=Gprs Compact Data Monitor
instanceCmd=SD=20100414;RP=2M;U=0;D=0;T=600;red=95 ;yellow=90;echo `gconftool-2 --get /system/osso/connectivity/network_type/GPRS/gprs_reset_time` `gconftool-2 --get /system/osso/connectivity/network_type/GPRS/gprs_tx_bytes` `gconftool-2 --get /system/osso/connectivity/network_type/GPRS/gprs_rx_bytes` | awk -v r=$red -v y=$yellow -v U=$U -v D=$D -v T=$T -v SD=$SD -v RP=$RP -v N=$(date -d "`echo $SD | cut -c 5-6` `echo $SD | cut -c 7-8` `echo $SD | cut -c 1-4`" +%s) -v CD=`date "+%Y%m%d"` '{x=0;M=1048576;SDd=substr(SD,7,2);SDm=substr(SD,5 ,2);SDy=substr(SD,1,4);i=substr(RP,1,length(RP)-1);u=$2/M;if(U>0)Uu=($2/M)/U*100;d=$3/M;if(D>0)Dd=($3/M)/D*100;t=($2+$3)/M;if(T>0)Tt=($2+$3)/M/T*100;Xm=nXm(SDd,SDm,SDy,i,RP,N);LR=strftime("%Y%m%d@%H%M",$1);if(Uu>=y||Dd>=y||Tt>=y)x++;if(Uu>=r||Dd>=r||Tt>=r)x++;if(x>2)x=2;printf("SD:%s RP:%3s\\nNR:%s\\nU%4dM(%4dM-%3d%%)\\nD%4dM(%4dM-%3d%%)\\nT%4dM(%4dM-%3d%%)\\nLR:%s\\n",SD,RP,Xm,u,U,Uu,d,D,Dd,t,T,Tt,LR);exit x;}function Dy(d,m,y){m=(m+9)%12;y=int(y-m/10);return 365*y+y/4-y/100+y/400+(m*306+5)/10+(d-1);}function nXm(d,m,y,i,RP,N){split("31,28,31,30,31,30,31,31,30,31,30,31",dm,",");CDd=substr(CD,7,2);CDm=substr(CD,5,2);CDy=substr (CD,1,4);if(index(RP,"D")>0){s=strftime("%Y%m%d",N+86400*(i-1));od=substr(s,7,2);om=substr(s,5,2);oy=substr(s, 1,4);} else {om=(m+i)%12;oy=y+int((m+i)/12);od=d;while(od>dm[om])od--;if (((oy%4==0&&oy%100!=0)||(oy%400==0))&&om==2&&d>28)then od++;}return sprintf("%4d%02d%02d D:%4d",oy,om,od,-1*int(Dy(od,om,oy)-Dy(CDd,CDm,CDy)));}'
cmdImgFilename=gprsmon.png
cmdImgZoom=0
cmdFgRGB=1
cmdVisibilityPosition=0
cmdImgVisibilityPosition=5
cmdJustify=0
cmdFontName=3
cmdFontSize=12
resImgFilename=queen-beecon-resimg.png
resImgZoom=0
resFgRGB=0
resVisibilityPosition=5
resImgVisibilityPosition=5
resJustify=0
resFontName=14
resFontSize=11
updOnStartup=false
updOnClick=true
updOnDesktop=false
delayIndex=4
updNeworkPolicy=0
Change specific parameters (explained inside the image above) at the very beginning of the command line...
No!No!No!Yes!
05-14-2010, 04:15 AM
Current developments are now focused on providing Inter Process Communication among QBW instances and with other Applications.
This feature is under design/development as I would like to release the much complete and customizable IPC mechanism possible, like for example:
Give impulse to a Beecon for content update
Give impulse to a Beecon for layout update
Give other beecons one-shot alternative scripts to execute
Remotely change QBW settings
Retrieve other beecon's last executed commands exit status
Provide to non graphical programs and daemons a suitable interface for displaying information on precustomized beecons on screen (for example Dbus Scripts (http://wiki.maemo.org/DbusScripts) for displaying events on the system/session DBUS like cell IDs changes, available WLANs and the like)
I encourage you to suggest possible enhancements or wishlists in this area.
There are infinite possibilities ... just stay tuned!!!
AlMehdi
05-14-2010, 01:43 PM
I am sure this is written somewhere but can't get it to work.
echo `date +"<span size=\\"15\\"><b>%A, %-Y-%m-%-d - Vecka %W</b></span>"`
What am i doing wrong? Also i am trying to make a button to switch my kernel-setting to use limits. In this case i don't want the "root shell enabled" output. Just want the bg to show. Is it possible to get output not to show?
Is it possible to get output not to show?
Under Command Result Settings choose the position to be hidden, then the output won't show up.
AlMehdi
05-14-2010, 02:20 PM
Under Command Result Settings choose the position to be hidden, then the output won't show up.
Ahh.. great! thanks. ;)
No!No!No!Yes!
05-14-2010, 03:25 PM
I am sure this is written somewhere but can't get it to work.
echo `date +"<span size=\\"15\\"><b>%A, %-Y-%m-%-d - Vecka %W</b></span>"`
What am i doing wrong? Also i am trying to make a button to switch my kernel-setting to use limits. In this case i don't want the "root shell enabled" output. Just want the bg to show. Is it possible to get output not to show?
Ciao,
this will work ...
echo "<span font=\"15\"><b>`date +"%A, %-Y-%m-%-d - Vecka %W"`</b></span>"
BTW: why bothering using Pango Markup Tags when you can stick to native QBW formatting settings from here:
http://i43.tinypic.com/2rrmgea.jpg
No!No!No!Yes!
05-14-2010, 07:20 PM
Current developments are now focused on providing Inter Process Communication among QBW instances and with other Applications.
This feature is under design/development as I would like to release the much complete and customizable IPC mechanism possible, like for example:
Give impulse to a Beecon for content update
Give impulse to a Beecon for layout update
Give other beecons one-shot alternative scripts to execute
Remotely change QBW settings
Retrieve other beecon's last executed commands exit status
Provide to non graphical programs and daemons a suitable interface for displaying information on precustomized beecons on screen (for example Dbus Scripts (http://wiki.maemo.org/DbusScripts) for displaying events on the system/session DBUS like cell IDs changes, available WLANs and the like)
I encourage you to suggest possible enhancements or wishlists in this area.
There are infinite possibilities ... just stay tuned!!!
OK this is Naive Poker Roller: just a Proof of Concept of what will be possible when new IPC mechanism will be implemented:
http://i41.tinypic.com/34f1mpx.jpg
The 5 poker dices and the "ROLL DICES" button are all QBW
Every dice is the graphic instance of a simple random number generator command (From 1 to 6 ... Duh!)
Every dice will be able to roll separately by just touching it.
The "ROLL DICES" button will be able to roll all of the 5 dices at the same time.
It will only be necessary to know the Instance ID of the 5 QBW dices and attach to the button a specially crafted command/script which will basically issue the following five commands:
dbus-send --session --type=method_call --dest=com.nokia.qbw /com/nokia/qbwid0 com.nokia.qbw.update
dbus-send --session --type=method_call --dest=com.nokia.qbw /com/nokia/qbwid1 com.nokia.qbw.update
dbus-send --session --type=method_call --dest=com.nokia.qbw /com/nokia/qbwid2 com.nokia.qbw.update
dbus-send --session --type=method_call --dest=com.nokia.qbw /com/nokia/qbwid3 com.nokia.qbw.update
dbus-send --session --type=method_call --dest=com.nokia.qbw /com/nokia/qbwid4 com.nokia.qbw.update
The id0 id1 id2 id3 id4 QBW Instance IDs will be easily visible/accessible at the top of settings dialog box.
AlMehdi
05-14-2010, 09:49 PM
Ciao,
this will work ...
echo "<span font=\"15\"><b>`date +"%A, %-Y-%m-%-d - Vecka %W"`</b></span>"
BTW: why bothering using Pango Markup Tags when you can stick to native QBW formatting settings from here:
http://i43.tinypic.com/2rrmgea.jpg
I wanted to have one string at one size and another at another size in the same command. So thats why i could change the "global" setting ;)
AlMehdi
05-14-2010, 10:14 PM
Another question.. and this might be a too big one. Right now if i use the date command. It will show the date in english. But i would like it to show in my native language swedish. Is there any easy way to do this? If a script is necessary could someone help me with this as i am not good at scripting? ;)
No!No!No!Yes!
05-16-2010, 05:01 AM
Another question.. and this might be a too big one. Right now if i use the date command. It will show the date in english. But i would like it to show in my native language swedish. Is there any easy way to do this? If a script is necessary could someone help me with this as i am not good at scripting? ;)
See HERE (http://www.linux.com/archive/feed/53781)
Ciao.
BluesLee
05-16-2010, 05:51 AM
@No!No!No!Yes!: hi, i am impressed by your scripting skills.
maybe, you have a quick solution for the following:
the rss feed from http://talk.maemo.org/ gives me unfortunately
the latest threads but what i want is different:
1) i want the the latest n active topics as shown on
http://talk.maemo.org/search.php?do=getdaily and
2) i want the latest m posts for the threads under 1)
can you help out? thanx.
Blues
No!No!No!Yes!
05-16-2010, 03:11 PM
@No!No!No!Yes!: hi, i am impressed by your scripting skills.
maybe, you have a quick solution for the following:
the rss feed from http://talk.maemo.org/ gives me unfortunately
the latest threads but what i want is different:
1) i want the the latest n active topics as shown on
http://talk.maemo.org/search.php?do=getdaily and
2) i want the latest m posts for the threads under 1)
can you help out? thanx.
Blues
Ciao,
could you find out the exact RSS urls for 1) and 2) ?
Once I have the two urls and an idea of what you'd like to obtain as output (meaning structure of the output) I'll try to help with the shell/awk scripting.
Bye.
BluesLee
05-17-2010, 11:46 AM
@No!No!No!Yes!: the point is that there is no rss feed for 1)
and 2) :-)
if you go to http://talk.maemo.org/ an press "more ..." on the
lower right hand side you will be redirected to
http://talk.maemo.org/search.php?do=getdaily
from here i see the latest n=25 active topics. pressing "last page"
on a chosen topic gives me the latest m posts on the topic.
BluesLee
No!No!No!Yes!
05-17-2010, 03:03 PM
@No!No!No!Yes!: the point is that there is no rss feed for 1)
and 2) :-)
if you go to http://talk.maemo.org/ an press "more ..." on the
lower right hand side you will be redirected to
http://talk.maemo.org/search.php?do=getdaily
from here i see the latest n=25 active topics. pressing "last page"
on a chosen topic gives me the latest m posts on the topic.
BluesLee
I'm sorry but it is almost impossible to get something usable out of full HTML pages with CSS markers, javascript code and CSS style driven layout (themes); patterns are quite complex and hardly discernable from garbage formatting tags.
RSS could be a good place to start because of the minimalist formatting and pretty lean source page structure; but the only feed you can retrieve is http://talk.maemo.org/external.php?type=rss2 which is not actually up to date.
I suggest you also try and figure out vbulletin (http://www.vbulletin.com/) capabilities with respect to special URLs crafting for such needs... or maybe ask the forum admins for suggestions.
Further, I still don't get what kind of output you are expecting.
I believe you can try to reformulate your request and apply here (http://talk.maemo.org/forumdisplay.php?f=7) for some Mods help.
Also I'm sorry I've gone far beyond off-topic here ... :D
No!No!No!Yes!
05-18-2010, 02:15 PM
Current developments are now focused on providing Inter Process Communication among QBW instances and with other Applications.
This feature is under design/development as I would like to release the much complete and customizable IPC mechanism possible, like for example:
Give impulse to a Beecon for content update
Give impulse to a Beecon for layout update
Give other beecons one-shot alternative scripts to execute
Remotely change QBW settings
Retrieve other beecon's last executed commands exit status
Provide to non graphical programs and daemons a suitable interface for displaying information on precustomized beecons on screen (for example Dbus Scripts (http://wiki.maemo.org/DbusScripts) for displaying events on the system/session DBUS like cell IDs changes, available WLANs and the like)
I encourage you to suggest possible enhancements or wishlists in this area.
There are infinite possibilities ... just stay tuned!!!
WIKI (http://wiki.maemo.org/Queen_BeeCon_Widget#Interacting_with_QBW_over_DBUS ) is updated with current design and specifications.
Developments are in the brewery.
No!No!No!Yes!
05-19-2010, 05:14 PM
Current developments are now focused on providing Inter Process Communication among QBW instances and with other Applications.
This feature is under design/development as I would like to release the much complete and customizable IPC mechanism possible, like for example:
Give impulse to a Beecon for content update
Give impulse to a Beecon for layout update
Give other beecons one-shot alternative scripts to execute
Remotely change QBW settings
Retrieve other beecon's last executed commands exit status
Provide to non graphical programs and daemons a suitable interface for displaying information on precustomized beecons on screen (for example Dbus Scripts (http://wiki.maemo.org/DbusScripts) for displaying events on the system/session DBUS like cell IDs changes, available WLANs and the like)
I encourage you to suggest possible enhancements or wishlists in this area.
There are infinite possibilities ... just stay tuned!!!
Brief brewery status update:
DBUS Methods & Parameters (http://wiki.maemo.org/Queen_BeeCon_Widget#Interacting_with_QBW_over_DBUS )
WARNING!!! Methods' Parameters are case-sensitive
Implemented (Internal Testing in Scratchbox) dbus_method_monitor string:'on|off'
:Toggle on-screen yellow notification message of incoming DBUS method requests for destination Instance (for debug purposes). Default=OFF
Implemented (Internal Testing in Scratchbox) show
:Give show impulse to a Beecon
Implemented (Internal Testing in Scratchbox) hide
:Give hide impulse to a Beecon
Implemented (Internal Testing in Scratchbox) wakeup
:Give wake up impulse to a Beecon and update content and layout
Implemented (Internal Testing in Scratchbox) sleep
:Give sleep/disabled impulse to a Beecon (Minimize and Disable)
Implemented (Internal Testing in Scratchbox) update_content
:Give impulse to a Beecon for content update
Implemented (Internal Testing in Scratchbox) update_layout
:Give impulse to a Beecon for layout update
Implemented (Internal Testing in Scratchbox) exec string:'<alternative command/script>'
:Give other beecons one-shot alternative scripts/commands to execute and update content accordingly
Implemented (Internal Testing in Scratchbox) set_param_string string:'<param name>' string:'<new value>'
Implemented (Internal Testing in Scratchbox) set_param_int32 string:'<param name>' int32:'<new value>'
Implemented (Internal Testing in Scratchbox) set_param_uint32 string:'<param name>' uint32:'<new value>'
Implemented (Internal Testing in Scratchbox) set_param_double string:'<param name>' double:'<new value>'
Implemented (Internal Testing in Scratchbox) set_param_boolean string:'<param name>' boolean:'<new value>'
:Change and store QBW settings
Implemented (Internal Testing in Scratchbox) get_param string:'<param name>' returning string:'<value>'
:Get QBW settings
Implemented (Internal Testing in Scratchbox) get_exit_status returning int32:'<ExitStatus>'
:Retrieve other beecon's last executed commands exit status
Implemented (Internal Testing in Scratchbox) set_position int32:'<X-coord>' int32:'<Y-coord>'
Implemented (Internal Testing in Scratchbox) get_position returning int32:'<X-coord>' int32:'<Y-coord>'
0.1.7 expected in extras-devel within 2 days or so
Naive Dice Poker tutorial expected within several days (http://talk.maemo.org/showthread.php?p=659054&postcount=111)
qwerty12
05-19-2010, 06:05 PM
I encourage you to suggest possible enhancements or wishlists in this area.
These aren't suggestions as I realise implementing them would take a while (GObject; **** yeah! [Though, props to Vala - implementing properties and D-Bus methods and signals is so simple in Vala that it's almost orgasmic...), but ideas of what can be done with D-Bus if you ever feel like extending your brilliant efforts.
* If your object uses GObject properties for settings etc., you can manipulate them with the standard org.freedesktop.properties (something like that interface) as DBus-GLib will export them. You've already provided get/set_param methods :)
* You can also allow signals to emitted - create them in the GObject Way and define them in your interface XML. You could have one emitted for when a widget is updated.
No!No!No!Yes!
05-20-2010, 02:38 AM
These aren't suggestions as I realise implementing them would take a while (GObject; **** yeah! [Though, props to Vala - implementing properties and D-Bus methods and signals is so simple in Vala that it's almost orgasmic...), but ideas of what can be done with D-Bus if you ever feel like extending your brilliant efforts.
* If your object uses GObject properties for settings etc., you can manipulate them with the standard org.freedesktop.properties (something like that interface) as DBus-GLib will export them. You've already provided get/set_param methods :)
* You can also allow signals to emitted - create them in the GObject Way and define them in your interface XML. You could have one emitted for when a widget is updated.
Appreciate your tips, thanks Faheem.
As I'm pretty very old school as a coder - my last C/C++ lines happened almost 20 years ago :D - it'll take some time to digest you precious contribution :o
However I also have one more issue which is bothering me since QBW was born. I already opened a thread in Development forum but no brave member came up with suggestions.
I hope I have a better chance now that community has gone much more cerebral about Maemo, N900 and Hildon-Desktop.
I repost here my original request as it could move QBW a step further with still one new possibility.
Thanks to new extended IPC mechanism it could be now possible to treat many QBW instances as one intercommunicating entity thus allowing stacked instances (and hot spots over beecons) like in this example:
I believe the cheapest solution could be this one:
http://i41.tinypic.com/nei7hy.png http://i39.tinypic.com/2zf7j8y.png http://i44.tinypic.com/eugi69.png
With "A" being the "status" beecon (with status querying script updating manually, every startup, on desktop change, every 30 or so seconds updated via new QBW IPC features by "B") and "B" being the "toggle" beecon/button (with status toggling script just for manual interaction)
http://i42.tinypic.com/wu4bxi.png http://i44.tinypic.com/11m8ahz.png http://i43.tinypic.com/2u4lw5g.png
ISSUE: Still unable to programmatically control the stacking of different widgets on desktop.
This was the original enigma:
Hi, as per subject I need to programmatically control the overlaying positions of 3 instances of the same multi-instance hildon desktop (hildon-home) widget.
Programming Language is C.
I basically need to send the top most yellow box behind the red and green boxes (the very-very back) while I'm in the top most widget's settings dialog box.
http://i46.tinypic.com/2vcgjye.png
http://i48.tinypic.com/2qukdqh.png
I've already tried:
gtk_window_set_keep_below gtk_window_set_keep_below
HildonWindowStack family functions
No success so far... anyone can help?
Bye!
qwerty12
05-20-2010, 04:16 AM
Appreciate your tips, thanks Faheem.
As I'm pretty very old school as a coder - my last C/C++ lines happened almost 20 years ago :D - it'll take some time to digest you precious contribution :o
Oh, believe me, I'm not a good coder at all. Far from it...
Anyway, for the signals thing (if you think it's a good idea):
http://slexy.org/view/s2JQ0NMQ5R
(Very rushed, sorry)
Results in this when monitoring d-bus:
signal sender=:1.32 -> dest=(null destination) serial=1085 path=/com/nokia/qbw; interface=com.nokia.qbw; member=Updated
int32 0
This was the original enigma:
I - as expected - do not know, sorry. The best I could point you to is hd_home_view_add_applet in hildon-desktop's source but it's a private function and works on ClutterApplets...
No!No!No!Yes!
05-20-2010, 06:47 AM
Oh, believe me, I'm not a good coder at all. Far from it...
Anyway, for the signals thing (if you think it's a good idea):
http://slexy.org/view/s2JQ0NMQ5R
Idea absolutely integrated ... got one more issue, though;
xml changed as I need QBW Instance ID which issued signal:
<signal name="sig_content_updated">
<arg type="s"/>
<arg type="i"/>
</signal>
now:
g_cclosure_marshal_VOID__INT
doesn't seem to be adequate any more but dunno how to create new marshaller in queen-beecon-service.h:
g_cclosure_marshal_VOID__STRING__INT
I tried
queen_beecon_signals[SIG_CONTENT_UPDATED] = g_signal_new("sig_content_updated",
QUEEN_BEECON_TYPE,
G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (QueenBeeconClass, queen_beecon_dbus_sig_content_updated),
NULL, NULL,
dbus_glib_marshal_queen_beecon_BOOLEAN__STRING_INT _POINTER, //g_cclosure_marshal_VOID__INT,
G_TYPE_NONE, 2,
G_TYPE_STRING,
G_TYPE_INT);
but I still keep not receiving any signal on the bus.
qwerty12
05-20-2010, 08:38 AM
Idea absolutely integrated ... got one more issue, though;
xml changed as I need QBW Instance ID which issued signal:
<signal name="sig_content_updated">
<arg type="s"/>
<arg type="i"/>
</signal>
now:
g_cclosure_marshal_VOID__INT
doesn't seem to be adequate any more but dunno how to create new marshaller in queen-beecon-service.h:
g_cclosure_marshal_VOID__STRING__INT
I tried
queen_beecon_signals[SIG_CONTENT_UPDATED] = g_signal_new("sig_content_updated",
QUEEN_BEECON_TYPE,
G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (QueenBeeconClass, queen_beecon_dbus_sig_content_updated),
NULL, NULL,
dbus_glib_marshal_queen_beecon_BOOLEAN__STRING_INT _POINTER, //g_cclosure_marshal_VOID__INT,
G_TYPE_NONE, 2,
G_TYPE_STRING,
G_TYPE_INT);
but I still keep not receiving any signal on the bus.
I believe you need to generate the marshaller yourself. This is how I do it in headset-control:
AC_PATH_PROG([GLIBGENMARSHAL], [`$PKG_CONFIG glib-2.0 --variable=glib_genmarshal`])
AC_SUBST([GLIBGENMARSHAL])
INCLUDES = -DG_LOG_DOMAIN=\"@PACKAGE@\"
BUILT_SOURCES = hal-marshal.h hal-marshal.c headset-control-service.h
noinst_HEADERS = $(BUILT_SOURCES)
EXTRA_DIST = hal-marshal.list headset-control-service.xml
CLEANFILES = $(BUILT_SOURCES)
hal-marshal.h: hal-marshal.list
$(GLIBGENMARSHAL) --prefix=hal_marshal $< --header > $@
hal-marshal.c: hal-marshal.list hal-marshal.h
echo '#include "hal-marshal.h"' > $@
$(GLIBGENMARSHAL) --prefix=hal_marshal $< --body >> $@
headset-control-service.h: headset-control-service.xml
$(DBUSBINDINGTOOL) --mode=glib-server --prefix=headset_control $< --output=$@
bin_PROGRAMS = headset-control
headset_control_CFLAGS = $(HEADSET_CONTROL_CFLAGS)
headset_control_LDADD = $(HEADSET_CONTROL_LIBS)
headset_control_SOURCES = hal-marshal.h hal-marshal.c headset-control-obj.h headset-control-obj.c headset-controld.c
VOID:STRING,STRING
No!No!No!Yes!
05-20-2010, 04:30 PM
Brewery update:
DBUS Methods & Parameters (http://wiki.maemo.org/Queen_BeeCon_Widget#DBUS_Methods_.26_Parameters)
QBW implements the following list of methods to trigger specific actions:
Implemented (Internal Testing in Scratchbox) dbus_method_monitor Toggle on-screen yellow notification message of incoming DBUS method requests for destination Instance (for debug purposes)
Implemented (Internal Testing in Scratchbox) show Give show impulse to a QBW
Implemented (Internal Testing in Scratchbox) hide Give hide impulse to a QBW
Implemented (Internal Testing in Scratchbox) wakeup Give wake up impulse to a QBW and update content and layout
Implemented (Internal Testing in Scratchbox) sleep Give sleep/disable/minimize impulse to a QBW
Implemented (Internal Testing in Scratchbox) update_content Give impulse to a QBW for content update
Implemented (Internal Testing in Scratchbox) update_layout Give impulse to a QBW QBW for layout update
Implemented (Internal Testing in Scratchbox) exec Give other QBWs one-shot alternative scripts/commands to execute and update content accordingly
Implemented (Internal Testing in Scratchbox) set_param_string Change and store QBW settings parameter of type string
Implemented (Internal Testing in Scratchbox) set_param_int32 Change and store QBW settings parameter of type int
Implemented (Internal Testing in Scratchbox) set_param_uint32 Change and store QBW settings parameter of type uint
Implemented (Internal Testing in Scratchbox) set_param_double Change and store QBW settings parameter of type double
Implemented (Internal Testing in Scratchbox) set_param_boolean Change and store QBW settings parameter of type boolean
Implemented (Internal Testing in Scratchbox) get_param Get QBW settings parameter
Implemented (Internal Testing in Scratchbox) set_position Set QBW position on desktop
Implemented (Internal Testing in Scratchbox) get_position Get QBW position on desktop
Implemented (Internal Testing in Scratchbox) get_exit_status Retrieve other beecon's last executed commands exit status
DBUS Signals & Parameters (http://wiki.maemo.org/Queen_BeeCon_Widget#DBUS_Signals_.26_Parameters)
QBW issues the following list of signals to notify the "world" about predefined conditions and events.
Implemented (Internal Testing in Scratchbox) signal_content_update Issued when QBW Instance executes and return and exit status
@qwerty12 ... weeeeewwww!!! fortunately no need for extra marshalling as it turned out Instance ID reaches the DBUS PATH...
[sbox-FREMANTLE_X86: ~] > run-standalone.sh dbus-monitor "interface='oh.no.more.qbw'"
signal sender=org.freedesktop.DBus -> dest=:1.29 serial=2 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameAcquired
string ":1.29"
signal sender=:1.13 -> dest=(null destination) serial=44 path=/oh/no/more/qbwid2; interface=oh.no.more.qbw; member=sig_content_updated
string ""
int32 0
No!No!No!Yes!
05-20-2010, 05:52 PM
Here's a Demo Video of DBUS interaction for QBW
http://i50.tinypic.com/10xy06q.jpg (http://tinypic.com/r/1zzglsz/6)
mrl0n3ly714
05-20-2010, 11:20 PM
is there a way we can save the icons, command and size font all together...?
mrl0n3ly714
05-21-2010, 12:42 AM
it would be kkool if you can add one more feature in it, the preview showing a size ,colors,....base on the config so you dont have to save and back out and save and back out to edit the config, would save time and would be nice see the design.
No!No!No!Yes!
05-21-2010, 01:48 AM
is there a way we can save the icons, command and size font all together...?
All supported Backup/Restore/Save/Load features are in the WIKI HOW TO (http://wiki.maemo.org/Queen_BeeCon_Widget#HOW-TOs)
I'm mainly focusing in developing Core functionalities right now.
Service functionalities will maybe come once release is stable and tested.
No!No!No!Yes!
05-21-2010, 02:08 AM
it would be kkool if you can add one more feature in it, the preview showing a size ,colors,....base on the config so you dont have to save and back out and save and back out to edit the config, would save time and would be nice see the design.
Hildon Widgets do have several graphical/functional constraints ... it would be very effort consuming (and code-fattener) to develop an internal preview/miniature of the final widget look & feel.
I personally spend far much more time in developing the scripts/command driving the Beecons than customizing its graphical aspect.
It always turns out that you just need to change 3/4 parameters and ignore the other ones.
5mins average once you get acquainted to it.
Let me say that effort/benefit ratio makes it not worthy to spend time in this direction as, almost always and on the average, made 100 the time spent on the whole Beecon process creation, 70 goes to scripting, 25 to photoshopping backgrounds, icons & images, 5 to assemble final QBW settings.
Bye.
No!No!No!Yes!
05-21-2010, 06:15 PM
Only for the Braves...
Here's a PR1.1.1 compatible version of the 0.1.7 package
Install it at your own risk ... it is not even in extras-devel; so please just take your time to report BUGS or misbehaviours.
[MAXIMUM WARNING APPLIES]
Have a look also at the specific DBUS section of the WIKI (http://wiki.maemo.org/Queen_BeeCon_Widget#Interaction_with_QBW_over_DBUS ) for info on this new major update.
queen-beecon_0.1.7-PR1.1.1_armel.deb (www.sussurri.net/qbw/queen-beecon_0.1.7-PR1.1.1_armel.deb)
queen-beecon_0.1.7-PR1.1.1.tar.gz (www.sussurri.net/qbw/queen-beecon_0.1.7-PR1.1.1.tar.gz)
tissot
05-21-2010, 06:28 PM
Only for the Braves...
Here's a PR1.1.1 compatible version of the 0.1.7 package
Install it at your own risk ... it is not even in extras-devel; so please just take your time to report BUGS or misbehaviours.
[MAXIMUM WARNING APPLIES]
queen-beecon_0.1.7-PR1.1.1_armel.deb (www.sussurri.net/qbw/queen-beecon_0.1.7-PR1.1.1_armel.deb)
queen-beecon_0.1.7-PR1.1.1.tar.gz (www.sussurri.net/qbw/queen-beecon_0.1.7-PR1.1.1.tar.gz)
Nice. Will be trying it out today.
No!No!No!Yes!
05-21-2010, 07:00 PM
Nice. Will be trying it out today.
Have a look also at the specific DBUS section of the WIKI (http://wiki.maemo.org/Queen_BeeCon_Widget#Interaction_with_QBW_over_DBUS ) for info on this new major update. Full changelog is in the WIKI (http://wiki.maemo.org/Queen_BeeCon_Widget#Change_Log)
qwerty12
05-21-2010, 07:03 PM
Only for the Braves...
Here's a PR1.1.1 compatible version of the 0.1.7 package
Install it at your own risk ... it is not even in extras-devel; so please just take your time to report BUGS or misbehaviours.
[MAXIMUM WARNING APPLIES]
Have a look also at the specific DBUS section of the WIKI (http://wiki.maemo.org/Queen_BeeCon_Widget#Interaction_with_QBW_over_DBUS ) for info on this new major update.
queen-beecon_0.1.7-PR1.1.1_armel.deb (www.sussurri.net/qbw/queen-beecon_0.1.7-PR1.1.1_armel.deb)
queen-beecon_0.1.7-PR1.1.1.tar.gz (www.sussurri.net/qbw/queen-beecon_0.1.7-PR1.1.1.tar.gz)
Feature request (no, not a D-Bus-related one this time :p): http://wiki.maemo.org/Documentation/Maemo_5_Developer_Guide/Generic_Platform_Components/Using_Backup_Application#Custom_back-up_locations
I suppose this is a feature request -
If possible, please could someone create a 'BeeCon' to display random images from Flickr's 'Most Interesting' pages? That would be great!
Best wishes
Tom
No!No!No!Yes!
05-21-2010, 07:30 PM
I suppose this is a feature request -
If possible, please could someone create a 'BeeCon' to display random images from Flickr's 'Most Interesting' pages? That would be great!
Best wishes
Tom
From here http://www.flickr.com/explore/interesting/7days/ (http://www.flickr.com/explore/interesting/7days/) or any other link?
From here http://www.flickr.com/explore/interesting/7days/ (http://www.flickr.com/explore/interesting/7days/) or any other link?
Hi,
Yes I think so - I wanted it to work like the 'Yahoo' desktop widget which I think must draw from the same pool (not sure). Not sure how you would get it to change images though, time delays between changes etc etc.
I wish I could try, but I have absolutely no knowledge of commands or Linux and this widget, although having great potential, it a bit too complex for me to configure without support!
Best wishes
Tom
qwerty12
05-21-2010, 07:59 PM
Actually, I do have a bug, too: The choice of Nokia Sans fonts are invalid as it's "Nokia Sans" and not "Nokia, Sans"; and, indeed, when selecting Nokia Sans, it looks like plain Sans.
I'd like to place in a request for replacing that font dialog with http://wiki.maemo.org/Hildon-Extras#HeFontDialog because I also like the Droid Fonts but I'm biased...
No!No!No!Yes!
05-22-2010, 03:25 AM
Hi,
Yes I think so - I wanted it to work like the 'Yahoo' desktop widget which I think must draw from the same pool (not sure). Not sure how you would get it to change images though, time delays between changes etc etc.
I wish I could try, but I have absolutely no knowledge of commands or Linux and this widget, although having great potential, it a bit too complex for me to configure without support!
Best wishes
Tom
Ok, request is on stack (http://wiki.maemo.org/Queen_BeeCon_Widget#Feature_Requests) ...
No!No!No!Yes!
05-22-2010, 03:27 AM
Actually, I do have a bug, too: The choice of Nokia Sans fonts are invalid as it's "Nokia Sans" and not "Nokia, Sans" and, indeed, when selecting Nokia Sans, it looks like plain Sans.
I'd like to place in a request for replacing that font dialog with http://wiki.maemo.org/Hildon-Extras#HeFontDialog because I also like the Droid Fonts but I'm biased...
ACK....... (http://wiki.maemo.org/Queen_BeeCon_Widget#Bug_Tracker.2FReports) Ok, request is on stack (http://wiki.maemo.org/Queen_BeeCon_Widget#Feature_Requests) ...
No!No!No!Yes!
05-22-2010, 03:30 AM
Feature request (no, not a D-Bus-related one this time :p): http://wiki.maemo.org/Documentation/Maemo_5_Developer_Guide/Generic_Platform_Components/Using_Backup_Application#Custom_back-up_locations
Ok, request is on stack (http://wiki.maemo.org/Queen_BeeCon_Widget#Feature_Requests) ...
No!No!No!Yes!
05-22-2010, 06:05 AM
I suppose this is a feature request -
If possible, please could someone create a 'BeeCon' to display random images from Flickr's 'Most Interesting' pages? That would be great!
Best wishes
Tom
From here http://www.flickr.com/explore/interesting/7days/ (http://www.flickr.com/explore/interesting/7days/) or any other link?
Hi,
Yes I think so - I wanted it to work like the 'Yahoo' desktop widget which I think must draw from the same pool (not sure). Not sure how you would get it to change images though, time delays between changes etc etc.
I wish I could try, but I have absolutely no knowledge of commands or Linux and this widget, although having great potential, it a bit too complex for me to configure without support!
Best wishes
Tom
Customize Queen BeeCon Widget (>=v0.1.4) (http://talk.maemo.org/showthread.php?t=45388) to display:
Random images from Flickr's 'Most Interesting' pages
The Beecon will display random photos/images from http://m.flickr.com. Change update policies as per your taste.
http://i48.tinypic.com/20fwyea.png
http://i47.tinypic.com/ncxbit.png
http://i48.tinypic.com/mcri2x.png
WARNING!!! wget package must be installed!
Updates on click or every 30mins. See if you like it!!!
Import this as per HERE (http://talk.maemo.org/showthread.php?p=572028#post572028)
[queen-beecon-header]
version=1,000000
checksum=1478530
[queen-beecon-exported-instance]
widgetType=1
widgetVisible=1
operationalStatus=0
hideCanvas=true
snippetBgRGB=0
beecon_lt0_ImgZoom=0
beecon_lt0_BgRGB=2
beecon_lt0_ImgFilename=queen-beecon-syserr.png
beecon_eq0_ImgZoom=12
beecon_eq0_BgRGB=3
beecon_eq0_ImgFilename=queen-beecon-appok.png
beecon_eq1_ImgZoom=0
beecon_eq1_BgRGB=4
beecon_eq1_ImgFilename=queen-beecon-appwrn.png
beecon_ge2_ImgZoom=0
beecon_ge2_BgRGB=5
beecon_ge2_ImgFilename=queen-beecon-apperr.png
beecon_idxge2_ImgZoom=0
beecon_idxge2_BgRGB=11
beecon_idxge2_ImgFilename=queen-beecon-index.png
widWidth=302
widHeight=205
instanceTitle=flickr
instanceCmd=wget -t 1 -T 5 -q -U "Mozilla/5.0 (X11; U; Linux armv7l; en-US; rv:1.9.2a1pre) Gecko/20091127 Firefox/3.5 Maemo Browser 1.5.6 RX-51 N900" -O - "http://m.flickr.com"|awk 'BEGIN{FS="[\\"]+"}/<img src=.+alt="">/{r=system("wget -t 1 -T 5 -q -O /tmp/qbwflickr0.jpg \\""$2"\\"");}END{exit r}'
cmdImgFilename=queen-beecon.png
cmdImgZoom=0
cmdFgRGB=1
cmdVisibilityPosition=0
cmdImgVisibilityPosition=0
cmdJustify=0
cmdFontName=3
cmdFontSize=12
resImgFilename=/tmp/qbwflickr0.jpg
resImgZoom=13
resFgRGB=1
resVisibilityPosition=0
resImgVisibilityPosition=5
resJustify=0
resFontName=2
resFontSize=12
updOnStartup=false
updOnClick=true
updOnDesktop=false
delayIndex=4
updNeworkPolicy=0
P.S. for those of you wondering about QBW Naive Dice Poker (http://talk.maemo.org/showthread.php?p=659054&postcount=111) ... it's working like charm with new 0.1.7 DBUS features
http://i48.tinypic.com/23kuhi9.gif
No!No!No!Yes!
05-22-2010, 08:29 AM
Actually, I do have a bug, too: The choice of Nokia Sans fonts are invalid as it's "Nokia Sans" and not "Nokia, Sans" and, indeed, when selecting Nokia Sans, it looks like plain Sans.
I'd like to place in a request for replacing that font dialog with http://wiki.maemo.org/Hildon-Extras#HeFontDialog because I also like the Droid Fonts but I'm biased...
Have you tried Pango Markup Language (http://maemo.org/api_refs/5.0/5.0-final/pango/PangoMarkupFormat.html) as quickfix???
rolan900d
05-22-2010, 08:48 AM
How to save predefined queen widgets in case of format?
No!No!No!Yes!
05-22-2010, 12:53 PM
How to save predefined queen widgets in case of format?
While proper backup/restore developments (http://talk.maemo.org/showthread.php?p=669974#post669974) are in the brewery you can have a look HERE (http://wiki.maemo.org/Queen_BeeCon_Widget#HOW-TOs)
Hi,
I seem to be having a bit of a problem getting the Ebay Snippet to work correctly. I followed your instructions (very clear - many thanks) but I cannot seem to get a correct output, i.e. I edit the ebay item number and click "Save and Run" and I get the item title and picture, but no timer.
Having read your recent message about the Flickr snippet I installed "Wget" application but this doesn;t appear to have done the trick.
What might be useful is a suggested 'default' for layout, font etc to optimise the appearance of the widget maybe?
Many thanks
Tom
Customize Queen BeeCon Widget (>=v0.1.4) (http://talk.maemo.org/showthread.php?t=45388) to display:
Random images from Flickr's 'Most Interesting' pages
The Beecon will display random photos/images from http://m.flickr.com. Change update policies as per your taste.
http://i48.tinypic.com/20fwyea.png
http://i47.tinypic.com/ncxbit.png
http://i48.tinypic.com/mcri2x.png
WARNING!!! wget package must be installed!
Updates on click or every 30mins. See if you like it!!!
Import this as per HERE (http://talk.maemo.org/showthread.php?p=572028#post572028)
[queen-beecon-header]
version=1,000000
checksum=1478530
[queen-beecon-exported-instance]
widgetType=1
widgetVisible=1
operationalStatus=0
hideCanvas=true
snippetBgRGB=0
beecon_lt0_ImgZoom=0
beecon_lt0_BgRGB=2
beecon_lt0_ImgFilename=queen-beecon-syserr.png
beecon_eq0_ImgZoom=12
beecon_eq0_BgRGB=3
beecon_eq0_ImgFilename=queen-beecon-appok.png
beecon_eq1_ImgZoom=0
beecon_eq1_BgRGB=4
beecon_eq1_ImgFilename=queen-beecon-appwrn.png
beecon_ge2_ImgZoom=0
beecon_ge2_BgRGB=5
beecon_ge2_ImgFilename=queen-beecon-apperr.png
beecon_idxge2_ImgZoom=0
beecon_idxge2_BgRGB=11
beecon_idxge2_ImgFilename=queen-beecon-index.png
widWidth=302
widHeight=205
instanceTitle=flickr
instanceCmd=wget -t 1 -T 5 -q -U "Mozilla/5.0 (X11; U; Linux armv7l; en-US; rv:1.9.2a1pre) Gecko/20091127 Firefox/3.5 Maemo Browser 1.5.6 RX-51 N900" -O - "http://m.flickr.com"|awk 'BEGIN{FS="[\\"]+"}/<img src=.+alt="">/{r=system("wget -t 1 -T 5 -q -O /tmp/qbwflickr0.jpg \\""$2"\\"");}END{exit r}'
cmdImgFilename=queen-beecon.png
cmdImgZoom=0
cmdFgRGB=1
cmdVisibilityPosition=0
cmdImgVisibilityPosition=0
cmdJustify=0
cmdFontName=3
cmdFontSize=12
resImgFilename=/tmp/qbwflickr0.jpg
resImgZoom=13
resFgRGB=1
resVisibilityPosition=0
resImgVisibilityPosition=5
resJustify=0
resFontName=2
resFontSize=12
updOnStartup=false
updOnClick=true
updOnDesktop=false
delayIndex=4
updNeworkPolicy=0
P.S. for those of you wondering about QBW Naive Dice Poker (http://talk.maemo.org/showthread.php?p=659054&postcount=111) ... it's working like charm with new 0.1.7 DBUS features
http://i48.tinypic.com/23kuhi9.gif
Hi - please is it possible to alter the script to point the snippet to here:
http://m.flickr.com/#/explore/interesting/
Think the other page is static - my fault, sorry!
No!No!No!Yes!
05-22-2010, 02:44 PM
Hi - please is it possible to alter the script to point the snippet to here:
http://m.flickr.com/#/explore/interesting/
Think the other page is static - my fault, sorry!
Uhm ... other page ain't static ... however fetching images from http://m.flickr.com/explore/interesting/ is no big deal ... just need some time to script't
gkuenning
05-22-2010, 03:12 PM
My widgets aren't auto-updating. I removed .queen_beecon, restarted the desktop, and recreated the MLB example (see following post for some improvements). It works fine when I click it, but doesn't update every 5 minutes. I did double-check the settings, and it's set correctly. Grepping .queen_beecon shows delayIndex=3.
Any thoughts as to why the timers aren't firing? If it's relevant, it was working earlier and then stopped; the clean restart was an attempt to get it to work properly.
gkuenning
05-22-2010, 03:21 PM
So MLBeeCon is truly wonderful; thanks, No!No!No!Yes!
But I follow more than one team. And of course some people care about seeing certain teams lose, e.g. during a pennant race. So here's a somewhat fancier script. Drop it someplace convenient (I put it in /home/user/bin) and make it executable (chmod +x script-name). Then invoke it as:
/home/user/bin/mlbeecon CWS CWC -STL
which says you want to cheer for the White Sox, the Cubs, and whoever is playing Saint Louis.
The icon smiles if more of your teams win than lose, frowns if losers outnumber winners, and is smug if everything is balanced.
#!/bin/bash
#
# Fetch MLB scores and colorize them for use with Queen BeeCon.
#
USAGE='Usage: mlbeecon [team] [team] [-team] ...'
#
# Each team is an abbreviation used on the m.mlb.com site. A team preceded
# by a minus sign is a "team you love to hate;" the icon becomes happy if
# that team loses. The icon is happy if more teams win than lose, angry
# if losing dominates, and smug if the losers equal the winners. (Ties
# aren't considered in this calculation.)
# Since ESPN thinks the world runs on Eastern time, use that for the
# date/time display at the top. That makes it easier to read the
# schedule. Change this field to $TZ if you prefer using your own
# timezone.
DISPLAYZONE=US/Eastern
#DISPLAYZONE=$TZ
# When we fetch the scores, we use a time zone a few hours to the
# west; this ensures that games that are in progress after midnight
# EST will still be shown; the next day's schedule won't come up until
# about 6 AM EST.
GRABZONE=US/Hawaii
echo "<span foreground=\"green\"><big><i>[`TZ=$DISPLAYZONE date '+%m/%d/%Y %H:%M'`]</i></big></span>"
wget -t 1 -T 10 -q -O - http://m.mlb.com/scores/`TZ=$GRABZONE date +%Y%m%d`/ \
| awk 'BEGIN \
{
ntm = split("'"$*"'", tm)
w = 0
l = 0
t = 0
inScoreboard = 0
inGame = 0
}
/<div.*id="scoreboard_module".*>/ \
{
inScoreboard = 1
next
}
/<a href/ && inScoreboard \
{
split($0, linkLine, ">")
inGame = 1
next
}
/<\/div/ && inScoreboard \
{
inScoreboard = 0
inGame = 0
next
}
inGame \
{
if ($1 == "-" || $1 == "vs.")
{
vsLine = $1
next
}
inGame = 0
split(linkLine[2], visitor)
home = $1
ist = 0
for (i = 1; i <= ntm; i++)
{
ct = tm[i]
bad = 0
if (ct ~ /^-/)
{
bad = 1
ct = substr(ct, 2)
}
if (visitor[1] == ct || home == ct)
{
ist = 1
break
}
}
if (!ist)
{
print linkLine[2], vsLine, $0
next
}
print "<span foreground=\"cyan\"><b><big>" linkLine[2], \
vsLine, $0 "</big></b></span>"
if (vsLine == "vs." || visitor[2] == $2)
t++
else if ((visitor[1] == ct && visitor[2] > $2) \
|| ($1 == ct && $2 > visitor[2]))
{
w += !bad
l += bad
}
else
{
w += bad
l += !bad
}
}
END \
{
if (w + l + t == 0)
{
print "No\nMatch!\n"
exit 1
}
else if (w > l)
exit 0
else if (w < l)
exit 2
else
exit 1
}'
exit
# Old code
wget -t 1 -T 10 -q -O - http://m.mlb.com/scores/`TZ=$GRABZONE date +%Y%m%d`/ \
| awk 'BEGIN \
{
ntm = split("'"$*"'", tm)
w = 0
l = 0
t = 0
}
/<td>.+<\/td>/ \
{
s = gensub(/<[^>]*>/, "", "g")
s = gensub(/[\t ]+/, " ", "g", s)
split(s, a)
ist = 0
for (i = 1; i <= ntm; i++)
{
ct = tm[i]
bad = 0
if (ct ~ /^-/)
{
bad = 1
ct = substr(ct, 2)
}
if (a[1] == ct || a[3] == ct || a[4] == ct)
{
ist = 1
break
}
}
if (!ist)
{
print s
next
}
print "<span foreground=\"cyan\"><b><big>" s "</big></b></span>"
if (a[2] == "vs." || a[5] == a[2])
t++
else if ((a[4] == ct && a[5] > a[2]) \
|| (a[1] == ct && a[2] > a[5]))
{
w += !bad
l += bad
}
else
{
w += bad
l += !bad
}
}
END \
{
if (w + l + t == 0)
{
print "No\nMatch!\n"
exit 1
}
else if (w > l)
exit 0
else if (w < l)
exit 2
else
exit 1
}'
EDIT 19-Aug-2010: one of the problems with screen scraping is that it breaks when the Web site changes its layout. ESPN just did that; this edit contains a rewritten version that works with the new ESPN site design.
rolan900d
05-22-2010, 03:39 PM
While proper backup/restore developments (http://talk.maemo.org/showthread.php?p=669974#post669974) are in the brewery you can have a look HERE (http://wiki.maemo.org/Queen_BeeCon_Widget#HOW-TOs)
That made sense!
Cheers
No!No!No!Yes!
05-22-2010, 03:51 PM
So MLBeeCon is truly wonderful; thanks, No!No!No!Yes!
But I follow more than one team. And of course some people care about seeing certain teams lose, e.g. during a pennant race. So here's a somewhat fancier script. Drop it someplace convenient (I put it in /home/user/bin) and make it executable (chmod +x script-name). Then invoke it as:
/home/user/bin/mlbeecon CWS CWC -STL
which says you want to cheer for the White Sox, the Cubs, and whoever is playing Saint Louis.
The icon smiles if more of your teams win than lose, frowns if losers outnumber winners, and is smug if everything is balanced.
#!/bin/bash
#
# Fetch MLB scores and colorize them for use with Queen BeeCon.
#
USAGE='Usage: mlbeecon [team] [team] [-team] ...'
#
# Each team is an abbreviation used on the m.mlb.com site. A team preceded
# by a minus sign is a "team you love to hate;" the icon becomes happy if
# that team loses. The icon is happy if more teams win than lose, angry
# if losing dominates, and smug if the losers equal the winners. (Ties
# aren't considered in thois calculation.)
echo "<span foreground=\"green\"><big><i>[`date '+%m/%d/%Y %H:%M'`]</i></big></span>"
wget -t 1 -T 10 -q -O - http://m.mlb.com/scores/`date +%Y%m%d`/ \
| awk 'BEGIN \
{
ntm = split("'"$*"'", tm)
w = 0
l = 0
t = 0
}
/<td>.+<\/td>/ \
{
s = gensub(/<[^>]*>/, "", "g")
s = gensub(/[\t ]+/, " ", "g", s)
split(s, a)
ist = 0
for (i = 1; i <= ntm; i++)
{
ct = tm[i]
bad = 0
if (ct ~ /^-/)
{
bad = 1
ct = substr(ct, 2)
}
if (a[1] == ct || a[3] == ct || a[4] == ct)
{
ist = 1
break
}
}
if (!ist)
{
print s
next
}
print "<span foreground=\"cyan\"><b><big>" s "</big></b></span>"
if (a[2] == "vs." || a[5] == a[2])
t++
else if ((a[4] == tm[i] && a[5] > a[2]) \
|| (a[1] == tm[i] && a[2] > a[5]))
{
w += !bad
l += bad
}
else
{
w += bad
l += !bad
}
}
END \
{
if (w + l + t == 0)
{
print "No\nMatch!\n"
exit 1
}
else if (w > l)
exit 0
else if (w < l)
exit 2
else
exit 1
}'
YOU ARE COMMUNITY!!! MAN! :D:D
I've stuck your contribution to relevant section of the WIKI (http://wiki.maemo.org/Queen_BeeCon_Widget#MLB_Major_League_Baseball_Matc hes_of_the_Day_.28.2Btutorial.2Fwalkthrough.29) ... feel free to amend it at your convenience!!!
No!No!No!Yes!
05-22-2010, 03:54 PM
My widgets aren't auto-updating. I removed .queen_beecon, restarted the desktop, and recreated the MLB example (see following post for some improvements). It works fine when I click it, but doesn't update every 5 minutes. I did double-check the settings, and it's set correctly. Grepping .queen_beecon shows delayIndex=3.
Any thoughts as to why the timers aren't firing? If it's relevant, it was working earlier and then stopped; the clean restart was an attempt to get it to work properly.
Uhm... have you upgraded any QBW release lately?
gkuenning
05-22-2010, 04:12 PM
Uhm... have you upgraded any QBW release lately?
First, thanks for posting my script. I forgot to mention that I'd appreciate you doing that.
Based on timestamps in /var/lib/dpkg/info, it looks like I did an update about two days ago, at 08:55 Zulu on 2010-May-20. But the md5sums are from Mar 16, which I find odd. Surely you've done a release since then? How do I find out the version I'm running?
No!No!No!Yes!
05-22-2010, 05:13 PM
Hi - please is it possible to alter the script to point the snippet to here:
http://m.flickr.com/#/explore/interesting/
Think the other page is static - my fault, sorry!
There you go ... :D:cool: (http://talk.maemo.org/showthread.php?p=670854&postcount=2)
No!No!No!Yes!
05-22-2010, 05:15 PM
First, thanks for posting my script. I forgot to mention that I'd appreciate you doing that.
Based on timestamps in /var/lib/dpkg/info, it looks like I did an update about two days ago, at 08:55 Zulu on 2010-May-20. But the md5sums are from Mar 16, which I find odd. Surely you've done a release since then? How do I find out the version I'm running?
Application Manager -> Uninstall ... Look in that list.
There you go ... :D:cool: (http://talk.maemo.org/showthread.php?p=670854&postcount=2)
FABULOUS!!!! Just so much better than the Ovi Store offering!
Now I just need to get the Ebay one working ok - any ideas? ;-)
Ps do you have a donate button or something?
No!No!No!Yes!
05-22-2010, 05:50 PM
For people with TIMER issues ... could you please provide QBW Release you are using and any other info you believe pertinent like for example:
It was working and now it doesn't
I did this and that and now is not working
I installed <xxx>, <yyy>, ... and now ...
...
No!No!No!Yes!
05-22-2010, 06:16 PM
Now I just need to get the Ebay one working ok - any ideas? ;-)
Please elaborate further...
I seem to be having a bit of a problem getting the Ebay Snippet to work correctly. I followed your instructions (very clear - many thanks) but I cannot seem to get a correct output, i.e. I edit the ebay item number and click "Save and Run" and I get the item title and picture, but no timer.
Is it just a timer issue you have here? What kind of output do you get?
Having read your recent message about the Flickr snippet I installed "Wget" application but this doesn;t appear to have done the trick.
wget is not supposed to cause timer issues...anything else to report here?
What might be useful is a suggested 'default' for layout, font etc to optimise the appearance of the widget maybe?
Please elaborate further...
Ps do you have a donate button or something?
Uhm ... well ... don't ask twice!!!! :D:o:cool:
In response to the problems with the Ebay beecon / snippet -
I can implement (i.e. add the code and run) the snippet but the output I get in the widget does not match what display fields you have in the example screenshot you posted with the instructions on how to build it. What I see is the title of the listing and then underneath where the field says "ID:" I also get a repeat of the title, where I expect to see the item number. Underneath this, I expect to see the time left for bidding etc but I don't see any of that.
So I don't think this is a 'timer' issue as you understand it - I am just not returning the field data in the widget that I expect to.
My reference to 'optifying' the layout (if that's even a word?) is because when the Ebay widget appears, the listing title dissappears from the right of the page, meaning the length is too short in the default value methinks.
I hope that makes better sense.
gkuenning
05-22-2010, 07:13 PM
Application Manager -> Uninstall ... Look in that list.
Heh. Never occurred to me to look in an UNinstaller to find out the installed version! But of course it's the perfect place.
I've got 0.1.4. Looks like that's the latest, no?
No!No!No!Yes!
05-22-2010, 07:23 PM
In response to the problems with the Ebay beecon / snippet -
I can implement (i.e. add the code and run) the snippet but the output I get in the widget does not match what display fields you have in the example screenshot you posted with the instructions on how to build it. What I see is the title of the listing and then underneath where the field says "ID:" I also get a repeat of the title, where I expect to see the item number. Underneath this, I expect to see the time left for bidding etc but I don't see any of that.
So I don't think this is a 'timer' issue as you understand it - I am just not returning the field data in the widget that I expect to.
My reference to 'optifying' the layout (if that's even a word?) is because when the Ebay widget appears, the listing title dissappears from the right of the page, meaning the length is too short in the default value methinks.
I hope that makes better sense.
Please ... let's move to the relevant thread ... Thanks.:) (http://talk.maemo.org/showthread.php?t=50613)
[Feature request]
If possible, a beecon to start / stop record the output from the N900 FM radio app which can then be played in media player?
gkuenning
05-23-2010, 04:36 PM
So here's a somewhat fancier script.
The script I posted yesterday had a bug that made it ignore hostile teams. I've edited the post to include the corrected code, so you only need to re-download it if you grabbed it before the timestamp on this post. Or you could just hand-edit it: in the if statement that checks for wins, two occurrences of "tm[i]" should both be "ct".
No!No!No!Yes!
05-23-2010, 04:46 PM
The script I posted yesterday had a bug that made it ignore hostile teams. I've edited the post to include the corrected code, so you only need to re-download it if you grabbed it before the timestamp on this post. Or you could just hand-edit it: in the if statement that checks for wins, two occurrences of "tm[i]" should both be "ct".
Thanks, WIKI points to original post so no need for amendments there as well.
BTW ... with respect to the Timer issues, there is indeed some weird bug here and I'm in the process for a solution.
No!No!No!Yes!
05-24-2010, 07:29 AM
However I also have one more issue which is bothering me since QBW was born. I already opened a thread in Development forum but no brave member came up with suggestions.
I hope I have a better chance now that community has gone much more cerebral about Maemo, N900 and Hildon-Desktop.
I repost here my original request as it could move QBW a step further with still one new possibility.
Thanks to new extended IPC mechanism it could be now possible to treat many QBW instances as one intercommunicating entity thus allowing stacked instances (and hot spots over beecons) like in this example:
I believe the cheapest solution could be this one:
http://i41.tinypic.com/nei7hy.png http://i39.tinypic.com/2zf7j8y.png http://i44.tinypic.com/eugi69.png
With "A" being the "status" beecon (with status querying script updating manually, every startup, on desktop change, every 30 or so seconds updated via new QBW IPC features by "B") and "B" being the "toggle" beecon/button (with status toggling script just for manual interaction)
http://i42.tinypic.com/wu4bxi.png http://i44.tinypic.com/11m8ahz.png http://i43.tinypic.com/2u4lw5g.png
ISSUE: Still unable to programmatically control the stacking of different widgets on desktop.
This was the original enigma:
Hi, as per subject I need to programmatically control the overlaying positions of 3 instances of the same multi-instance hildon desktop (hildon-home) widget.
Programming Language is C.
I basically need to send the top most yellow box behind the red and green boxes (the very-very back) while I'm in the top most widget's settings dialog box.
http://i46.tinypic.com/2vcgjye.png
http://i48.tinypic.com/2qukdqh.png
I've already tried:
gtk_window_set_keep_below gtk_window_set_keep_below
HildonWindowStack family functions
No success so far... anyone can help?
Bye!
Sorry for bringing this back again but I received some tips from a friend and I'd like you guys to help me elaborating on them:
I was reading the applet positioning code in hildon-desktop a bit and it seems that the applets are placed on the desktop in the order of modification timestamps so that recently modified applet windows are on top. The modification timestamp is stored to GConf, under /apps/osso/hildon-desktop/applets/<applet>/modified for each applet.
So you could edit this timestamp to change the stacking order of the applets. I think you'd need to trigger the restacking of applets somehow aftre changing the value. The stacking code is here:
http://maemo.gitorious.org/fremantle-hildon-desktop/hildon-desktop/blobs/master/src/home/hd-home-view.c
Anyone has any idea on how to "trigger the restacking of applets"
Ciao.
AgentZ
05-24-2010, 04:51 PM
WOW, this is one incredible piece of work. I have no programming skills ,but it seems to me that this widget can do just about anything with the right script. So may question is this; i have a GOOGLE VOICE account and want to eliminate sms fees from recieveing texts from my account. So could QBW poll my account for new messages alert me of them, and then open a selected VOIP account to let me handle the message however i feel fit? The potential for this app is incredible; if this is possible?
No!No!No!Yes!
05-24-2010, 05:38 PM
WOW, this is one incredible piece of work. I have no programming skills ,but it seems to me that this widget can do just about anything with the right script. So may question is this; i have a GOOGLE VOICE account and want to eliminate sms fees from recieveing texts from my account. So could QBW poll my account for new messages alert me of them, and then open a selected VOIP account to let me handle the message however i feel fit? The potential for this app is incredible; if this is possible?
Uhm ... I'll try some speculations here... just brainstorming as I cannot connect to Google Voice ("Please note that Google Voice is only available for sign up in the US.")
It is already possible to check for GMails via a RSS feed through GMail: New Mail Notifier Widget (http://talk.maemo.org/showthread.php?t=47689)
There's a mobile access URL for http://www.google.com/voice/m (I'm not able to inspect further because of access limitations)
I believe there are methods of issuing DBUS commands to start voip connections
I believe there are methods of issuing DBUS commands to have the N900 play sounds like incoming mails or chat conversations
QBW can provide the frontend to all this notification/action scripting
As you see ... just speculations and still a lot more to investigate and test but maybe the Community can help testing & scripting here
I Can't go further then this ... sorry :(
AgentZ
05-24-2010, 06:39 PM
Uhm ... I'll try some speculations here... just brainstorming as I cannot connect to Google Voice ("Please note that Google Voice is only available for sign up in the US.")
Oops your not from here,lol
It is already possible to check for GMails via a RSS feed through GMail: New Mail Notifier Widget (http://talk.maemo.org/showthread.php?t=47689)
Yep saw that is why I asked here, because getting into GV would probably use the same script
There's a mobile access URL for http://www.google.com/voice/m (I'm not able to inspect further because of access limitations)
Understandable, but the mobile isn't that great,but I guess you could use it to get the info for which QBW could use, would prefer the real site in any case
I believe there are methods of issuing DBUS commands to start voip connections
I believe there are methods of issuing DBUS commands to have the N900 play sounds like incoming mails or chat conversations
QBW can provide the frontend to all this notification/action scripting
As you see ... just speculations and still a lot more to investigate and test but maybe the Community can help testing & scripting here
I Can't go further then this ... sorry :(
Oh no don't be sorry you have created something pretty dam awesome, I mean come on what can't it do!
No!No!No!Yes!
05-25-2010, 11:31 AM
Feature request (no, not a D-Bus-related one this time :p): http://wiki.maemo.org/Documentation/Maemo_5_Developer_Guide/Generic_Platform_Components/Using_Backup_Application#Custom_back-up_locations
Done >=0.1.8 ...
QBW is now integrated into the N900 system backup/restore features according to standard specifications as better described in the SDK Using Backup Application ...
It is now being tested internally (http://wiki.maemo.org/Queen_BeeCon_Widget#System_Backup.2FRestore_Integr ation)
No!No!No!Yes!
05-25-2010, 12:08 PM
PR1.2 OTA upgrade still not available here (IT), could anybody who has already upgraded, report here for any issue with QBW with new rel? 10x
As soon as PR1.2 is available I'll perform the upgrade and release 0.1.8 in extras-devel. (http://wiki.maemo.org/Queen_BeeCon_Widget#Now-Brewing)
Ciao.
qwerty12
05-25-2010, 01:04 PM
No!No!No!Yes!, if http://slexy.org/view/s2TuPIskK2 looks legit to you, can you include it in 0.18? It adds two buttons to the Advanced dialog re. the buffer: Export from Buffer to File and Import from File to Buffer. I got tired of importing/exporting via Leafpad. :)
Best regards,
Faheem
Gah, crap, I forgot to add "g_clear_error" statements
PR1.2 OTA upgrade still not available here (IT), could anybody who has already upgraded, report here for any issue with QBW with new rel? 10x
Hi No!No!No!Yes!
I've just flashed to PR 1.2 and I had a few problems when I tried to re-install Queen BeeCon. The widgets were on my desktop but i couldn't see them, only when i click on the gear icon for configuration of the desktop would I see them, but I wouldn't be able to edit them.
I would also get messages saying Hildon-home is not responding.
I'm probably not explaining very well so I'll install it again and get some screenshots.
I just tried it again and again Hildon-home wouldn't respond.
I couldn't get any screenshots as when i clicked on the gear icon like this:
http://wiki.maemo.org/images/d/d8/Qbwinst1.png
the desktop would stop responding.
No!No!No!Yes!
05-25-2010, 02:19 PM
I just tried it again and again Hildon-home wouldn't respond.
I couldn't get any screenshots as when i clicked on the gear icon like this:
http://wiki.maemo.org/images/d/d8/Qbwinst1.png
the desktop would stop responding.
Ciao, could you please verify if problem is related some way to this thread: http://talk.maemo.org/showthread.php?t=53593
Ciao, could you please verify if problem is related some way to this thread: http://talk.maemo.org/showthread.php?t=53593
Not that I can tell as I've had no trouble customising any other widgets/desktops or menus. Also my device is not Over Clocked.
No!No!No!Yes!
05-25-2010, 02:45 PM
Not that I can tell as I've had no trouble customising any other widgets/desktops or menus. Also my device is not Over Clocked.
Ok, release is 0.1.4, right?
If you wouldn't bother to give it a shot, I could send you a link to the 0.1.8 version .deb package.
Just to see if a version compiled with PR1.2 aware sdk suffers the same deseases!!!
How about that?
Sure I'll give it a shot.
I think it was 0.1.4, just the one in Extras.
No!No!No!Yes!
05-25-2010, 03:27 PM
No!No!No!Yes!, if http://slexy.org/view/s2TuPIskK2 looks legit to you, can you include it in 0.18? It adds two buttons to the Advanced dialog re. the buffer: Export from Buffer to File and Import from File to Buffer. I got tired of importing/exporting via Leafpad. :)
Best regards,
Faheem
Gah, crap, I forgot to add "g_clear_error" statements
OK ... I be waiting for new diff file
No!No!No!Yes!
05-25-2010, 05:35 PM
No!No!No!Yes!, if http://slexy.org/view/s2TuPIskK2 looks legit to you, can you include it in 0.18? It adds two buttons to the Advanced dialog re. the buffer: Export from Buffer to File and Import from File to Buffer. I got tired of importing/exporting via Leafpad. :)
Best regards,
Faheem
Gah, crap, I forgot to add "g_clear_error" statements
OK ... I be waiting for new diff file
Never mind ... I managed to stick "g_clear_error" here:
static void importFileBufferBt_clicked_cb ( HildonButton * button, QueenBeecon *self )
{
g_warning ("(%p) %s",self, G_STRFUNC);
GtkWidget *file_chooser = hildon_file_chooser_dialog_new (NULL, GTK_FILE_CHOOSER_ACTION_OPEN);
//gtk_window_set_title (GTK_WINDOW (file_chooser), "Choose file to import from");
if (gtk_dialog_run (GTK_DIALOG (file_chooser)) == GTK_RESPONSE_OK)
{
GtkTextIter start, end;
GError *error = NULL;
gchar *filename = gtk_file_chooser_get_filename (GTK_FILE_CHOOSER (file_chooser));
if (!filename)
{
gtk_widget_destroy (file_chooser);
return;
}
gchar *contents = NULL;
if (!g_file_get_contents (filename, &contents, NULL, &error))
{
hildon_banner_show_informationf (NULL, NULL, "Importing failed: %s", error->message);
g_free (filename);
g_clear_error (&error);
gtk_widget_destroy (file_chooser);
return;
}
gtk_text_buffer_get_bounds (self->priv->importExportBuffer, &start, &end);
gtk_text_buffer_delete (self->priv->importExportBuffer, &start, &end);
gtk_text_buffer_insert (self->priv->importExportBuffer, &start, contents, -1);
g_free (filename);
g_free (contents);
}
gtk_widget_destroy (file_chooser);
}
static void exportFileBufferBt_clicked_cb ( HildonButton * button, QueenBeecon *self )
{
g_warning ("(%p) %s",self, G_STRFUNC);
gchar *mydocsdir = g_strdup (g_getenv ("MYDOCSDIR"));
if (!mydocsdir) mydocsdir = g_build_filename (g_get_home_dir (), "MyDocs", NULL);
GtkWidget *file_chooser = hildon_file_chooser_dialog_new (NULL, GTK_FILE_CHOOSER_ACTION_SAVE);
gtk_file_chooser_set_current_folder (GTK_FILE_CHOOSER (file_chooser), mydocsdir);
g_free (mydocsdir);
if (gtk_dialog_run (GTK_DIALOG (file_chooser)) == GTK_RESPONSE_OK)
{
GtkTextIter start, end;
GError *error = NULL;
gchar *filename = gtk_file_chooser_get_filename (GTK_FILE_CHOOSER (file_chooser));
if (!filename) {
gtk_widget_destroy (file_chooser);
return;
}
gtk_text_buffer_get_bounds (self->priv->importExportBuffer, &start, &end);
gchar *contents = gtk_text_buffer_get_text (self->priv->importExportBuffer, &start, &end, FALSE);
if (!contents) {
hildon_banner_show_information (NULL, NULL, "Exporting failed");
g_free (filename);
gtk_widget_destroy (file_chooser);
return;
}
if (!g_file_set_contents (filename, contents, -1, &error)) {
hildon_banner_show_informationf (NULL, NULL, "Exporting failed: %s", error->message);
g_clear_error (&error);
}
g_free (filename);
g_free (contents);
}
gtk_widget_destroy (file_chooser);
}
Do you believe it's enough?
No!No!No!Yes!
05-25-2010, 05:39 PM
And changed buttons layout & captions a little bit:
http://i46.tinypic.com/24gptp4.jpg
qwerty12
05-25-2010, 05:39 PM
Do you believe it's enough?
Yessir :)
(10-char limit...)
No!No!No!Yes!
05-25-2010, 05:57 PM
PR1.2 OTA upgrade still not available here (IT), could anybody who has already upgraded, report here for any issue with QBW with new rel? 10x
As soon as PR1.2 is available I'll perform the upgrade and release 0.1.8 in extras-devel. (http://wiki.maemo.org/Queen_BeeCon_Widget#Now-Brewing)
Ciao.
Hi No!No!No!Yes!
I've just flashed to PR 1.2 and I had a few problems when I tried to re-install Queen BeeCon. The widgets were on my desktop but i couldn't see them, only when i click on the gear icon for configuration of the desktop would I see them, but I wouldn't be able to edit them.
I would also get messages saying Hildon-home is not responding.
I'm probably not explaining very well so I'll install it again and get some screenshots.
....
Ok, release is 0.1.4, right?
If you wouldn't bother to give it a shot, I could send you a link to the 0.1.8 version .deb package.
Just to see if a version compiled with PR1.2 aware sdk suffers the same deseases!!!
How about that?
0.1.8-PR1.2compiled + "killall hildon-home" seem to have done the trick ... but I'm curious about why 0.1.4 was not working...
Definitely stay tuned till I upgrade my terminal...
And one other rhetorical question for promotion processes across devel-testing-extra ...
Should we wait >3 weeks to have a working PR1.2-proof QBW 0.2.0 in Extras!?!?!?!?!?
:mad::confused::eek::(
Definitely stay tuned...
No!No!No!Yes!
05-26-2010, 09:55 AM
I'd like to place in a request for replacing that font dialog with http://wiki.maemo.org/Hildon-Extras#HeFontDialog because I also like the Droid Fonts but I'm biased...
Uhm ... no easy way to preserve backward compatibility if I implement this feature with Hildon-Extras extensions.
Especially if exported instances, with extended-fonts functionalities, need to be read by older releases.
Same happens if I change Color (both foreground and background) dialog with extended and more cosmetic one.
Unless it is polite to ask users to check and change fonts/color after import.
:confused::(
BTW, is it possible that HeColorButton is a bit buggy with PR1.2 SDK?
http://wiki.maemo.org/images/7/7f/HeColorButton.png
In scratchbox, if I click on black button frame then color dialogs opens, if I click on orange rectangle nothing happens...
Ciao.
UPDATE:
Also if I compile this:
GtkWidget *cmdFontBox = gtk_hbox_new (FALSE, 0);//AP1
GtkWidget *cmdFontSz;
if (!g_strcmp0(self->priv->cmdExtFont,"")) {
GtkWidget *cmdFontFam = hildon_touch_selector_new_text ();//AP1
for(i=0;p_fonts[i]!=NULL;i++) {//AP1
int j;
for (j=0;j<4;j++) {//AP1
gchar fs[256];//AP1
g_sprintf(fs, "%s %s",p_fonts[i], p_fonts_types[j]);//AP1
hildon_touch_selector_append_text (HILDON_TOUCH_SELECTOR (cmdFontFam), fs);//AP1
}//AP1
}//AP1
hildon_touch_selector_set_active (HILDON_TOUCH_SELECTOR (cmdFontFam), 0, self->priv->cmdFontName);//AP1
GtkWidget * cmdFontSelector = hildon_picker_button_new (HILDON_SIZE_AUTO_WIDTH | HILDON_SIZE_THUMB_HEIGHT, HILDON_BUTTON_ARRANGEMENT_VERTICAL);//AP1
hildon_button_set_title (HILDON_BUTTON (cmdFontSelector), "Font Face: ");//AP1
hildon_button_set_alignment (HILDON_BUTTON (cmdFontSelector), 0, 0.5, 0, 0);//AP1
hildon_picker_button_set_selector (HILDON_PICKER_BUTTON (cmdFontSelector), HILDON_TOUCH_SELECTOR (cmdFontFam));//AP1
gtk_box_pack_start (GTK_BOX (cmdFontBox), cmdFontSelector, FALSE, FALSE, 0);//AP1
cmdFontSz = gtk_hscale_new_with_range ((gdouble)8, (gdouble)72, (gdouble)1);//AP1
gtk_range_set_value(GTK_RANGE(cmdFontSz), self->priv->cmdFontSize);//AP1
gtk_box_pack_start (GTK_BOX (cmdFontBox), cmdFontSz, TRUE, TRUE, 0);//AP1
}
GtkWidget *cmdFontFam = he_font_button_new_with_font (self->priv->cmdExtFont);
gtk_box_pack_start (GTK_BOX (cmdFontBox), cmdFontFam, TRUE, TRUE, 0);
gtk_container_add (GTK_CONTAINER (content_area), cmdFontBox);//AP1
Everything goes fine ... if I move the he_font_button before the old font selectors and scales ... H-H dumps
GtkWidget *cmdFontBox = gtk_hbox_new (FALSE, 0);//AP1
GtkWidget *cmdFontSz;
GtkWidget *cmdFontFam = he_font_button_new_with_font (self->priv->cmdExtFont);
gtk_box_pack_start (GTK_BOX (cmdFontBox), cmdFontFam, TRUE, TRUE, 0);
if (!g_strcmp0(self->priv->cmdExtFont,"")) {
GtkWidget *cmdFontFam = hildon_touch_selector_new_text ();//AP1
for(i=0;p_fonts[i]!=NULL;i++) {//AP1
int j;
for (j=0;j<4;j++) {//AP1
gchar fs[256];//AP1
g_sprintf(fs, "%s %s",p_fonts[i], p_fonts_types[j]);//AP1
hildon_touch_selector_append_text (HILDON_TOUCH_SELECTOR (cmdFontFam), fs);//AP1
}//AP1
}//AP1
hildon_touch_selector_set_active (HILDON_TOUCH_SELECTOR (cmdFontFam), 0, self->priv->cmdFontName);//AP1
GtkWidget * cmdFontSelector = hildon_picker_button_new (HILDON_SIZE_AUTO_WIDTH | HILDON_SIZE_THUMB_HEIGHT, HILDON_BUTTON_ARRANGEMENT_VERTICAL);//AP1
hildon_button_set_title (HILDON_BUTTON (cmdFontSelector), "Font Face: ");//AP1
hildon_button_set_alignment (HILDON_BUTTON (cmdFontSelector), 0, 0.5, 0, 0);//AP1
hildon_picker_button_set_selector (HILDON_PICKER_BUTTON (cmdFontSelector), HILDON_TOUCH_SELECTOR (cmdFontFam));//AP1
gtk_box_pack_start (GTK_BOX (cmdFontBox), cmdFontSelector, FALSE, FALSE, 0);//AP1
cmdFontSz = gtk_hscale_new_with_range ((gdouble)8, (gdouble)72, (gdouble)1);//AP1
gtk_range_set_value(GTK_RANGE(cmdFontSz), self->priv->cmdFontSize);//AP1
gtk_box_pack_start (GTK_BOX (cmdFontBox), cmdFontSz, TRUE, TRUE, 0);//AP1
}
gtk_container_add (GTK_CONTAINER (content_area), cmdFontBox);//AP1
das_schlumpfie
05-26-2010, 09:53 PM
hi No!No!No!Yes! (what a name =p)
i saw you made some queen beecon widgets for overclocked device, i saw it in the overlock post, now its not there for some reason.
but still very curious as to how i can get some of those, is it like i can change different configs (profile, frequency etc) right at the desktop?
thanks for the good work btw
No!No!No!Yes!
05-27-2010, 01:52 AM
hi No!No!No!Yes! (what a name =p)
i saw you made some queen beecon widgets for overclocked device, i saw it in the overlock post, now its not there for some reason.
but still very curious as to how i can get some of those, is it like i can change different configs (profile, frequency etc) right at the desktop?
thanks for the good work btw
Ciao.
For overclocking See 1st and 3rd beecon here http://wiki.maemo.org/Queen_BeeCon_Widget#Beecons
Other examples are in the wiki
ciao.
das_schlumpfie
05-27-2010, 05:30 AM
cheers mate
das_schlumpfie
05-27-2010, 06:00 AM
hi again, so you knows he has those '1 Ghz' and 'Ideal' widgets?
do those actually alter the kernel settings?
thanks
No!No!No!Yes!
05-27-2010, 06:42 AM
hi again, so you knows he has those '1 Ghz' and 'Ideal' widgets?
do those actually alter the kernel settings?
thanks
Ciao,
actually I'm not much into this overclocking wisdom I suggest you just drop Jakiman (http://talk.maemo.org/member.php?u=23878) a message and he can point you towards the latest working QBWs he developed (also PR1.2-aware). In fact I heard there were some issues with rootsh/sudo lately which prevented commands to work properly.
Ciao.
hi again, so you knows he has those '1 Ghz' and 'Ideal' widgets?
do those actually alter the kernel settings?
thanks
If you're using the scripts from here:
http://talk.maemo.org/showpost.php?p=668577&postcount=3947
The "snippet_ideal.txt" script will change the kernel to ideal settings.
To have a 1Ghz snippet, you have to follow these instructions first:
1. Launch xterminal
2. root
3. kernel-config load ideal
4. kernel-config limits 500 1000
5. kernel-config save ideal_1000
and then the "snippet_ideal_1000.txt" script will change the kernel to 1Ghz
No!No!No!Yes!
05-27-2010, 10:58 AM
Uhm ... no easy way to preserve backward compatibility if I implement this feature with Hildon-Extras extensions.
Especially if exported instances, with extended-fonts functionalities, need to be read by older releases.
Same happens if I change Color (both foreground and background) dialog with extended and more cosmetic one.
Unless it is polite to ask users to check and change fonts/color after import.
:confused::(
BTW, is it possible that HeColorButton is a bit buggy with PR1.2 SDK?
http://wiki.maemo.org/images/7/7f/HeColorButton.png
In scratchbox, if I click on black button frame then color dialogs opens, if I click on orange rectangle nothing happens...
Ciao.
UPDATE:
Also if I compile this:
GtkWidget *cmdFontBox = gtk_hbox_new (FALSE, 0);//AP1
GtkWidget *cmdFontSz;
if (!g_strcmp0(self->priv->cmdExtFont,"")) {
GtkWidget *cmdFontFam = hildon_touch_selector_new_text ();//AP1
for(i=0;p_fonts[i]!=NULL;i++) {//AP1
int j;
for (j=0;j<4;j++) {//AP1
gchar fs[256];//AP1
g_sprintf(fs, "%s %s",p_fonts[i], p_fonts_types[j]);//AP1
hildon_touch_selector_append_text (HILDON_TOUCH_SELECTOR (cmdFontFam), fs);//AP1
}//AP1
}//AP1
hildon_touch_selector_set_active (HILDON_TOUCH_SELECTOR (cmdFontFam), 0, self->priv->cmdFontName);//AP1
GtkWidget * cmdFontSelector = hildon_picker_button_new (HILDON_SIZE_AUTO_WIDTH | HILDON_SIZE_THUMB_HEIGHT, HILDON_BUTTON_ARRANGEMENT_VERTICAL);//AP1
hildon_button_set_title (HILDON_BUTTON (cmdFontSelector), "Font Face: ");//AP1
hildon_button_set_alignment (HILDON_BUTTON (cmdFontSelector), 0, 0.5, 0, 0);//AP1
hildon_picker_button_set_selector (HILDON_PICKER_BUTTON (cmdFontSelector), HILDON_TOUCH_SELECTOR (cmdFontFam));//AP1
gtk_box_pack_start (GTK_BOX (cmdFontBox), cmdFontSelector, FALSE, FALSE, 0);//AP1
cmdFontSz = gtk_hscale_new_with_range ((gdouble)8, (gdouble)72, (gdouble)1);//AP1
gtk_range_set_value(GTK_RANGE(cmdFontSz), self->priv->cmdFontSize);//AP1
gtk_box_pack_start (GTK_BOX (cmdFontBox), cmdFontSz, TRUE, TRUE, 0);//AP1
}
GtkWidget *cmdFontFam = he_font_button_new_with_font (self->priv->cmdExtFont);
gtk_box_pack_start (GTK_BOX (cmdFontBox), cmdFontFam, TRUE, TRUE, 0);
gtk_container_add (GTK_CONTAINER (content_area), cmdFontBox);//AP1
Everything goes fine ... if I move the he_font_button before the old font selectors and scales ... H-H dumps
GtkWidget *cmdFontBox = gtk_hbox_new (FALSE, 0);//AP1
GtkWidget *cmdFontSz;
GtkWidget *cmdFontFam = he_font_button_new_with_font (self->priv->cmdExtFont);
gtk_box_pack_start (GTK_BOX (cmdFontBox), cmdFontFam, TRUE, TRUE, 0);
if (!g_strcmp0(self->priv->cmdExtFont,"")) {
GtkWidget *cmdFontFam = hildon_touch_selector_new_text ();//AP1
for(i=0;p_fonts[i]!=NULL;i++) {//AP1
int j;
for (j=0;j<4;j++) {//AP1
gchar fs[256];//AP1
g_sprintf(fs, "%s %s",p_fonts[i], p_fonts_types[j]);//AP1
hildon_touch_selector_append_text (HILDON_TOUCH_SELECTOR (cmdFontFam), fs);//AP1
}//AP1
}//AP1
hildon_touch_selector_set_active (HILDON_TOUCH_SELECTOR (cmdFontFam), 0, self->priv->cmdFontName);//AP1
GtkWidget * cmdFontSelector = hildon_picker_button_new (HILDON_SIZE_AUTO_WIDTH | HILDON_SIZE_THUMB_HEIGHT, HILDON_BUTTON_ARRANGEMENT_VERTICAL);//AP1
hildon_button_set_title (HILDON_BUTTON (cmdFontSelector), "Font Face: ");//AP1
hildon_button_set_alignment (HILDON_BUTTON (cmdFontSelector), 0, 0.5, 0, 0);//AP1
hildon_picker_button_set_selector (HILDON_PICKER_BUTTON (cmdFontSelector), HILDON_TOUCH_SELECTOR (cmdFontFam));//AP1
gtk_box_pack_start (GTK_BOX (cmdFontBox), cmdFontSelector, FALSE, FALSE, 0);//AP1
cmdFontSz = gtk_hscale_new_with_range ((gdouble)8, (gdouble)72, (gdouble)1);//AP1
gtk_range_set_value(GTK_RANGE(cmdFontSz), self->priv->cmdFontSize);//AP1
gtk_box_pack_start (GTK_BOX (cmdFontBox), cmdFontSz, TRUE, TRUE, 0);//AP1
}
gtk_container_add (GTK_CONTAINER (content_area), cmdFontBox);//AP1
As a second thought with respect to innovations in font and color settings for command and results labels I implemented the new extended font dialog (http://wiki.maemo.org/Hildon-Extras#HeFontDialog) as proposed by qwerty12.
I believe pros will be much more than cons and side effects will be bearable...:
Old font selection and button is deprecated
Backward compatibility for instances exported from previous releases is guaranteed and settings upgraded as necessary during import
Exported instances from release 0.1.9 onward will have their fonts reset to command="Nokia Sans bold italic 12" results="Nokia Sans bold 12" when/if imported in previous releases
Faheem, if you are planning to come up with some bugfixing for the color button issue I'll try to release, into PR1.2 extras-devel repository for preliminary testing, a 0.1.9 working release with enhanced font/color settings within 1 or 2 days.
Otherwise only the font enhancement will be published.
No!No!No!Yes!
05-27-2010, 01:20 PM
And a crazy idea ... on my mind
DBUS event driven Beecons (http://wiki.maemo.org/DbusScripts)
:D:cool::eek:
No!No!No!Yes!
05-28-2010, 06:49 PM
OK ... Queen BeeCon Widget release 0.1.9 is now in extras-devel (http://maemo.org/packages/package_instance/view/fremantle_extras-devel_free_armel/queen-beecon/0.1.9/)
Partial Change Log since 0.1.4
queen-beecon (0.1.9)
* New: New extended font dialog for command and results labels (Old font selection deprecated; backward compatibility for instances exported from previous releases is guaranteed and settings upgraded as necessary)
* Changed: Due to new font settings implementation, exported instances from this release onward will have their fonts reset to command="Nokia Sans bold italic 12" results="Nokia Sans bold 12" when imported in previous releases
* Bugfixing: Some fixing and cleanup in package install/uninstall
queen-beecon (0.1.8-testonly-PR1.2)
* WARNING This release is for testing purposes only as PR1.2 upgrade brought some instabilities which need forensics!!!
* New: Implementation of DBUS methods: reset_rearm_timer
* New: QBW is now integrated into the N900 system backup/restore features according to standard specifications as better described in SDK "Using Backup Application" http://wiki.maemo.org/Documentation/Maemo_5_Developer_Guide/Generic_Platform_Components/Using_Backup_Application#Custom_back-up_locations
* Changed: Completely revised Timer logic and reset/re-arming for widget periodic auto-update
* Changed: Visual feedback when Beecons pressed; now rectangle gets drawn as well as cell (better chance of noticing feedback for canvas-less Beecons)
* Bugfixing: Fixed segmentation fault if dbus get_position method called and dbus_method_monitor turned on
queen-beecon (0.1.7-PR1.1.1)
* NOTE: Special Build for PR1.1.1
* New: Implementation of Widget Instance visibility toggle and configuration parameter (for showing or hiding the widget also via DBUS)
* New: Implementation of following DBUS methods: dbus_method_monitor, show, hide, wakeup, sleep, update_content, update_layout, exec, set_param_string, set_param_int32, set_param_uint32, set_param_double, set_param_boolean, get_param string, set_position, get_position, get_exit_status
* New: Implementation of following DBUS signals: sig_content_updated
* Changed: Enhanced DBUS implementation for Widget2Widget & System2Widget Inter Process Communication
* Changed: Changed default values for some Update Policies in new QBW instances (updOnStartup now defaults to FALSE; updOnDesktop now defaults to FALSE) to prevent bugged Beecons from freezing hildon-home even after restart
* Respect: To querty12@talk.maemo.org Many, many, many, many, many thanks for supporting QBW IPC implementation
queen-beecon (0.1.6)
* New: Simple DBUS implementation for Widget2Widget & System2Widget Inter Process Communication
* New: Added Widget Instance ID in Settings Dialog Title
* Changed: Compiled Vs. PR1.2
queen-beecon (0.1.5)
* Changed: Thanks "qwerty12" disabled automatic capitalization for all text entry fields
queen-beecon (0.1.4)
* New: Implementation of Widget Instance disabling and minimizing on desktop (click on minimized icon on desktop will wakeup and maximize instance)
* New: Implementation of image/icon scaling function for all images used (Zoom In/Out from 5% to 200% or Fit to Widget Width/Height)
* Bugfixing: In Advanced Maintenance Dialog Box several bugfixes for Import/Export commands and instances.
See complete Change Log in the WIKI (http://wiki.maemo.org/Queen_BeeCon_Widget#Change_Log)
Usual WARNINGS apply to extras-devel material (http://wiki.maemo.org/Extras-devel)
Feel free to experiment with all extended features implemented since 0.1.4 and please report bugs and experiences or feature requests here.
Have fun!
gabby131
05-28-2010, 07:54 PM
so do my saved instances (commands) will still work if i import it to the 1.9 QBW? right?
gkuenning
05-28-2010, 08:32 PM
Does this mean that if I upgrade QBW, it's now safe to also upgrade to PR1.2?
No!No!No!Yes!
05-29-2010, 02:21 AM
so do my saved instances (commands) will still work if i import it to the 1.9 QBW? right?
I dedicated a major effort in trying to guarantee backward compatibility and transparent upgrade of already created instances.
Only limitation, apart from possible lurking bugs, is the one reported in the change log and relevant to ability for older releases to deal with new font parameters for instances exported by >=0.1.9 QBW.
No!No!No!Yes!
05-29-2010, 03:56 AM
Does this mean that if I upgrade QBW, it's now safe to also upgrade to PR1.2?
Hi, you won't be able to upgrade QBW PR1.1.1 with current extras-devel v0.1.9 which gets compiled in PR1.2 SDK framework with upgraded modules; you'll face this issue:
[sbox-FREMANTLE_X86: ~/workspace/queen-beecon] > dpkg -l queen-beecon
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name Version Description
+++-=================================-=================================-================================================== ================================
ii queen-beecon 0.1.5 Customizable and flexible widget-based multi-instance monitoring and alerting tool
[sbox-FREMANTLE_X86: ~/workspace/queen-beecon] > dpkg -i queen-beecon_0.1.9.1_i386.deb
(Reading database ... 32547 files and directories currently installed.)
Preparing to replace queen-beecon 0.1.5 (using queen-beecon_0.1.9.1_i386.deb) ...
Unpacking replacement queen-beecon ...
dpkg: dependency problems prevent configuration of queen-beecon:
queen-beecon depends on libhildon1 (>= 2.2.10); however:
Version of libhildon1 on system is 2.2.3-1+0m5.
dpkg: error processing queen-beecon (--install):
dependency problems - leaving unconfigured
Errors were encountered while processing:
queen-beecon
[sbox-FREMANTLE_X86: ~/workspace/queen-beecon] >
If you want to stick a bit more with PR1.1.1 you can try queen-beecon_0.1.9-PR1.1.1_armel.deb (http://www.sussurri.net/qbw/queen-beecon_0.1.9-PR1.1.1_armel.deb) package but I will not be able to provide support and maintain this many versions of the package and I'd rather focus on maintenance on PR1.2
Ciao.
I've updated to the 0.1.9 QBW and it looks good. The new font section bit works great with a preview included now.
I'll have to test out the DBUS commands.
gabby131
05-29-2010, 07:40 PM
I dedicated a major effort in trying to guarantee backward compatibility and transparent upgrade of already created instances.
Only limitation, apart from possible lurking bugs, is the one reported in the change log and relevant to ability for older releases to deal with new font parameters for instances exported by >=0.1.9 QBW.
i have upgraded to 1.9 and everything feels okay, the only change is all the fonts revert back to default (as stated on the description changes), the commands still work as usual havent try sudo commands but i will.
im using the same commands on my overclocking.
thanks for this one!
EDIT: the user interface is very friendly in this upgrade. and easy to customize
No!No!No!Yes!
05-30-2010, 01:31 PM
i have upgraded to 1.9 and everything feels okay, the only change is all the fonts revert back to default (as stated on the description changes)
Hi ... if you upgraded your 0.1.4 instances to 0.1.9, the old fonts should have been upgraded seamlessly with no fall back to default fonts.
Only font reset should happen if someone exports beecons from 0.1.9 and you import them into 0.1.4.
Could you please confirm your scenario?
If it happened as you described, then there could be a bug somewhere.
Ciao.
neboja
05-30-2010, 06:49 PM
@No!No!No!Yes!
i don't know if it is a bug or what.... but i installed "Desktop Activity Manager".... and, when i change my desktops with it, an go back again on a default one... all my QB Widgets simply RESET (like they are removed and then put in a same place but there state is default...) O_o
don't know if i should post this bug to you or to DAM developers.... but i wanted you to know ;)
cheers ;)
Xemaniac
05-31-2010, 02:18 AM
I was wondering, would it be possible to make a script for the opposite of Hardsleep? I really likle the hardsleep feature, but it would be nice if you could press the same button again and get it to go back to 3G and GPRS, or if not possible, have another button for it.
I would do it myself but don't have the programing skills.
Parlapipas
05-31-2010, 02:21 AM
@No!No!No!Yes!
i don't know if it is a bug or what.... but i installed "Desktop Activity Manager".... and, when i change my desktops with it, an go back again on a default one... all my QB Widgets simply RESET (like they are removed and then put in a same place but there state is default...) O_o
don't know if i should post this bug to you or to DAM developers.... but i wanted you to know ;)
cheers ;)
Happened to me as well
No!No!No!Yes!
05-31-2010, 08:26 AM
@No!No!No!Yes!
i don't know if it is a bug or what.... but i installed "Desktop Activity Manager".... and, when i change my desktops with it, an go back again on a default one... all my QB Widgets simply RESET (like they are removed and then put in a same place but there state is default...) O_o
don't know if i should post this bug to you or to DAM developers.... but i wanted you to know ;)
cheers ;)
Happened to me as well
Thanks for your report ... I already tried to contact the maintainer of Actman with respect to this issue but with no feedback so far. (http://talk.maemo.org/showthread.php?p=642104&postcount=66)
Sorry.
No!No!No!Yes!
05-31-2010, 08:54 AM
I was wondering, would it be possible to make a script for the opposite of Hardsleep? I really likle the hardsleep feature, but it would be nice if you could press the same button again and get it to go back to 3G and GPRS, or if not possible, have another button for it.
I would do it myself but don't have the programing skills.
I'm sure you can, but I'm very busy now with new features and stabilization of QBW 0.2.0 (through 0.1.9.x releases)
Hope the community can help... :) (http://talk.maemo.org/showthread.php?p=610074#post610074)
gkuenning
06-01-2010, 02:54 AM
Feature request: environment variable passed to commands, telling them what triggered the update (timer, click, network action, etc.)
Also, I personally wish you'd made the timeout an integer in the config file, rather than an index. That way we could have intermediate timeouts like 9 seconds even if they weren't on the menu. But that's a minor quibble.
No!No!No!Yes!
06-01-2010, 03:53 AM
Feature request: environment variable passed to commands, telling them what triggered the update (timer, click, network action, etc.)
Also, I personally wish you'd made the timeout an integer in the config file, rather than an index. That way we could have intermediate timeouts like 9 seconds even if they weren't on the menu. But that's a minor quibble.
OK ... requests recorded HERE (http://wiki.maemo.org/Queen_BeeCon_Widget#Feature_Requests), good points!
Daneel
06-01-2010, 12:00 PM
Hello,
I've searched the forums without results and I appologize in advance if this is an oversight on my side but my beecons don't seem to have instance id's. Any ideas why?
Thanks in advance.
http://i118.photobucket.com/albums/o99/Krstitel/Screenshot-20100601-175336.png
Hello,
I've searched the forums without results and I appologize in advance if this is an oversight on my side but my beecons don't seem to have instance id's. Any ideas why?
Are you running the QBW from Extra's? I think it's only the version in Extra's-Devel that has the instance ID's.
Daneel
06-01-2010, 08:44 PM
Seems i was :) Silly of me not to check that, thanks for your help!
Tinnet
06-05-2010, 06:13 AM
Would it be possible to run telnet commands with this?
Found a way to control atleast winamp trough telnet and it would be awesome to have buttons instead of having to type commands everytime i want to do something
xur17
06-05-2010, 11:20 AM
Do these scripts time out after a certain amount of time? I have a script that runs, but takes about 5 seconds to run before returning a value. Is this too long?
It seems to freeze up the widget when I run it, but runs fine in the terminal.
Tinnet
06-05-2010, 06:41 PM
Would it be possible to run telnet commands with this?
Found a way to control atleast winamp trough telnet and it would be awesome to have buttons instead of having to type commands everytime i want to do something
Resolved it myself. If anybody is interested to know how/what i'll explain.
http://tinnet.net/imghost/files/Screenshot-20100606-004030.png
No!No!No!Yes!
06-06-2010, 05:54 PM
Resolved it myself. If anybody is interested to know how/what i'll explain.
http://tinnet.net/imghost/files/Screenshot-20100606-004030.png
Sure... please do and I'll make a new entry in the wiki for it (or you can do that yourself) :)
qwerty12
06-06-2010, 06:34 PM
No!No!No!Yes!, since you're around, can I prod you for a "yes/no" on https://garage.maemo.org/tracker/index.php?func=detail&aid=5881&group_id=1295&atid=4851? :)
No!No!No!Yes!
06-06-2010, 07:00 PM
No!No!No!Yes!, since you're around, can I prod you for a "yes/no" on https://garage.maemo.org/tracker/index.php?func=detail&aid=5881&group_id=1295&atid=4851? :)
Busy with GUINNESS WORLD RECORD SOFTBALL MARATHON - June 1st - June 6th, 2010 (http://www.fastpitch.it/marathon10.htm) last week and segregated on field 24/24h with no material time to stick to QBW.
I'm back now (WINNER! :D) and hope to have some time soon to restart developments.
Request is absolutely worth a try but I'm now in the process of debugging some serious issues with new implementations:
queen-beecon (0.1.9.1)
* New: Implementation of Command and Results text orientation angle (w/ relevant configuration parameters)
* New: New extended color dialog for background and foreground colors (Old color selection deprecated; backward compatibility for instances exported from previous releases is guaranteed and settings upgraded as necessary)
* Changed: Restyle in settings configuration for Beecon Command Exit Statuses area & Command Title/Results Settings area + changed color settings appearance
* Changed: Removed Help hints from settings dialog box (refer to the WIKI)!
* Changed: Changed transpacency settings both for beecons and for snippets... now both are less transparent
* Bugfixing: Disabled instance (icon) wasn't correctly drawn on startup; fixed
* Bugfixing: Memory deallocation bug for >=3 Exit Status image file beecon_idxge2_ImgFilename; fixed
queen-beecon (0.1.9)
* New: New extended font dialog for command and results labels (Old font selection deprecated; backward compatibility for instances exported from previous releases is guaranteed and settings upgraded as necessary)
* Changed: Due to new font settings implementation, exported instances from this release onward will have their fonts reset to command="Nokia Sans bold italic 12" results="Nokia Sans bold 12" when imported in previous releases
* Bugfixing: Some fixing and cleanup in package install/uninstall
which introduced random regressions (SEGFAULTS) in package install/update/settings procedures.
So priority and major effort goes here till situation gets better.
I'll release soon in extras-devel a very-very premature 0.1.9.x version in order to have feedback about this issues and possible contributions in debugging and the like.
But feel free to propose .diff files if you want to speed up release process, as usual, and I'll try to integrate them ASAP and release unstable semi-version.
No!No!No!Yes!
06-07-2010, 11:45 AM
Do these scripts time out after a certain amount of time? I have a script that runs, but takes about 5 seconds to run before returning a value. Is this too long?
It seems to freeze up the widget when I run it, but runs fine in the terminal.
Hi, I use scripts which retrieve data from the internet and it takes even more than 5 secs (~10secs with wget -T 10 option).
desktop freezes for the time the script is running and then reverts back normal functionalities.
Have a suggestion by qwerty12 on this matter and I'll try to work on it ASAP.
No!No!No!Yes!
06-07-2010, 05:46 PM
No!No!No!Yes!, since you're around, can I prod you for a "yes/no" on https://garage.maemo.org/tracker/index.php?func=detail&aid=5881&group_id=1295&atid=4851? :)
Uhm ... I believe we'll lose backward compatibility for scripts if I implement this new g_spawn_async_with_pipes function.
I suppose commands like this will not be acceptable any more:
export s="foo"; wget -O - "http://www.acme.inc" | awk '{print $1 $2}'
No!No!No!Yes!
06-07-2010, 08:00 PM
OK ... Queen BeeCon Widget release 0.1.9.1 is now in extras-devel (http://maemo.org/packages/package_instance/view/fremantle_extras-devel_free_armel/queen-beecon/0.1.9.1/)
Partial Change Log since 0.1.4
queen-beecon (0.1.9.1)
* New: Parameter Variables substitution usable by script (Ex. Own Instance ID, Reason for updating content)
* New: Implementation of Command and Results text orientation angle (w/ relevant configuration parameters)
* New: New extended color dialog for background and foreground colors (Old color selection deprecated; backward compatibility for instances exported from previous releases is guaranteed and settings upgraded as necessary)
* Changed: Restyle in settings configuration for Beecon Command Exit Statuses area & Command Title/Results Settings area + changed color settings appearance
* Changed: Removed Help hints from settings dialog box (refer to the WIKI)!
* Changed: Changed transpacency settings both for beecons and for snippets... now both are less transparent
* Bugfixing: Disabled instance (icon) wasn't correctly drawn on startup; fixed
* Bugfixing: Memory deallocation bug for >=3 Exit Status image file beecon_idxge2_ImgFilename; fixed
queen-beecon (0.1.9)
* New: New extended font dialog for command and results labels (Old font selection deprecated; backward compatibility for instances exported from previous releases is guaranteed and settings upgraded as necessary)
* Changed: Due to new font settings implementation, exported instances from this release onward will have their fonts reset to command="Nokia Sans bold italic 12" results="Nokia Sans bold 12" when imported in previous releases
* Bugfixing: Some fixing and cleanup in package install/uninstall
queen-beecon (0.1.8-testonly-PR1.2)
* WARNING This release is for testing purposes only as PR1.2 upgrade brought some instabilities which need forensics!!!
* New: Implementation of DBUS methods: reset_rearm_timer
* New: QBW is now integrated into the N900 system backup/restore features according to standard specifications as better described in SDK "Using Backup Application" http://wiki.maemo.org/Documentation/Maemo_5_Developer_Guide/Generic_Platform_Components/Using_Backup_Application#Custom_back-up_locations
* Changed: Completely revised Timer logic and reset/re-arming for widget periodic auto-update
* Changed: Visual feedback when Beecons pressed; now rectangle gets drawn as well as cell (better chance of noticing feedback for canvas-less Beecons)
* Bugfixing: Fixed segmentation fault if dbus get_position method called and dbus_method_monitor turned on
queen-beecon (0.1.7-PR1.1.1)
* NOTE: Special Build for PR1.1.1
* New: Implementation of Widget Instance visibility toggle and configuration parameter (for showing or hiding the widget also via DBUS)
* New: Implementation of following DBUS methods: dbus_method_monitor, show, hide, wakeup, sleep, update_content, update_layout, exec, set_param_string, set_param_int32, set_param_uint32, set_param_double, set_param_boolean, get_param string, set_position, get_position, get_exit_status
* New: Implementation of following DBUS signals: sig_content_updated
* Changed: Enhanced DBUS implementation for Widget2Widget & System2Widget Inter Process Communication
* Changed: Changed default values for some Update Policies in new QBW instances (updOnStartup now defaults to FALSE; updOnDesktop now defaults to FALSE) to prevent bugged Beecons from freezing hildon-home even after restart
* Respect: To querty12@talk.maemo.org Many, many, many, many, many thanks for supporting QBW IPC implementation
queen-beecon (0.1.6)
* New: Simple DBUS implementation for Widget2Widget & System2Widget Inter Process Communication
* New: Added Widget Instance ID in Settings Dialog Title
* Changed: Compiled Vs. PR1.2
queen-beecon (0.1.5)
* Changed: Thanks "qwerty12" disabled automatic capitalization for all text entry fields
queen-beecon (0.1.4)
* New: Implementation of Widget Instance disabling and minimizing on desktop (click on minimized icon on desktop will wakeup and maximize instance)
* New: Implementation of image/icon scaling function for all images used (Zoom In/Out from 5% to 200% or Fit to Widget Width/Height)
* Bugfixing: In Advanced Maintenance Dialog Box several bugfixes for Import/Export commands and instances.
See complete Change Log in the WIKI (http://wiki.maemo.org/Queen_BeeCon_Widget#Change_Log)
Usual WARNINGS apply to extras-devel material (http://wiki.maemo.org/Extras-devel)
WARNING!!! WARNING!!! WARNING!!!
There is a weird bug/behaviour with this release possibly localized in the new implementation of extended color dialog button/boxes (http://wiki.maemo.org/Hildon-Extras).
You can experience a QBW (Hildon-Desktop) crash when accessing the "Settings" dialog box.
This seems to happen just once after you install the package.
If this happens and you lose some of your on-screen widgets, just add back again the old missing widgets and QBW and all will be back on-shape.
I'm in the process of dealing with this problem.
Use this release just to test the added functionalities and report back any unexpected issues.
Feel free to experiment with all extended features implemented since 0.1.4 and please report bugs and experiences or feature requests here.
Have fun!
gabby131
06-08-2010, 06:28 AM
@nononoyes:
great! i just installed the update, i was gonna report about the bug but your already workin' on it! awesome!
No!No!No!Yes!
06-08-2010, 06:44 AM
@nononoyes:
great! i just installed the update, i was gonna report about the bug but your already workin' on it! awesome!
There is also another issue with hildon-extras he_color_button which I'm trying to get rid of through support from maintainer and it is:
Both on device and in sandbox, color selection dialog box only pops up if I click on the frame of the button
http://i45.tinypic.com/talnqs.jpg
Cirne
06-08-2010, 12:57 PM
Uhm ... I believe we'll lose backward compatibility for scripts if I implement this new g_spawn_async_with_pipes function.
I suppose commands like this will not be acceptable any more:
export s="foo"; wget -O - "http://www.acme.inc" | awk '{print $1 $2}'
Why wouldn't we be able to use commands like that? There's no reason that g_spawn_async_with_pipes() shouldn't be able to kick off a complex shell command line. You'd just need to add the "/bin/sh" "-c" arguments before the command line string... I'm pretty sure that's what popen() does behind the scenes, anyway.
No!No!No!Yes!
06-08-2010, 01:11 PM
Feature request: environment variable passed to commands, telling them what triggered the update (timer, click, network action, etc.)
Implemented in 0.1.9.1 in extras-devel SEE DETAILS HERE (http://wiki.maemo.org/Queen_BeeCon_Widget#Parameter_Substitution_at_Comm and.2FScript_Runtime)
Also, I personally wish you'd made the timeout an integer in the config file, rather than an index. That way we could have intermediate timeouts like 9 seconds even if they weren't on the menu. But that's a minor quibble.
Implemented in 0.1.9.2 in internal testing now...
http://i48.tinypic.com/2h7qquo.jpg
http://i50.tinypic.com/2pz0lmp.jpg
No!No!No!Yes!
06-08-2010, 01:18 PM
Why wouldn't we be able to use commands like that? There's no reason that g_spawn_async_with_pipes() shouldn't be able to kick off a complex shell command line. You'd just need to add the "/bin/sh" "-c" arguments before the command line string... I'm pretty sure that's what popen() does behind the scenes, anyway.
Yes... you probably have a point here ... I'll investigate further. ;)
:eek:
HERE I'M DYING BEHIND SIGSEGV with he_color_button ... if somebody can help ... please do!!!!
Every time I compile and regenerate a new package to test, after installation, every first click on wrench for "settings" causes QBW and Hildon-Home to DUMP!!!
If I restart Xephyr and Hildon-Desktop then it works flawlessly!!!
moepda
06-09-2010, 05:59 AM
can i ask how to get v 1.90 ? latest with colour issues so want to backtrack a version ?
No!No!No!Yes!
06-09-2010, 06:10 AM
can i ask how to get v 1.90 ? latest with colour issues so want to backtrack a version ?
Sorry ... not sure I understand you.
Are you still having color issues? (apart from the tap on the frame to open color dialog)?
I noticed crash issues only when reinstalling package over previous one.
Once you have installed 0.9.1.1 package you should not have crash any more apart from 1st time.
Could you please confirm you crash case?
However you should be able to find 0.1.9 HERE (http://maemo.org/packages/package_instance/view/fremantle_extras-devel_free_armel/queen-beecon/0.1.9/)
moepda
06-09-2010, 06:28 AM
sorry for the confusion , no crash issues just didnt like all qbw black and wasnt sure how to fix so was only 'colour tap issue to open colour dialog' i had problems with.
cheers for replying though and thanks for my favourite maemo app , much appreciated all your hard work and dedication :)
No!No!No!Yes!
06-10-2010, 04:43 PM
OK ... Queen BeeCon Widget release 0.1.9.2 is now in extras-devel (http://maemo.org/packages/package_instance/view/fremantle_extras-devel_free_armel/queen-beecon/0.1.9.2/)
Partial Change Log since 0.1.4
queen-beecon (0.1.9.2)
* New: Added custom timeout in seconds for periodic update, not just predefined list of values
* Changed: Restyle in settings configuration for Update Policies, Fonts & Colors Buttons
* Bugfixing:
queen-beecon (0.1.9.1)
* New: Parameter Variables substitution usable by script (Ex. Own Instance ID, Reason for updating content)
* New: Implementation of Command and Results text orientation angle (w/ relevant configuration parameters)
* New: New extended color dialog for background and foreground colors (Old color selection deprecated; backward compatibility for instances exported from previous releases is guaranteed and settings upgraded as necessary)
* Changed: Restyle in settings configuration for Beecon Command Exit Statuses area & Command Title/Results Settings area + changed color settings appearance
* Changed: Removed Help hints from settings dialog box (refer to the WIKI)!
* Changed: Changed transpacency settings both for beecons and for snippets... now both are less transparent
* Bugfixing: Disabled instance (icon) wasn't correctly drawn on startup; fixed
* Bugfixing: Memory deallocation bug for >=3 Exit Status image file beecon_idxge2_ImgFilename; fixed
queen-beecon (0.1.9)
* New: New extended font dialog for command and results labels (Old font selection deprecated; backward compatibility for instances exported from previous releases is guaranteed and settings upgraded as necessary)
* Changed: Due to new font settings implementation, exported instances from this release onward will have their fonts reset to command="Nokia Sans bold italic 12" results="Nokia Sans bold 12" when imported in previous releases
* Bugfixing: Some fixing and cleanup in package install/uninstall
queen-beecon (0.1.8-testonly-PR1.2)
* WARNING This release is for testing purposes only as PR1.2 upgrade brought some instabilities which need forensics!!!
* New: Implementation of DBUS methods: reset_rearm_timer
* New: QBW is now integrated into the N900 system backup/restore features according to standard specifications as better described in SDK "Using Backup Application" http://wiki.maemo.org/Documentation/Maemo_5_Developer_Guide/Generic_Platform_Components/Using_Backup_Application#Custom_back-up_locations
* Changed: Completely revised Timer logic and reset/re-arming for widget periodic auto-update
* Changed: Visual feedback when Beecons pressed; now rectangle gets drawn as well as cell (better chance of noticing feedback for canvas-less Beecons)
* Bugfixing: Fixed segmentation fault if dbus get_position method called and dbus_method_monitor turned on
queen-beecon (0.1.7-PR1.1.1)
* NOTE: Special Build for PR1.1.1
* New: Implementation of Widget Instance visibility toggle and configuration parameter (for showing or hiding the widget also via DBUS)
* New: Implementation of following DBUS methods: dbus_method_monitor, show, hide, wakeup, sleep, update_content, update_layout, exec, set_param_string, set_param_int32, set_param_uint32, set_param_double, set_param_boolean, get_param string, set_position, get_position, get_exit_status
* New: Implementation of following DBUS signals: sig_content_updated
* Changed: Enhanced DBUS implementation for Widget2Widget & System2Widget Inter Process Communication
* Changed: Changed default values for some Update Policies in new QBW instances (updOnStartup now defaults to FALSE; updOnDesktop now defaults to FALSE) to prevent bugged Beecons from freezing hildon-home even after restart
* Respect: To querty12@talk.maemo.org Many, many, many, many, many thanks for supporting QBW IPC implementation
queen-beecon (0.1.6)
* New: Simple DBUS implementation for Widget2Widget & System2Widget Inter Process Communication
* New: Added Widget Instance ID in Settings Dialog Title
* Changed: Compiled Vs. PR1.2
queen-beecon (0.1.5)
* Changed: Thanks "qwerty12" disabled automatic capitalization for all text entry fields
queen-beecon (0.1.4)
* New: Implementation of Widget Instance disabling and minimizing on desktop (click on minimized icon on desktop will wakeup and maximize instance)
* New: Implementation of image/icon scaling function for all images used (Zoom In/Out from 5% to 200% or Fit to Widget Width/Height)
* Bugfixing: In Advanced Maintenance Dialog Box several bugfixes for Import/Export commands and instances.
See complete Change Log in the WIKI (http://wiki.maemo.org/Queen_BeeCon_Widget#Change_Log)
Usual WARNINGS apply to extras-devel material (http://wiki.maemo.org/Extras-devel)
WARNING!!! WARNING!!! WARNING!!!
There is still a weird bug/behaviour with this release surely localized in the new implementation of extended color/font dialog boxes (http://wiki.maemo.org/Hildon-Extras).
You can experience a QBW (Hildon-Desktop) crash when accessing the extended Fonts and Colors widgets in the "Settings" dialog box.
This seems to happen just once after you install the package.
If this happens and you lose some of your on-screen widgets, just add back again the old missing widgets and QBW and all will be back on-shape.
I'm in the process of dealing with this problem.
Use this release just to test the added functionalities and report back any unexpected issues.
I SUGGEST YOU REBOOT YOUR PHONE AFTER INSTALLATION.
DOING THIS IT WON'T POSSIBLY CRASH!
Feel free to experiment with all extended features implemented since 0.1.4 and please report bugs and experiences or feature requests here.
Here's the shining new settings UI:
http://i47.tinypic.com/24g9l3m.jpg
Have fun
Creamy Goodness
06-11-2010, 01:01 AM
It's hard to scroll that settings thing without touching the size-adjustment sliders. and if you touch them, it instantly changes the value. could you leave a 20-30 pixel border there, on the right edge? or maybe there's a better way... just my suggestion :)
No!No!No!Yes!
06-11-2010, 03:06 AM
It's hard to scroll that settings thing without touching the size-adjustment sliders. and if you touch them, it instantly changes the value. could you leave a 20-30 pixel border there, on the right edge? or maybe there's a better way... just my suggestion :)
Only problem here: If I reduce sliders width you'll lose pixel precision for width and height... I'll see if other way exists :)
gkuenning
06-11-2010, 03:14 AM
It's hard to scroll that settings thing without touching the size-adjustment sliders. and if you touch them, it instantly changes the value. could you leave a 20-30 pixel border there, on the right edge? or maybe there's a better way... just my suggestion :)
My solution is to always use the stylus for scrolling; that way I can avoid touching the "touchy" areas. It's a bit of a nuisance, but once I got things set up I found that I don't fiddle all that much, so I can live with it.
biggzy
06-11-2010, 02:44 PM
Ok im trying this great widget out, iv made a snippet of the date but im trying to set a custom background so it matches my UI, any help here guys? thanx
No!No!No!Yes!
06-11-2010, 03:01 PM
Ok im trying this great widget out, iv made a snippet of the date but im trying to set a custom background so it matches my UI, any help here guys? thanx
Ciao, have a look here for very simple tutorial (http://talk.maemo.org/showthread.php?p=563906#post563906)
No!No!No!Yes!
06-11-2010, 03:10 PM
Asynchronous Non Hildon-Home blocking command execution is in the brewery... first results look promising.
DBUS foreigner events trigger ... next to come
biggzy
06-11-2010, 03:20 PM
Ciao, have a look here for very simple tutorial (http://talk.maemo.org/showthread.php?p=563906#post563906)
Thanx, all done now, can now work on some art etc, will redo the cpu art you wanted, if you still want it done?
qwerty12
06-11-2010, 03:26 PM
Asynchronous Non Hildon-Home blocking command execution is in the brewery... first results look promising.
DBUS foreigner events trigger ... next to come
Thank you. It should help stop any instances of the desktop locking up, as has been reported in the Desktop Command Execution Widget :)
biggzy
06-11-2010, 04:45 PM
Once iv added my CMD's and images etc is there a settings file i can copy to backup all the settings etc? thanx
biggzy
06-11-2010, 04:53 PM
So far iv done a date widget and a memory widget..
10934
The mem widget shows (left > right) RootFS, Mass Mem, Mem Card. :D
Creamy Goodness
06-11-2010, 05:01 PM
Thank you. It should help stop any instances of the desktop locking up, as has been reported in the Desktop Command Execution Widget :)
Yeah I was going to report it, I managed to freeze BeeCon when it was trying to download an image with wget and my connection dropped. I don't know if it froze the whole desktop come to think of it, but BeeCon never recovered...
qwerty12
06-11-2010, 05:04 PM
Once iv added my CMD's and images etc is there a settings file i can copy to backup all the settings etc? thanx
<backup-configuration>
<locations>
<location type="file"
category="settings">$HOME/.queen-beecon</location>
<location type="dir"
category="documents">$HOME/MyDocs/.images/queen_beecon_dir</location>
<location type="dir"
category="documents">$HOME/.queen_beecon_dir</location>
</locations>
</backup-configuration>
Quotes don't count towards fulfilling the minimum 10-character requirement...
No!No!No!Yes!
06-11-2010, 05:07 PM
Once iv added my CMD's and images etc is there a settings file i can copy to backup all the settings etc? thanx
HERE (http://wiki.maemo.org/Queen_BeeCon_Widget#Backup_all_Widget_Instances) ciao...
biggzy
06-11-2010, 05:10 PM
/etc/osso-backup/applications/queen-beecon.conf
Iv looked in that directory and cant find queen-beecon.conf
No!No!No!Yes!
06-11-2010, 05:12 PM
Yeah I was going to report it, I managed to freeze BeeCon when it was trying to download an image with wget and my connection dropped. I don't know if it froze the whole desktop come to think of it, but BeeCon never recovered...
Use wget watchdog switches:
Setting -t 1 -T 5 options prevents wget from hanging and getting stuck for more then -T 5 seconds even if connection or proxy problems arise!!! However set -T <secs> according to the foreseen size of the web content to be fetched
No!No!No!Yes!
06-11-2010, 05:19 PM
Iv looked in that directory and cant find queen-beecon.conf
If you installed from Extras, you have release 0.1.4 which doesn't have the backup features mentioned by qwerty12 (http://wiki.maemo.org/Queen_BeeCon_Widget#System_Backup.2FRestore_Integr ation)
biggzy
06-11-2010, 05:26 PM
N0!N0!N0!Yes! i got it to work by reading your wiki, thanx very much, im gonna have fun with this great app.
No!No!No!Yes!
06-11-2010, 05:51 PM
N0!N0!N0!Yes! i got it to work by reading your wiki, thanx very much, im gonna have fun with this great app.
Thanks ... If you feel "artistic enough" ... feel free to give other beecons a restyle at your ease: :)
http://wiki.maemo.org/Queen_BeeCon_Widget#Beecons
Creamy Goodness
06-11-2010, 06:26 PM
Use wget watchdog switches:
Setting -t 1 -T 5 options prevents wget from hanging and getting stuck for more then -T 5 seconds even if connection or proxy problems arise!!! However set -T <secs> according to the foreseen size of the web content to be fetched
Cool, but I was using your Flikr widget and it's already there. Something to keep an eye on then, for now.
I was trying to think of what features you could add to make the image clickable to open the full version or source page in a web browser. But I didn't read enough documentation to know that this isn't already possible. Did you consider this already?
No!No!No!Yes!
06-11-2010, 06:57 PM
Cool, but I was using your Flikr widget and it's already there. Something to keep an eye on then, for now.
I was trying to think of what features you could add to make the image clickable to open the full version or source page in a web browser. But I didn't read enough documentation to know that this isn't already possible. Did you consider this already?
Uhm ...
Just make another beecon with this command:
dbus-send --system --type=method_call --dest=com.nokia.osso_browser /com/nokia/osso_browser/request com.nokia.osso_browser.load_url string:"m.flickr.com/explore/interesting"
Shape it kind of a button and stuck it on top of the flickr one where you like...
Kind of like here:
http://talk.maemo.org/showthread.php?p=582390&postcount=41
Maybe you have to tweak a little bit the flickr showing script if you want to point more precisely to the picture you are viewing and opening the relevant page in browser.
or ...
in beecon A (flickr viewer), you can append a specially crafted DBUS set_param_string method to write on param instanceCmd of beecon B (browser popper) the call to browser with proper URL. Every time A is updated with new image, it updates B with URL to start browser...
I'm currently the world cup QBW widget to show the day's scoredboard from ESPN and I'm trying to set up a widget to show tomorrow's fixtures. My languaging skills are pretty poor and I'm trying the command:
wget -U "" -t 1 -T 5 -q -O - 'http://m.espn.go.com/soccer/scoreboard?leagueTag=fifa.world&date=1d+"%Y%m%d"&lang=EN'
but it's not working. Can anyone help me out? cheers.
vBulletin® v3.8.7, Copyright ©2000-2013, vBulletin Solutions, Inc.