View Single Post
Posts: 1,313 | Thanked: 2,978 times | Joined on Jun 2011 @ Finland
#425
Originally Posted by DarkSkies View Post
I'd like PM to active the auto-lock option (so the security code needs to be entered to unlock the phone) in case I am on the move and lose my phone. Any idea on how to accomplish this?

There's an option to run external commands. What would be the proper syntax to initialise auto-lock say after 10 min of inactivity?
I haven't looked how to change auto-lock, or if it's possible at all.

But here's some general ways that you can try finding out:

- Try monitoring dbus messages when you change auto-lock on/off. If it's a dbus message that changes the mode, you can create a script that sends similar dbus message.
- If that doesn't help, check the gconf values if there is configuration entry for auto-lock. Diffing between exported gconf values with auto-lock on and separately when it's off can help location the entry.
__________________
My N9/N950 projects: