View Single Post
Posts: 875 | Thanked: 918 times | Joined on Sep 2010
#34
Originally Posted by Addison View Post
So either I need to force it back with a static number, which works, or somehow use a variable setting instead, which I don't know how to do.
So what happens if you set it to some high static value and then restore it using the following code?
Code:
blank=`gconftool-2 -g /system/osso/dsm/display/display_blank_timeout`
gconftool-2 -t int -s /system/osso/dsm/display/display_blank_timeout 300
gconftool-2 -t int -s /system/osso/dsm/display/display_blank_timeout $blank
 

The Following User Says Thank You to auouymous For This Useful Post: