View Single Post
Minhaz's Avatar
Posts: 117 | Thanked: 76 times | Joined on Aug 2010 @ Samnan,Sharjah,U.A.E.
#2762
Originally Posted by carbonjha View Post
@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
Code:
renice 0 `pgrep modest`
renice 0 `pgrep browserd`
renice 0 `pgrep image-viewer`
@All
qtlockscreen users can test this

add this line in /etc/dbus-scripts/cpu_sleep
Code:
renice -1 `pgrep qtlockscreen`
this will increase the priority of qtlockscreen when using


and in /etc/dbus-scripts/cpu_normal
Code:
renice 19 `pgrep qtlockscreen`
this will decrease the priority of qtlockscreen when screen is unlocked
will try and report ..thanks a lot though