View Single Post
Posts: 1,067 | Thanked: 2,383 times | Joined on Jan 2012 @ Finland
#11
#!/bin/sh
/usr/bin/gconftool-2 --type=int --set /system/osso/dsm/display/inhibit_blank_mode 3
/usr/bin/gconftool-2 --type=int --set /schemas/system/osso/dsm/display/inhibit_blank_mode 3
/usr/bin/gconftool-2 --type=int --set /system/osso/dsm/display/display_blank_timeout 600000000
/usr/bin/gconftool-2 --type=int --set /schemas/system/osso/dsm/display/display_blank_timeout 600000000
/usr/bin/gconftool-2 --type=int --set /system/osso/dsm/display/display_dim_timeout 600000000
/usr/bin/gconftool-2 --type=int --set /schemas/system/osso/dsm/display/display_dim_timeout 600000000
/usr/bin/gconftool-2 --type=bool --set /system/osso/dsm/locks/touchscreen_keypad_autolock_enabled false

This only works if you do not have mail for exchange setup with forced values. There is a way to disable the timeout force on mfe too, but that requires you to hack devicelockd and clear the force bits, so that is another story and too complicated for most people to do.
__________________
IRC: jonni@freenode
Sailfish: ¤ Qt5 SailfishTouchExample ¤ Qt5 MultiPointTouchArea Example ¤ ipaddress ¤ stoken ¤ Sailbox (Dropbox client) ¤
Harmattan: ¤ Presence VNC for Harmattan ¤ Live-F1 ¤ BTinput-terminal ¤ BabyLock ¤ BabyLock Trial ¤ QML TextTV ¤
Disclaimer: all my posts in this forum are personal trolling and I never post in any official capacity on behalf of any company.
 

The Following 3 Users Say Thank You to rainisto For This Useful Post: