Queen BeeCon Widget
(→Beecons) |
(→Scripts) |
||
Line 194: | Line 194: | ||
== Scripts == | == Scripts == | ||
+ | |||
+ | [[Desktop Command Execution Widget scripts|Various Scripts Collection]] | ||
== Commands == | == Commands == | ||
---- | ---- |
Revision as of 09:29, 18 April 2010
Overview and Description
Queen BeeCon Widget (See Talk Thread) is a highly customizable and flexible widget-based multi-instance monitoring and alerting tool.
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
Beecons can be either clustered/tiled to represent logically grouped beecons (or "BeeHives" :D ) or stacked to logically connect a parent to children Beecons.
Snippets are normal text/graphic boxes with fixed background color and images which is not influenced by the executed Command Exit Status.
Current Status in Maemo Repositories
(v0.1.4 extras-devel / v0.1.4 extras-testing)
Features List
- Widget can be multi-instantiated, disabled and minimized on desktop (click on minimized icon on desktop will wakeup and maximize instance)
- Possibility to define multiple commands and command labels to be displayed inside the Widget
- Different types of Widget layouts and behaviours (currently Beecons and Snippets)
- Possibility to hide the background Canvas both for Beecons and Snippets
- Possibility to use icons/images instead of text both for Beecons/Snippets command title and output (with high positioning, zooming/scaling 5%-200%-FitToWidget versatility) ;)
- It is possible to indipendently show or hide both snippet's images/texts and beecon images/texts. This way you can have two images and two text placeholders on widget, for more flexibility in graphic layout
- Independent images/icons for Command Exit Statuses >=3 can also been specified. The display of this extended statuses is driven by Command Exit Status. Useful, for example, for displaying different icons according to percentages values returned by command.
- 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) ;)
- Nice gummy "button-press"-like visual feedback using Gradient fill
- Widget relies also on a private general purpose directories "~/.queen_beecon_dir/" & "..../MyDocs/.images/queen_beecon_dir/" as images/icons/etc. immediate storage. For easier population via USB of BLUETOOTH File Services.
- Widget texts can be formatted through Pango Markup Language
- Widget Size can be customized (Width: 10-800, Height: 10-420) and position can be fine tuned (X,Y +/- 5pix); Tweaking /usr/share/hildon-desktop/transitions.ini may also help. (snap_grid_size = 1 & snap_to_grid_while_move = 1)
- Background color for Beecons can be customized for each 4 Command Exit Statuses
- Background color for Snippets can be customized
- Font Color of both command label and results can be configured
- Position and Visibility of both command label and results can be configured (Hidden, Top L, Top C, Top R, Center L, Center, Center R, Bottom L, Bottom C, Bottom R)
- Font Face of both command label and results can be configured (Nokia Sans, NewCourier, NewTimes, Monospace, Nokia Sans Cn, Nokia Sans Maps, Nokia Sans SemiBold, Sans, Serif, SwissA, Tanseek Pro Arabic, Univers OTS Arabic)
- Font Style of both command label and results can be configured (Regular, Italic, Bold, Italic Bold)
- Text Justification of both command label and results can be configured (Left, Center, Right, Fill)
- Font Size of both command label and results can be configured (8->48)
- Command execution can be triggered optionally on widget startup, by manual pressing on Widget, by desktop switching, by periodic updates (0=Manual, 30s, 1m, 5m, 30m, 1h, 6h, 12h, 1d)
- Command execution can be subject to network connection status.
- Tool includes a powerful Advanced Maintenance Dialog Box for command development and testing (TestDrive mode to display raw output of predefined or user-defined commands)
- Advanced Maintenance Dialog Box includes extended functionalities like: instance export/import w/ checksum, command export/import w/ checksum, command update with current Test Drive buffer, clipboard operations.
- A set of basic Images/Icons for Snippets and Beecon Statuses is included inside the distribution package and installed inside canonical hildon hicolor 48x48 directory
- For Web and Proxy related issue please have a look to THIS post.
Settings and Tools
Advanced Settings and Tools
Known Issues
- TBD
Now-Brewing
queen-beecon (0.1.5)
- PR 1.2 Compatibility
- Major & Minor Bugfixing
Change Log
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,
queen-beecon (0.1.3)
- 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
queen-beecon (0.1.2)
- New: Implemented Pango Markup Language support for both Command Title and Output Results text (Description HERE)
- New: Basic implementation of Advanced Maintenance Dialog Box (For future use like export/import ...)
- New: Advanced Maintenance Dialog Box: TestDrive mode (to display raw output of predefined or user-defined commands)
- Changed: Had to change description in debian "control" file (Testers Karma-- me for this)
- Changed: Changed logic in settings dialog box, now it doesn't redraw unless strictly necessary and just content and controls which need it. Also quicker transition to main settings when back from child dialog boxes.
queen-beecon (0.1.1)
- 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
queen-beecon (0.1.0)
- 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)
queen-beecon (0.0.3)
- 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
queen-beecon (0.0.2)
- First Extras-devel release
queen-beecon (0.0.1)
- Initial Basic Queen BeeCon Implementation
TODO list
- Bugfixing and Improving Stability
- Instance Import/Export optimization and simplification
HOW-TOs
[HowTo] Import Procedure for Beecon Exported Instance Data
[HowTo] Copy Exported Instance Data to Phone's Clipboard
[HowTo] Export/Save Procedure for Beecon Instance Data
Easter Eggs
Published Beecons, Scripts & Commands
Beecons
N900 Hard Sleep Mode
The Beecon will put the N900 into Hard Sleep Mode. When pressed, it'll perform the following actions:
- Set WIFI OFF
- Change phone network mode to GSM
- Shutdown all network connections
- Blank the screen
- Lock device
European Soccer Leagues Live Results and Next Matches Beecon
The Beecon will also be able to highlight the match of your favourite Team and display a Green ball if it is winning, Yellow ball if match is tied, Red ball if team is losing, White ball if match is still not currently being played.