maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [Announce] Queen BeeCon Widget: Super powerful and customizable Widget Generation Engine - Official Thread (https://talk.maemo.org/showthread.php?t=45388)

sacal 2010-07-15 09:04

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

Originally Posted by No!No!No!Yes! (Post 752434)
Great job indeed:)
I'll give it a mention in the WIKI if you OK with it.

Please do it. i will be glad with that. :)
Feel free to enhance / change anything.

goetz 2010-07-15 18:58

Simple Calendar Task widget -- using QBW
 
2 Attachment(s)
With the existing calendar widgets there is always the drawback that tasks are not shown, or only one of them/the number of tasks. As the tasks are stored in a sqlite database and can be easily drawn from this database, I decided to create myself a simple widget showing the next tasks: the widget in the red box in the screenshot attached.

It's simple and displays the next 5 tasks with the following command, each task in a separate line:
Code:

sqlite3 /home/user/.calendar/calendardb 'select substr(Summary,0,30) from Components where ComponentType="2" order by DateStart limit 5;
If you would like to import this widget into QBW, please use the exported file calendar_tasks.txt attached to this post.

You can modify the number of tasks shown by changing the number after "limit", and you can change the line length of the ouput lines by modifying the "30" in the substr(....,30) call in the code snippet.

Disclaimer: Please be aware that this code snippet/widget accesses your calendar database. If you don't change the command, it shoud be a harmless read-only access, but there may be some issues when this command and the calendar app access the database at the same time. I will take no responsibility for your calendar databases if you use this command/widget!

Have fun!

Goetz

moepda 2010-07-16 09:45

Re: [Announce] Queen BeeCon Widget: Customizable and flexible monitoring tool.
 
for ua changer my id are this ;

android id14
iphone id15
n900 id16
null id17

but not sure how im editing the command ? i did this but correct ?

for android used in order to replace ids as id14 id15 id16 id17

for iphone used in order to replace ids as id15 id16 id17 id14

for n900 used in order to replace ids as id16 id17 id14 id15

for null used in order to replace ids as id17 id14 id15 id16

cheers , moepda

sacal 2010-07-16 18:11

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

Originally Posted by moepda (Post 753693)
for ua changer my id are this ;

android id14
iphone id15
n900 id16
null id17

but not sure how im editing the command ? i did this but correct ?

for android used in order to replace ids as id14 id15 id16 id17

for iphone used in order to replace ids as id15 id16 id17 id14

for n900 used in order to replace ids as id16 id17 id14 id15

for null used in order to replace ids as id17 id14 id15 id16

cheers , moepda

Hi moepda

I'm afraid your substitution will not work.

In my case i have:

id2 is UA-N900
id3 is UA-Iphone
id4 is UA-Null
id5 is UA-Droid

in your case you have:

id16 is UA-N900
id15 is UA-Iphone
id17 is UA-Null
id14 is UA-Droid

so please try to edit all UA-xxx qbw instance commands replacing:

id2 with id16
id3 with id15
id4 with id17
id5 with id14

for instance for UA-N900 after edit you shall have:

instanceTitle=UA-N900
instanceCmd=run-standalone.sh dbus-send --session --type=method_call --dest=oh.no.more.qbw /oh/no/more/qbwid16 oh.no.more.qbw.set_param_string string:"snippetExtBgRGB" string:"#ffff00000000" string:"update_layout";run-standalone.sh dbus-send --session --type=method_call --dest=oh.no.more.qbw /oh/no/more/qbwid15 oh.no.more.qbw.set_param_string string:"snippetExtBgRGB" string:"#000000000000" string:"update_layout";run-standalone.sh dbus-send --session --type=method_call --dest=oh.no.more.qbw /oh/no/more/qbwid17 oh.no.more.qbw.set_param_string string:"snippetExtBgRGB" string:"#000000000000" string:"update_layout";run-standalone.sh dbus-send --session --type=method_call --dest=oh.no.more.qbw /oh/no/more/qbwid14 oh.no.more.qbw.set_param_string string:"snippetExtBgRGB" string:"#000000000000" string:"update_layout";cp /home/user/MyDocs/.images/queen_beecon_dir/user.n900 /home/user/.mozilla/microb/user.js ; pkill -f browserui

Hope i was clear enough.

Please report if it works as expected.

moepda 2010-07-18 18:04

Re: [Announce] Queen BeeCon Widget: Customizable and flexible monitoring tool.
 
many thanks sacal :) yes it now works perfectly ! your help is much appreciated :)

techie 2010-07-21 13:01

Re: [Announce] Queen BeeCon Widget: Customizable and flexible monitoring tool.
 
1 Attachment(s)
The POWER of QBW!
Some of the widgets I have for overclocking:
  • Widget to display temperature and also perform smart overclocking i.e set max cpu clock according to how hot/cool the device is (runs at specified intervals).
  • A stock widget to revert to default kernel, disables smart overclocking.
  • A widget to set max clock to 950, disables smart overclocking, useful as a power boost when I like want to watch a video without any stuttering, and can do without the temperature widget clocking it down in case it gets hot.
  • A widget to display the current maximum cpu frequency.
  • And yeah also, locking the device changes the limits to 250 500, unlocking enables the temperature widget so it clocks according to temperature again.
..

So how many widgets I am using to achieve all this............... ONE !!!! :p:D


Attachment 12294

Note: Clicking at center of the widget updates the values (temperature & max clock) without changing any profile

HowTo : Download & Setup

grog 2010-07-21 14:08

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

Originally Posted by techie (Post 759154)
The POWER of QBW!
Some of the widgets I have for overclocking:
  • Widget to display temperature and also perform smart overclocking i.e set max cpu clock according to how hot/cool the device is (runs at specified intervals).
  • A stock widget to revert to default kernel, disables smart overclocking.
  • A widget to set max clock to 950, disables smart overclocking, useful as a power boost when I like want to watch a video without any stuttering, and can do without the temperature widget clocking it down in case it gets hot.
  • A widget to display the current maximum cpu frequency.
  • And yeah also, locking the device changes the limits to 250 500, unlocking enables the temperature widget so it clocks according to temperature again.

So how many widgets I am using to achieve all this............... ONE !!!! :p:D

GREAT testimonial. Thanks for that.know we could search & piece all of that together, but care to share the settings and/or scripts for each of those in one place? :) :)

PipoXtreme 2010-07-21 21:57

Re: [Announce] Queen BeeCon Widget: Customizable and flexible monitoring tool.
 
I'll wait of your code... its a really .great widget..:cool:

techie 2010-07-22 10:20

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

Originally Posted by grog (Post 759244)
GREAT testimonial. Thanks for that.know we could search & piece all of that together, but care to share the settings and/or scripts for each of those in one place? :) :)

yeah sure.I am now generalizing the device specific portions in my code (possibly at expense of cpu/mem?).will upload it asap once I get home.

Quote:

Originally Posted by PipoXtreme (Post 759971)
I'll wait of your code... its a really .great widget..:cool:

Thanks!that is really encouraging considering that N900 has been my first experience with linux, however it is very simple really, after I learned the operation of some commands through online educational resources and members of this community:)

PipoXtreme 2010-07-22 10:54

Re: [Announce] Queen BeeCon Widget: Customizable and flexible monitoring tool.
 
I`m new Linux fan as well ;)


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

vBulletin® Version 3.8.8