View Single Post
Posts: 10 | Thanked: 0 times | Joined on May 2010
#6
Originally Posted by jakiman View Post
okay. I also tried my old commands with the new leaked kernel with QBW and it wouldn't work.

Now I use this: (will update my posts mentioned)



You will need rootsh 1.5 installed. (not 1.8 from extras-devel as that disables rootsh command)
I'm doing it another way now.
This file is /home/user/scripts/default and has an entry in sudoers via sudoers.d since using vimsudo is supposedly bad see here.
Nokia-N900-02-8:/home/user/scripts# cat default
#!/bin/sh
/usr/sbin/kernel-load /usr/share/kernel-power-settings/default
cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq | awk '{print $1/1000"MHz"}'
This way my buttons show what frequency they'd be running at.

I have both the Ideal and Stock widgets to only update when pressed and the Speed widget to updates on default.


Here's an image:




Now what I'd like to know is if it's possible to edit my stock/ideal scripts to update just the speed widget as soon as they are pressed. I'm also curious as to how to back up my widget/desktop screen as they're a pain in the *** to redo and I actually lost all my widgets due to a beecon command being sudo'd being entered in without being in sudoers. Anyone have any ideas?