Quote:
Originally Posted by CaptainChaos
Is there a way to do this through modding a plist file or something? Like if you don't want to install extended prefs?
|
Yes. Edit /var/mobile/Library/Preferences/com.apple.springboard.plist and add this key/value pair to it:
<key>SBAutoDimTime</key>
<integer>30</integer>
replace 30 with the number of seconds before the screen dims. -1 means never.
Then turn the phone off and on again (restarting SpringBoard doesn't work).
EDIT: If I'm not mistaken, this might work on a non-jailbroken iPhone, too. Using iPhonebrowser on a Windows computer, you could get access to the file (it would be at Library/Preferences/com.apple.springboard.plist).
Alternatively, install Erica Utilities (from Cydia) and in a terminal issue the command
Code:
sb -i 30 SBAutoDimTime
and reboot the phone.