|
2010-01-04
, 00:35
|
|
Posts: 445 |
Thanked: 572 times |
Joined on Oct 2009
@ Oxford
|
#22
|
The Following User Says Thank You to ewan For This Useful Post: | ||
|
2010-01-04
, 00:42
|
|
Posts: 664 |
Thanked: 160 times |
Joined on Jul 2008
@ Australia
|
#23
|
|
2010-01-04
, 00:52
|
Posts: 152 |
Thanked: 41 times |
Joined on Dec 2009
@ Sydney
|
#24
|
On top, to make life more easier and thats what I did in my n810 but haven't tried it in n900 as I don't own it yet (but for different purpose), you can, according to this, create a .desktop file in /usr/share/applications/hildon and this will create an icon in the main menu which you can just click and get the job done. Easy
|
2010-01-04
, 00:54
|
Posts: 30 |
Thanked: 4 times |
Joined on Dec 2009
|
#25
|
Sorry, here's what you do:
1. Open up xterm.
2. In xterm type: vi powerlevel.sh
3. Press "i" key it will activate "Insert" mode.
4. Type as it is there (every line is a new line so there is enter after every line however, you don't press space in the front).
5. After you have finished typing everything, press the esc key and then ":" followed by "wq" (without double quotes) and hit enter.
6. It will save your file as powerlevel.sh in the same directory you are currently working.
7. Again in the xterm type: chmod +x powerlevel.sh
8. To execute: ./powerlevel.sh
That's it.
|
2010-01-04
, 00:56
|
Posts: 271 |
Thanked: 220 times |
Joined on Sep 2009
|
#26
|
|
2010-01-04
, 01:02
|
Posts: 152 |
Thanked: 41 times |
Joined on Dec 2009
@ Sydney
|
#27
|
thank you for typing the out for me!
I've done this and the file saved fine, i checked the contents with cat powerlevel.sh and it was correct, however when running it it doesn't change the powerlevel, any idea why? it looks fine to me and i did the chmod to, a message saying root enabled comes up when i run the file as user so it looks like its calling the correct file.
On a side note when following your instructions i had to type sudo gainroot to run the commands, would this have caused a problem?
|
2010-01-04
, 01:33
|
|
Posts: 664 |
Thanked: 160 times |
Joined on Jul 2008
@ Australia
|
#28
|
|
2010-04-14
, 10:27
|
Posts: 48 |
Thanked: 23 times |
Joined on Feb 2010
|
#29
|
echo "#!/bin/sh" > oc.sh
echo "sudo gainroot; echo 124999 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq; echo 899999 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq; cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq; cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq;" >> oc.sh
chmod +x oc.sh
|
2010-04-27
, 15:59
|
Posts: 152 |
Thanked: 41 times |
Joined on Dec 2009
@ Sydney
|
#30
|
sh oc.sh
I saw the sudoers.d dir but didn't get back to looking in there. I'll give it a peek.
Thanks.