Active Topics

 



Notices


Reply
Thread Tools
Posts: 51 | Thanked: 63 times | Joined on May 2010
#1151
Originally Posted by richwhite View Post
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.)

Last edited by Beatty; 2011-03-14 at 01:57. Reason: ask a question
 
Posts: 908 | Thanked: 501 times | Joined on Sep 2010 @ West Sussex, England
#1152
Originally Posted by Beatty View Post
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
 
Posts: 51 | Thanked: 63 times | Joined on May 2010
#1153
Originally Posted by richwhite View Post
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
 
Posts: 908 | Thanked: 501 times | Joined on Sep 2010 @ West Sussex, England
#1154
Originally Posted by Beatty View Post
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
 
Posts: 908 | Thanked: 501 times | Joined on Sep 2010 @ West Sussex, England
#1155
Originally Posted by Beatty View Post
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?
 
Posts: 51 | Thanked: 63 times | Joined on May 2010
#1156
Originally Posted by richwhite View Post
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.
 
Posts: 7 | Thanked: 2 times | Joined on Apr 2010
#1157
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's Avatar
Posts: 800 | Thanked: 957 times | Joined on Sep 2010 @ India
#1158
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!
__________________
My Device History:Nokia 3510 > SE T230 > Nokia 6600 > HP2210 > SE p910i > SE p990i > N95 > I-mate 9502 > itouch > Nokia N900 > ? N9
My apps for N900:
Conversation Modder

My apps for N9:
LockScreenQuotes
USbS


If you feel I have helped you, don't forget to press Thanks!
 

The Following User Says Thank You to ejasmudar For This Useful Post:
bigears5000's Avatar
Posts: 468 | Thanked: 775 times | Joined on May 2010 @ Hereford, England
#1159
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's Avatar
Posts: 623 | Thanked: 289 times | Joined on Jan 2010 @ UK
#1160
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"
 

The Following User Says Thank You to JonWW For This Useful Post:
Reply


 
Forum Jump


All times are GMT. The time now is 21:17.