maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   General (https://talk.maemo.org/forumdisplay.php?f=7)
-   -   other ways to lock/unlock screen?! (https://talk.maemo.org/showthread.php?t=55645)

dana.s 2010-06-09 12:34

other ways to lock/unlock screen?!
 
Is there another way to to unlock the screen without using power or side slide buttons?
something like tapping the screen for few seconds and then open it, or using sensors?!

Also, is there any widget to lock the screen?

I'm trying to not use that buttons too much and use touch screen instead.

thanks.

James_Littler 2010-06-09 12:39

Re: other ways to lock/unlock screen?!
 
try opening the phone..i find that quite a useful way to unlock it

JonWW 2010-06-09 12:39

Re: other ways to lock/unlock screen?!
 
How many ways do you need?
You can double tap the power button, single click power button and select "Lock screen and keys" or slide the switch.

If you know your linux command line you could write a .desktop file to run a script to lock it, sorry I don't know how though.

dana.s 2010-06-09 12:45

Re: other ways to lock/unlock screen?!
 
@James, i assume you mean opening keyboard, i'm trying to minimize hardware interaction, like sliding...etc.

@JonWW, i'm looking for alternatives if there are, i don't want to use power and side slide buttons.

James_Littler 2010-06-09 12:53

Re: other ways to lock/unlock screen?!
 
You can re-map keys to do things, maybe camera key (possibly a bit too easy to unlock by mistake).

How about making the phone auto lock when it gets dark (in your pocket) and auto unlock if it becomes bright again (taking out of pocket)

slender 2010-06-09 12:57

Re: other ways to lock/unlock screen?!
 
What else you need? IIRC we have some kind of telepathy app on phone and in manual should be instructions how to make hadnshake to n900 with just thought.

dana.s 2010-06-09 13:03

Re: other ways to lock/unlock screen?!
 
Quote:

Originally Posted by James_Littler (Post 707131)
How about making the phone auto lock when it gets dark (in your pocket) and auto unlock if it becomes bright again (taking out of pocket)

Exactly, anything like that, i want to be able to unlock it without pressing any "button", something like touching screen, or as you said take advantage of sensors.

James_Littler 2010-06-09 13:32

Re: other ways to lock/unlock screen?!
 
Or maybe as slender said, shaking the device to unlock would be quite cool.

inidrog 2010-06-09 13:45

Re: other ways to lock/unlock screen?!
 
oh my g.

I would pay for an app/hack that does this:

1. Make the camera protector/slider not activating anything.
2. No screen-slider/swipe to activate anything.
3. No incoming call or other sms mms or mail can be answered before the slider on the right side of the phone is used.

dana.s 2010-06-09 13:56

Re: other ways to lock/unlock screen?!
 
Quote:

Originally Posted by James_Littler (Post 707190)
Or maybe as slender said, shaking the device to unlock would be quite cool.

Yes, I like that.
Do you think we can make this an "App request"?

Death Scythe 2010-06-09 14:15

Re: other ways to lock/unlock screen?!
 
Quote:

Originally Posted by James_Littler (Post 707190)
Or maybe as slender said, shaking the device to unlock would be quite cool.

They had a program that does exactly this that ran on Symbian60 phones. It used the accelerometer and locked/unlocked the phone via gestures.

hycraig 2010-06-09 14:27

Re: other ways to lock/unlock screen?!
 
i dont like to click my power button to much and because i have a skin on its hard to flick the slide switch, so i made a lock button using desktop command execution widget to make locking easier.
http://i48.tinypic.com/6qb877.png

dana.s 2010-06-09 18:19

Re: other ways to lock/unlock screen?!
 
Quote:

Originally Posted by hycraig (Post 707284)
i dont like to click my power button to much and because i have a skin on its hard to flick the slide switch, so i made a lock button using desktop command execution widget to make locking easier.
http://i48.tinypic.com/6qb877.png

Sharing it would be nice :)

hycraig 2010-06-10 11:58

Re: other ways to lock/unlock screen?!
 
Quote:

Originally Posted by dana.s (Post 707599)
Sharing it would be nice :)

here you go

dbus-send --system --type=method_call --dest=com.nokia.mce /com/nokia/mce/request com.nokia.mce.request.req_tklock_mode_change string:"locked" | echo ""

i got it from http://wiki.maemo.org/Desktop_Comman...creen_and_keys

but make sure you change settings so its like below otherwise it will lock everytime you goto homescreen lol
http://i47.tinypic.com/16iy553.png

phedders 2010-06-10 12:26

Re: other ways to lock/unlock screen?!
 
Do you know what dbus runes to use to see if the screen is currently locked?

dana.s 2010-06-10 12:26

Re: other ways to lock/unlock screen?!
 
Thanks hycraig.
I noticed when i click on save on your screen shot it will execute the command and locks the screen but it is fine.
Is there anyway to do this without this Desktop Command Excec widget?

hycraig 2010-06-10 12:36

Re: other ways to lock/unlock screen?!
 
Quote:

Originally Posted by phedders (Post 708686)
Do you know what dbus runes to use to see if the screen is currently locked?

no sorry i don't but im sure someone will know.

Quote:

Originally Posted by dana.s (Post 708688)
Is there anyway to do this without this Desktop Command Excec widget?

i'm not aware of any other way but maybe someone else might know
another method.

dana.s 2010-06-10 12:39

Re: other ways to lock/unlock screen?!
 
unlock code is there too, all we need is a small app that can listen if phone shake happened;
check if device locked then unlock it
Code:

dbus-send --system --type=method_call --dest=com.nokia.mce /com/nokia/mce/request com.nokia.mce.request.req_tklock_mode_change string:"unlocked"
if device is unlocked then lock it
Code:

dbus-send --system --type=method_call --dest=com.nokia.mce /com/nokia/mce/request com.nokia.mce.request.req_tklock_mode_change string:"locked"
of course there should be a "stop listening" period after each lock/unlock.

any developer?

qwerty12 2010-06-10 15:03

Re: other ways to lock/unlock screen?!
 
Quote:

Originally Posted by phedders (Post 708686)
Do you know what dbus runes to use to see if the screen is currently locked?

The aptly named get_tklock_mode method call will tell you. :)

Quote:

Nokia-N900:~# dbus-send --system --print-reply --type=method_call --dest=com.nokia.mce /com/nokia/mce/request com.nokia.mce.request.get_tklock_mode

method return sender=:1.8 -> dest=:1.199 reply_serial=2
string "unlocked"

JonWW 2010-06-10 15:20

Re: other ways to lock/unlock screen?!
 
1 Attachment(s)
I didn't realsize how useful somethiong like this would be :)

So I made some shortcuts one for each screen, they work, but show up in the app icon list - don't know how to remove them - does any one else?

Attachment 10871

simpu 2010-06-10 15:26

Re: other ways to lock/unlock screen?!
 
or even better, somebody could make a neat/simple/little app/widget out of that...
just to make things more un-geekish, isn't that what "everybody" is talking about?

JonWW 2010-06-10 15:45

Re: other ways to lock/unlock screen?!
 
Quote:

Originally Posted by simpu (Post 708948)
or even better, somebody could make a neat/simple/little app/widget out of that...
just to make things more un-geekish, isn't that what "everybody" is talking about?

My way works, I am just not geekish enough to make a widget or 4 to do the job - wish I could.

ddiscodave 2010-06-10 16:50

Re: other ways to lock/unlock screen?!
 
What battery app is that in the screenshot above?????

gaz_md 2010-06-10 17:30

Re: other ways to lock/unlock screen?!
 
I would also like to know what battery app that is, looks nice, better than any currently available that i can see :P

hycraig 2010-06-11 08:56

Re: other ways to lock/unlock screen?!
 
Quote:

Originally Posted by ddiscodave (Post 709074)
What battery app is that in the screenshot above?????

if you mean this one displaying % and mah of the battery this is just using desktop command execution widget
http://i48.tinypic.com/6qb877.png
thanks

gaz_md 2010-06-11 09:56

Re: other ways to lock/unlock screen?!
 
i take it this is something you have to do yourself and need to know how to do it rather than being downloadable?

Found the app and got it now :P awesome, thanks

lanser 2010-06-11 10:07

Re: other ways to lock/unlock screen?!
 
shortcutd enables you to use the proximity sensor to launch phone menu etc

ddiscodave 2010-06-11 19:43

Re: other ways to lock/unlock screen?!
 
1 - what is the command to display the battery percentage?? 2 - is the command entered in xterm? 3 - does it stay up all the time even after i shut down and/or restart the device? if not how do i make that happen? 4- how often does it update the percentage? (seconds)

ddiscodave 2010-06-12 23:29

Re: other ways to lock/unlock screen?!
 
ttt ttt ttt


All times are GMT. The time now is 18:22.

vBulletin® Version 3.8.8