Notices


Reply
Thread Tools
No!No!No!Yes!'s Avatar
Posts: 700 | Thanked: 846 times | Joined on Nov 2009
#41
Originally Posted by Patola View Post
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:



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)

__________________
Have a look at Queen BeeCon Widget (WIKI) Customizable and flexible widget-based multi-instance monitoring, alerting and interactive tool for the N900
Please provide comments and feedback for having QBW supported and enhanced further - (DONATE) - v1.3.3devel / v1.3.3testing / v1.3.3extras

Last edited by No!No!No!Yes!; 2010-03-25 at 20:24.
 

The Following User Says Thank You to No!No!No!Yes! For This Useful Post:
Posts: 267 | Thanked: 183 times | Joined on Jan 2010 @ Campinas, SP, Brazil
#42
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!'s Avatar
Posts: 700 | Thanked: 846 times | Joined on Nov 2009
#43
Originally Posted by Patola View Post
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!!!
__________________
Have a look at Queen BeeCon Widget (WIKI) Customizable and flexible widget-based multi-instance monitoring, alerting and interactive tool for the N900
Please provide comments and feedback for having QBW supported and enhanced further - (DONATE) - v1.3.3devel / v1.3.3testing / v1.3.3extras
 
Posts: 1,427 | Thanked: 2,077 times | Joined on Aug 2009 @ Sydney
#44
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. =)
 

The Following User Says Thank You to jakiman For This Useful Post:
No!No!No!Yes!'s Avatar
Posts: 700 | Thanked: 846 times | Joined on Nov 2009
#45
Originally Posted by jakiman View Post
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
__________________
Have a look at Queen BeeCon Widget (WIKI) Customizable and flexible widget-based multi-instance monitoring, alerting and interactive tool for the N900
Please provide comments and feedback for having QBW supported and enhanced further - (DONATE) - v1.3.3devel / v1.3.3testing / v1.3.3extras
 
Posts: 1,427 | Thanked: 2,077 times | Joined on Aug 2009 @ Sydney
#46
Here's some stuff I did so far with your awesome widget.
Used 5 of queen beecon (snippet mode) in this desktop.



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)

Code:
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.

Code:
echo "echo 2 > /sys/class/backlight/acx565akm/brightness" | sudo gainroot

Last edited by jakiman; 2010-04-13 at 22:41.
 

The Following 5 Users Say Thank You to jakiman For This Useful Post:
No!No!No!Yes!'s Avatar
Posts: 700 | Thanked: 846 times | Joined on Nov 2009
#47
Originally Posted by jakiman View Post
Here's some stuff I did so far with your awesome widget.
Used 5 of queen beecon (snippet mode) in this desktop.



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)

Code:
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.

Code:
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

Also Battery and Rootfs could be replaced by their specific dynamic icons showing status in a visual way like this:
__________________
Have a look at Queen BeeCon Widget (WIKI) Customizable and flexible widget-based multi-instance monitoring, alerting and interactive tool for the N900
Please provide comments and feedback for having QBW supported and enhanced further - (DONATE) - v1.3.3devel / v1.3.3testing / v1.3.3extras
 
Posts: 32 | Thanked: 12 times | Joined on Feb 2010 @ Finland
#48
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!'s Avatar
Posts: 700 | Thanked: 846 times | Joined on Nov 2009
#49
This should be the sequence of commands to script:
Code:
#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
__________________
Have a look at Queen BeeCon Widget (WIKI) Customizable and flexible widget-based multi-instance monitoring, alerting and interactive tool for the N900
Please provide comments and feedback for having QBW supported and enhanced further - (DONATE) - v1.3.3devel / v1.3.3testing / v1.3.3extras

Last edited by No!No!No!Yes!; 2010-04-14 at 10:56. Reason: Found lock screen command
 

The Following 2 Users Say Thank You to No!No!No!Yes! For This Useful Post:
Guest | Posts: n/a | Thanked: 0 times | Joined on
#50
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!
 

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


 
Forum Jump


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