maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Development (https://talk.maemo.org/forumdisplay.php?f=13)
-   -   where is configuration-file "lock delay" ? (https://talk.maemo.org/showthread.php?t=66826)

schasch 2010-12-10 06:37

where is configuration-file "lock delay" ?
 
2 Attachment(s)
Hello,

in wich file are the settings from this screenshots?

I want to change those settings by own-software and not
by the settings-menu

regards
schasch

nicolai 2010-12-10 09:58

Re: where is configuration-file "lock delay" ?
 
the devicelock settings are stored in gconf

the delay (or timeout) in minutes is in the gconf-path:
/system/osso/dsm/locks/devicelock_autolock_timeout

nicolai

schasch 2010-12-10 10:22

Re: where is configuration-file "lock delay" ?
 
Hi nicolai,

this file :
/system/osso/dsm/locks/devicelock_autolock_timeout

does not exist on my N900?

regards
schasch

nicolai 2010-12-10 10:31

Re: where is configuration-file "lock delay" ?
 
Even not on mine device.

gconf-path is a configuration "key" you can read and set values
with the gconf-tool

http://wiki.maemo.org/Documentation/...ferences-Gconf

nicolai

schasch 2010-12-10 10:36

Re: where is configuration-file "lock delay" ?
 
OK, thanks!

anandv76 2010-12-10 10:43

Re: where is configuration-file "lock delay" ?
 
you need to have root access:

sudo gainroot
gconftool-2 -s --type int /system/osso/dsm/locks/devicelock_autolock_timeout 120

the value at the end is in minutes please...


All times are GMT. The time now is 06:45.

vBulletin® Version 3.8.8