maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   MeeGo / Harmattan (https://talk.maemo.org/forumdisplay.php?f=45)
-   -   Need help to disable screen autolock (https://talk.maemo.org/showthread.php?t=86269)

isfr21 2012-08-23 13:21

Need help to disable screen autolock
 
I found the gconf config file for the display lock. Where it says touchscreen_keypad_autolock_enabled what should I alter in order to disable autolock?

The data looks like this:

<?xml version="1.0"?>
<gconf>
<entry name="tklock_double_tap_gesture" mtime="1345707064" schema="/schemas/system/osso/dsm/locks/tklock_double_tap_gesture"/>
<entry name="touchscreen_keypad_autolock_enabled" mtime="1345707064" schema="/schemas/system/osso/dsm/locks/touchscreen_keypad_autolock_enabled"/>
</gconf>

thedead1440 2012-08-23 13:26

Re: Need help to disable screen autolock
 
make a backup of the file then can you try deleting the whole entry?

isfr21 2012-08-23 13:28

Re: Need help to disable screen autolock
 
Also random question:
Sometimes when the N9 is in a signal deadzone for a while, it has a hard time reacquiring a signal when you return to a signal area. Would lowering the value BELOW here fix that?

<?xml version="1.0"?>
<gconf>
<entry name="gprs_no_coverage_timeout" mtime="1338054505" schema="/schemas/system/osso/connectivity/network_type/GPRS/gprs_no_coverage_timeout"/>
<entry name="gprs_roaming_permission" mtime="1338054505" schema="/schemas/system/osso/connectivity/network_type/GPRS/gprs_roaming_permission"/>
<entry name="network_modules" mtime="1338054505" schema="/schemas/system/osso/connectivity/network_type/GPRS/network_modules"/>
<entry name="idle_timeout" mtime="1338054478" schema="/schemas/system/osso/connectivity/network_type/GPRS/idle_timeout"/>
</gconf>

F2thaK 2012-08-23 13:35

Re: Need help to disable screen autolock
 
OR use N9QTweak to increase time to 9999999999 minutes

:D

isfr21 2012-08-23 13:46

Re: Need help to disable screen autolock
 
@F2thaK

Thanks. Are you referring to tweak BB: Screen blanking ON/OFF? Because I don't mind if the screen goes completely blank just as long as I don't have to unlock it similar to the N900 behavior.

thedead1440 2012-08-23 13:48

Re: Need help to disable screen autolock
 
Yup i think lowering the value there should help but can you check the schema too?

wook_sf 2012-08-23 13:57

Re: Need help to disable screen autolock
 
GConfik (i think) is very nice tool that works pretty nice with gconf-2

isfr21 2012-08-23 13:58

Re: Need help to disable screen autolock
 
Tweak BB -Disabling Screen blanking although may resolve my issue of not having the N9 autolock, it does so at the cost of leaving the display on the whole time.

I remember setting my display timeout to 1min so I multiplied the above value in the first post of 1345707064 by 3 in order that the display timeouts in 1 min and the phone will thus only autolock after 3 mins which is perfect for me. Will let you know if it works.

isfr21 2012-08-23 14:09

Re: Need help to disable screen autolock
 
Ugh, didn't work. The display timed out by 1 minute and autolocked as well.

thedead1440 2012-08-23 14:13

Re: Need help to disable screen autolock
 
Quote:

Originally Posted by isfr21 (Post 1254925)
Ugh, didn't work. The display timed out by 1 minute and autolocked as well.

You mean removing the entry in the gconf file didn't work?

isfr21 2012-08-23 14:25

Re: Need help to disable screen autolock
 
I was stupid and used Mac OS textedit to open the file and remove the entry not knowing they have to be edited using a proper gconf tool. Now the file is messed up and I could use the original if you don't mind sending. (I'm not a developer)


Thank you!


Edit: It's located here: /etc/gconf/gconf.xml.defaults/system/osso/dsm/locks/%gconf.xml

isfr21 2012-08-23 14:26

Re: Need help to disable screen autolock
 
Quote:

Originally Posted by wook_sf (Post 1254915)
GConfik (i think) is very nice tool that works pretty nice with gconf-2

Thanks for the useful tip!

wook_sf 2012-08-23 14:29

Re: Need help to disable screen autolock
 
maybe: /system/osso/dsm/locks/touchscreen_keypad_autolock_enabled 0

wook_sf 2012-08-23 14:29

Re: Need help to disable screen autolock
 
Quote:

Originally Posted by isfr21 (Post 1254937)
Thanks for the useful tip!

pleasure :) worked for me, seems like :D

thedead1440 2012-08-23 14:37

Re: Need help to disable screen autolock
 
1 Attachment(s)
Quote:

Originally Posted by isfr21 (Post 1254934)
I was stupid and used Mac OS textedit to open the file and remove the entry not knowing they have to be edited using a proper gconf tool. Now the file is messed up and I could use the original if you don't mind sending. (I'm not a developer)

It's located in /etc/gconf/gconf.xml.defaults/system/osso/locks/%gconf.xml

Thank you!


Edit: It's located here: /etc/gconf/gconf.xml.defaults/system/dsm/osso/locks/%gconf.xml


I'd told you to make a backup first :D

anyway its attached here (had to zip to attach it)...

isfr21 2012-08-23 14:37

Re: Need help to disable screen autolock
 
Thanks for the file. And I know you told me to backup and trust me I put it in my head with the intent of doing so but somehow my thoughts got sidetracked and it was just too late. :eek:

wook_sf 2012-08-23 14:39

Re: Need help to disable screen autolock
 
Quote:

Originally Posted by isfr21 (Post 1254943)
@wook_sf

Can you send me the original or your edited gconf file, I messed up mine?

deadone was faster than me :D

thedead1440 2012-08-23 14:41

Re: Need help to disable screen autolock
 
Haha I might be the "deadone" but my ghost is bloody quick :D hehe...

wook_sf 2012-08-23 14:43

Re: Need help to disable screen autolock
 
Quote:

Originally Posted by thedead1440 (Post 1254947)
Haha I might be the "deadone" but my ghost is bloody quick :D hehe...

hahahahaha, indeed, you can go trough walls, i can't :P :D

//edit: seems like conf key i wrote above is not working or maybe reboot is required.
anyhow, my battery is dead to reboot :S so, i'll do it later :D

isfr21 2012-08-23 15:04

Re: Need help to disable screen autolock
 
Wow it works! Thanks everyone. Speaking of gconf, I stumbled upon the Network_Search_Interval under connectivity. It's set as a default of 300 (5 mins). My interest is credited to this post: http://talk.maemo.org/showpost.php?p...&postcount=675

I was always annoyed with the stuttering of bluetooth during audio streaming to my car and it was due to the routine Wi-Fi scanning while streaming audio.
So I set it to 0. I figure for me, why should I have my phone waste battery by looking for useless Wi-Fi every 5 minutes. If I'm away from my home Wi-Fi connection and I'm in a public area and in a situation where I need Wi-Fi, I would just hit the status bar and search and establish a connection to whatever network. I only see gains for me by disabling the routine search, specifically in battery life and of course in A2DP streaming.

When I come home I'll just manually connect to my home network and that's it!

kolos 2012-09-08 18:06

Re: Need help to disable screen autolock
 
I don't want to open new thread, so I'm going to use this one due to similar topic.

The max. timeout for autolock in Device lock setting is 60 minutes. Which command should be executed in terminal to prolong this time (e.g. 120 minutes)?


All times are GMT. The time now is 05:39.

vBulletin® Version 3.8.8