Go Back   maemo.org - Talk > Devices > Nokia N900
 
Register FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
  #1  
Old 2010-03-28, 01:18
darkanon darkanon is offline
 
Join Date: Mar 2010
Posts: 7
Thanks!: 3
Thanked 1 Time in 1 Post
Default Auto screen lock when closing keyboard?

Hi guys, my first post here since getting my N900 on Thursday

I've been playing around with the device, installing this and that, changed a few things with the help of another forum member and it is ace! However, something I feel it is really missing is a screen lock option for when you close the keyboard. For example, I do everything with the keyboard slider open. Opening it unlocks the screen, so it would be handy for me to just be able to slide it closed and it locks again.

Does anyone know if this is possible or if anyone has written an app or worked something out in the settings? I hope so, it would be much easier than using the side lock button or double tapping the power key.

Cheers
Dan
Reply With Quote
  #2  
Old 2010-03-28, 02:13
ndi's Avatar
ndi ndi is offline
 
Join Date: Dec 2009
Location: Bucharest
Posts: 2,050
Thanks!: 597
Thanked 1,425 Times in 647 Posts
Default Re: Auto screen lock when closing keyboard?

That would make many programs that use portrait quite odd to use. Phone, for one. Camera is odd when slide is open. Many-a-game. Browser portrait mode. OSK.

You could set your T&K lock to a very low value, and the phone will lock soon. Phone never locks with the keyboard open, touching the screen revives it.

It is true that one should be able to choose zero for lock timeout if for nothing else than completeness sake.
__________________
N900 dead and Nokia no longer replaces them. Thanks for all the fish.

Keep the forums clean: use "Thanks" button instead of the thank you post.
Reply With Quote
  #3  
Old 2010-03-28, 07:50
rooted rooted is offline
 
Join Date: Jan 2010
Posts: 156
Thanks!: 3
Thanked 90 Times in 48 Posts
Default Re: Auto screen lock when closing keyboard?

Very possible:

http://wiki.maemo.org/DbusScripts
http://wiki.maemo.org/Phone_control
Reply With Quote
The Following User Says Thank You to rooted For This Useful Post:
  #4  
Old 2010-03-28, 08:06
jaeezzy's Avatar
jaeezzy jaeezzy is offline
 
Join Date: Jul 2008
Location: Australia
Posts: 664
Thanks!: 208
Thanked 160 Times in 91 Posts
Default Re: Auto screen lock when closing keyboard?

It could be done easily but the thing is for most of the things it wouldn't make sense. What I would suggest you is when your phone is locked state don't unlock it with swiping or pulling the right side unlocker thing but instead just slide out the keyboard and it will unlock and do your stuff and this way if you later slide in the keyboard the screen should automatically lock if I'm not wrong.
Reply With Quote
  #5  
Old 2010-03-28, 08:10
Fargus's Avatar
Fargus Fargus is offline
 
Join Date: Oct 2009
Location: Bedfordshire, UK
Posts: 1,217
Thanks!: 1,401
Thanked 446 Times in 276 Posts
Default Re: Auto screen lock when closing keyboard?

Quote:
Originally Posted by jaeezzy View Post
It could be done easily but the thing is for most of the things it wouldn't make sense. What I would suggest you is when your phone is locked state don't unlock it with swiping or pulling the right side unlocker thing but instead just slide out the keyboard and it will unlock and do your stuff and this way if you later slide in the keyboard the screen should automatically lock if I'm not wrong.
I think you'll find that it only re-locks when you close the keyboard without doing anything else. Utilising the phone and then closing the keyboard leaves the phone unlocked.
Reply With Quote
  #6  
Old 2010-03-28, 13:19
darkanon darkanon is offline
 
Join Date: Mar 2010
Posts: 7
Thanks!: 3
Thanked 1 Time in 1 Post
Default Re: Auto screen lock when closing keyboard?

Quote:
Originally Posted by Fargus View Post
I think you'll find that it only re-locks when you close the keyboard without doing anything else. Utilising the phone and then closing the keyboard leaves the phone unlocked.
That's right Fargus. Just to clarify; I don't want to make closing the keyboard the only option for locking the screen, just as an additional option as I do most stuff with the keyboard open. If I was using the camera/anything that didn't require the keyboard I would unlock/lock it in the normal way.
Reply With Quote
  #7  
Old 2010-03-28, 13:24
hopbeat's Avatar
hopbeat hopbeat is offline
 
Join Date: Oct 2009
Location: Denmark/Poland
Posts: 516
Thanks!: 209
Thanked 643 Times in 233 Posts
Default Re: Auto screen lock when closing keyboard?

@darkanon, doable with several lines of code, I'm not really sure if it will be practical though. Is there anyone else interested in this?
__________________
Hi! I'm a Maemo Greeter!
Witaj na talk.maemo.org!

Useful links for newcomers:
Użyteczne linki:
Nowi użyktownicy mówią cześć | New members say hello , Tu zaczynają nowi użytkownicy | New users start here, Podforum społeczności | Community subforum, Wiki dla początkujących | Beginners' wiki page, Maemo5 101, Często zadawane pytania | Frequently Asked Questions (FAQ), Google

Jeżeli mogę w czymś pomóc, pytaj!
If I can help with anything else, just ask!

Bored? Follow me
Reply With Quote
  #8  
Old 2010-03-29, 13:43
darkanon darkanon is offline
 
Join Date: Mar 2010
Posts: 7
Thanks!: 3
Thanked 1 Time in 1 Post
Default Re: Auto screen lock when closing keyboard?

@hopbeat, well if someone could have a go at it I know I would really appreciate it, and I'm sure there are others who would make use of it, they maybe just haven't seen this thread. Unfortunately I don't know anything about linux/maemo or how to write code otherwise I would have a go myself.
Reply With Quote
The Following User Says Thank You to darkanon For This Useful Post:
  #9  
Old 2010-04-08, 00:01
darkanon darkanon is offline
 
Join Date: Mar 2010
Posts: 7
Thanks!: 3
Thanked 1 Time in 1 Post
Default Re: Auto screen lock when closing keyboard?

no one fancy having a go at this then?
Reply With Quote
  #10  
Old 2010-04-10, 06:04
HRZ HRZ is offline
 
Join Date: Dec 2009
Location: China
Posts: 177
Thanks!: 326
Thanked 39 Times in 21 Posts
Default Re: Auto screen lock when closing keyboard?

i also would love this feature. i saw another thread with a deb file called lockslider but its 2 yearsold and for diablo i guess, still havent found out if it works for us...
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


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