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)

Beatty 2011-03-14 01:53

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

Originally Posted by richwhite (Post 966904)
Could someone post a script for toggling silent/general? I've never done a toggle beecon, so can someone tell me or point me to a post on how it sees two pictures?

Hi Rich
My post a few above yours should do it - it is a QBW that toggles between a G and S image when profile changes.
Command use MA-Gs phone control script, which is in the repos.

Also - interested why people toggle OC frequencies. Is it a battery or other performance reason?
(Mine is permanently set at 1100 and has never missed beat.)

richwhite 2011-03-14 02:20

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

Originally Posted by Beatty (Post 967219)
Hi Rich
My post a few above yours should do it - it is a QBW that toggles between a G and S image when profile changes.
Command use MA-Gs phone control script, which is in the repos.

Also - interested why people toggle OC frequencies. Is it a battery or other performance reason?
(Mine is permanently set at 1100 and has never missed beat.)

The instructions were a little confusing to me, can you put it any clearer please?

As for toggling, mainly because i don't want to risk frying the device. 99% of the time it's fine at default speeds so i only OC if i need the extra power

Beatty 2011-03-14 06:46

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

Originally Posted by richwhite (Post 967227)
The instructions were a little conf

I'll have a try :-)

1st place to look:
http://talk.maemo.org/showpost.php?p=784834&postcount=1
This is a simple way of using the existing Phone Control scripts (http://wiki.maemo.org/Phone_control for reference)
The one called profileset can toggle between General and Silent - this was easier for me than the dbus commands in the wiki...

Create or otherwise get a General and a Silent .png file

Create a new QBW
In Beecon Statuses area, set the =0 to be your Silent .png file
set the =1 to be the General .png
In the Edit Command, if you copy the if statement in my other post and paste it here it should work straight off.

In Update Policies, set it to run on startup and on click

There will be other settings to change - I see lots of Hide "Yes" and Position "Hidden" - but the above should get you most of the way.

PS - standard disclaimer that I am a computer numpty and self taught through copying other people's good work

richwhite 2011-03-14 15:18

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

Originally Posted by Beatty (Post 967302)
I'll have a try :-)

1st place to look:
http://talk.maemo.org/showpost.php?p=784834&postcount=1
This is a simple way of using the existing Phone Control scripts (http://wiki.maemo.org/Phone_control for reference)
The one called profileset can toggle between General and Silent - this was easier for me than the dbus commands in the wiki...

Create or otherwise get a General and a Silent .png file

Create a new QBW
In Beecon Statuses area, set the =0 to be your Silent .png file
set the =1 to be the General .png
In the Edit Command, if you copy the if statement in my other post and paste it here it should work straight off.

In Update Policies, set it to run on startup and on click

There will be other settings to change - I see lots of Hide "Yes" and Position "Hidden" - but the above should get you most of the way.

PS - standard disclaimer that I am a computer numpty and self taught through copying other people's good work

Thanks for that, i'll have a crack at it when i get mine back tomorrow

richwhite 2011-03-14 16:26

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

Originally Posted by Beatty (Post 967302)
I'll have a try :-)

1st place to look:
http://talk.maemo.org/showpost.php?p=784834&postcount=1
This is a simple way of using the existing Phone Control scripts (http://wiki.maemo.org/Phone_control for reference)
The one called profileset can toggle between General and Silent - this was easier for me than the dbus commands in the wiki...

Create or otherwise get a General and a Silent .png file

Create a new QBW
In Beecon Statuses area, set the =0 to be your Silent .png file
set the =1 to be the General .png
In the Edit Command, if you copy the if statement in my other post and paste it here it should work straight off.

In Update Policies, set it to run on startup and on click

There will be other settings to change - I see lots of Hide "Yes" and Position "Hidden" - but the above should get you most of the way.

PS - standard disclaimer that I am a computer numpty and self taught through copying other people's good work

Do i need to have the default speed command too, or will simply re-tapping the QBW revert it to 600MHz?

Beatty 2011-03-14 20:06

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

Originally Posted by richwhite (Post 967591)
Do i need to have the default speed command too, or will simply re-tapping the QBW revert it to 600MHz?

The instructions I put up were for toggling between General and Silent profile.
Elie-7 made the OC profile changer - I guess using a similar logic.

hillbicks 2011-03-17 11:22

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

I'm very impressed with this tool but at the same time somewhat overwhelmed by the sheer complexity and possibilities it offers. I just started to mess around with it, so it’ll take some time until I get the hang of it.

I have on issue though. Since version X.XX there is a possibility to use the GPS/Location function and I’ve read the rest of the thread, looking for hint on how to actually use it.

My understanding is that I can trigger the execution of a snippet/beecon when the system registers the location, wether it is via cell identification or GPS Fix.

Question is now, has anyone ever done this before? I have absolutely no idea how to go about this. Where do I get the location information, where do they belong, can I use a range, etc.

If someone could point me in the right direction, that would be fantastic.

Thank you very much.

ejasmudar 2011-03-19 08:23

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

I have created a script to scrape data to view the cricket word cup result. This following is the code. I tried running it with QBW, but I am not seeing any result. But in terminal it is showing the required result.

I am running the command in QBW as
Code:

sh /path/to/script.sh
This is the script
Code:

#!/bin/sh
#Script idea from http://www.badzilla.co.uk/Screenscraping-using-wget-and-Shell-Scripting

# URL to screenscrape
cwc2011http='m.yahoo.com/w/cricket/'

# Screenscrape
wget -q  -O - $cwc2011http  | sed 's/.*Match/Match No :/' | sed 's/<img src/\n<img src /' | sed 's/negative\"\>/negative\"\>\n/'  | sed 's/<[^>]*>//g;s/^[ \t]*//;/^$/d'| sed 's/Headlines.*//'

Could anybody please help?


EDIT: sorry everyone, i got it working. The problem was my path. I gave it as MyDocs/so/and/so. I changed it to /home/user/MyDocs/so/and/so and now it is working!

bigears5000 2011-03-24 18:29

Re: [Announce] Queen BeeCon Widget: Super powerful and customizable Widget Generation Engine - Official Thread
 
Appologies if this is already posted somewhere, but I couldn't find it with power search. Could someone tell me the code to make a simple widget/button to call the phone application. Yes, I could just use the phone shortcut, but I need to use a seperate icon from the other ones and I also want to be able to place it exactly where I want it. Thanks.

JonWW 2011-03-24 18:35

Re: [Announce] Queen BeeCon Widget: Super powerful and customizable Widget Generation Engine - Official Thread
 
http://wiki.maemo.org/Phone_control#...ne_application
Code:

dbus-send --type=method_call --dest=com.nokia.HildonDesktop.AppMgr /com/nokia/HildonDesktop/AppMgr com.nokia.HildonDesktop.AppMgr.LaunchApplication string:"rtcom-call-ui"


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

vBulletin® Version 3.8.8