View Single Post
No!No!No!Yes!'s Avatar
Posts: 700 | Thanked: 846 times | Joined on Nov 2009
#1035
Originally Posted by SavageBrat View Post
hi, I've been playing with your program which is very nice,but I'm new with using linux and I have a quick question I made a snippet to run on my desktop to show the cpu speed and this is the command the I use..

echo CPU @ `awk '{print $1/1000" MHz"}' /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq`

is this correct,it shows on my desktop but I'm confused on which button to set so it shows automatically when it on 250,500 or 600, without having to click on the snippet. Thank you
You need a system event to be real-time notified about CPU frequency changes but I can't think of any right now which signals changes in this area. (DBUS, other ...)
However you can use timer or desktop switch policies to have a very rough update.
Ciao.
__________________
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
 

The Following User Says Thank You to No!No!No!Yes! For This Useful Post: