![]() |
Re: Security lock on the Nokia N9
#!/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. |
Re: Security lock on the Nokia N9
The thing with the above is that it will also mean having a screen that will never timeout at all, so you have to lock it manually all the time.
I was looking for a setting like in Settings>Security>Device lock>Autolock, where you can adjust the time before the security lock engages without changing the screen timeout (which I think is what solbrit was looking for, if not the OP). |
Re: Security lock on the Nokia N9
Thankyou for replying rainisto!
As Eztran points out it is a drawback though that this adresses the problem by changing the screen timeout settings... It's a shame that this isn't as easy as on the N900 where you could change the devicelock-autolock timeout to whatever you liked. I actually prefer the devicelock kicking in after a while, but one hour is too short. |
Re: Security lock on the Nokia N9
And btw, if you set the screen to never timeout as suggested and lock it manually you'll still get the security lock after x minutes as usual...
|
Re: Security lock on the Nokia N9
I just stumbled upon this.
http://talk.maemo.org/showthread.php?t=83603 With a way to enable the security lock from command line it's easy to write a script to check if the screen is locked (or one that checks for screen input, if you prefer) for x time and if true enable the security lock, and have the script run a constant loop. Code:
#!/bin/bash |
Re: Security lock on the Nokia N9
This might be a bit more interesting. It enables the security lock after 30 minutes if the phone's neither charging nor connected through wifi, both of which only occur, in my case, when at home.
Code:
#!/bin/bash |
All times are GMT. The time now is 15:18. |
vBulletin® Version 3.8.8