![]() |
2011-12-02
, 19:07
|
Posts: 105 |
Thanked: 4 times |
Joined on Sep 2011
|
#2761
|
![]() |
2011-12-02
, 19:09
|
|
Posts: 117 |
Thanked: 76 times |
Joined on Aug 2010
@ Samnan,Sharjah,U.A.E.
|
#2762
|
@karam
thanks a lot for the update
I think it is important to renice the processes of cpu_sleep back to 0 in cpu_normal
otherwise their nice value will always remain 1 & the processes will be ignored during cpu load
/etc/dbus-scripts/cpu_normal
@AllCode:renice 0 `pgrep modest` renice 0 `pgrep browserd` renice 0 `pgrep image-viewer`
qtlockscreen users can test this
add this line in /etc/dbus-scripts/cpu_sleep
this will increase the priority of qtlockscreen when usingCode:renice -1 `pgrep qtlockscreen`
and in /etc/dbus-scripts/cpu_normal
this will decrease the priority of qtlockscreen when screen is unlockedCode:renice 19 `pgrep qtlockscreen`
![]() |
2011-12-02
, 19:30
|
|
Posts: 909 |
Thanked: 216 times |
Joined on Nov 2009
@ Bremen, Germany
|
#2763
|
![]() |
2011-12-02
, 19:40
|
Posts: 13 |
Thanked: 1 time |
Joined on Nov 2011
|
#2764
|
![]() |
2011-12-02
, 19:47
|
|
Posts: 117 |
Thanked: 76 times |
Joined on Aug 2010
@ Samnan,Sharjah,U.A.E.
|
#2765
|
![]() |
2011-12-03
, 00:01
|
Posts: 105 |
Thanked: 4 times |
Joined on Sep 2011
|
#2766
|
![]() |
2011-12-03
, 00:13
|
|
Posts: 909 |
Thanked: 216 times |
Joined on Nov 2009
@ Bremen, Germany
|
#2767
|
![]() |
2011-12-03
, 00:43
|
Posts: 356 |
Thanked: 69 times |
Joined on Jan 2010
@ Poland
|
#2769
|
@All
qtlockscreen users can test this
add this line in /etc/dbus-scripts/cpu_sleep
this will increase the priority of qtlockscreen when usingCode:renice -1 `pgrep qtlockscreen`
and in /etc/dbus-scripts/cpu_normal
this will decrease the priority of qtlockscreen when screen is unlockedCode:renice 19 `pgrep qtlockscreen`
![]() |
2011-12-03
, 03:25
|
Posts: 13 |
Thanked: 1 time |
Joined on Nov 2011
|
#2770
|
![]() |
Tags |
autobrick, awesome-script, do no install, f***epitaph, install it now, perfect_ n900, script-a-brick, very safe |
|