maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia N900 (https://talk.maemo.org/forumdisplay.php?f=44)
-   -   Quick Screen Lock Widget / Shortcut? (https://talk.maemo.org/showthread.php?t=36309)

asidana 2009-12-08 17:58

Quick Screen Lock Widget / Shortcut?
 
Is there any quick screen lock app or script i can use on desktop? current process has to many clicks for one hand/quick use

bbin 2009-12-08 17:59

Re: quick screen lock app/shourtcat?
 
press the power button twice

asidana 2009-12-08 18:01

Re: quick screen lock app/shourtcat?
 
a ha! thanks :) you wouldn't know if there is a shortcut to unlock screen without slide would you?

noobmonkey 2009-12-08 18:03

Re: quick screen lock app/shourtcat?
 
Quote:

Originally Posted by asidana (Post 416993)
a ha! thanks :) you wouldn't know if there is a shortcut to unlock screen without slide would you?


Hehe probably a request for someone to make a quick app, doesnt sound very taxing?
But as far as i'm aware the current options are
  • Let the device time out
  • Double tap the power button
  • Slide the lock slider :) -i likie that one!
  • Ask a developer very very nicely if they will make you the desktop widget for xmas :)

hopbeat 2009-12-08 18:07

Re: quick screen lock app/shourtcat?
 
Just for record, blocking the device (keyboard and device) from an app is not a problem. But the current ways to do that should be sufficient for everyone I think :)

hypnotik 2009-12-08 18:09

Re: quick screen lock app/shourtcat?
 
Also, is there a way to put widgets on the lock screen? Would be major useful? Is the lock screen code open source or is it closed source?

Taigatrommel 2009-12-08 18:10

Re: quick screen lock app/shourtcat?
 
Quote:

Originally Posted by asidana (Post 416993)
a ha! thanks :) you wouldn't know if there is a shortcut to unlock screen without slide would you?

Maybe a dumb question, but why don't you just use the lock-button on the right side of the device? While the screen is activated, the lock-button switches it off and locks it. Unlocking again with that button turns it back on and brings you right to the desktop - without any slider. IMO the best slide/unlock mechanic I ever used on a device.

Now if the slide2unlock screen would just show some more information like upcomming tasks, etc.

asidana 2009-12-08 18:15

Re: quick screen lock app/shourtcat?
 
Quote:

Originally Posted by Taigatrommel (Post 417011)
Maybe a dumb question, but why don't you just use the lock-button on the right side of the device? While the screen is activated, the lock-button switches it off and locks it. Unlocking again with that button turns it back on and brings you right to the desktop - without any slider. IMO the best slide/unlock mechanic I ever used on a device.

Now if the slide2unlock screen would just show some more information like upcomming tasks, etc.

thats what i used to on windows mobile

ajamils 2009-12-08 18:18

Re: quick screen lock app/shourtcat?
 
I don't understand all the request for a screen lock app. Why are people so lazy that they can't even use a switch which is already there for specific reason :confused:

RevdKathy 2009-12-08 18:29

Re: quick screen lock app/shourtcat?
 
I find the 'flick-lock' slide on the end of the device pretty handy. Prior to finding that, I was having problems with locking/unlocking. Definitely for one-handed stuff.

msa 2009-12-08 18:37

Re: Quick Screen Lock Widget / Shortcut?
 
what about the lock-switch on the side?
when the device is active and you slide the lock-switch, the device locks.

but when its locked and you slide the switch, what happens?
i assumed it would unlock if you hold the switch down for a second or two.

thats how it works on my jet. push lock-button to lock, and hold pushed when locked to unlock.

Diamorph 2010-01-11 01:07

Re: Quick Screen Lock Widget / Shortcut?
 
Hi all,

is there any possibility to lock the N900 with code, than the shortcut in the power menu?

thanks for help.

alex

GaryHT627 2010-01-15 19:31

Re: quick screen lock app/shourtcat?
 
Quote:

Originally Posted by ajamils (Post 417026)
I don't understand all the request for a screen lock app. Why are people so lazy that they can't even use a switch which is already there for specific reason :confused:

Perhaps I have missed a set up option but the reason I would like to see the "slide2unlock" screen is when the phone rings it currently goes right to the answer screen and when retrieving the phone from my pocket, if not very careful, I will hit either "answer" or "ignore" and I never know for sure which one I have hit. If I had to first slide to unlock, this would not be an issue.

besides 2010-01-27 16:08

Re: quick screen lock app/shourtcat?
 
Ditto, happened to me yesterday and got in a lot of trouble for ignoring her majesty's call. Sheesh :)

Quote:

Originally Posted by GaryHT627 (Post 474774)
Perhaps I have missed a set up option but the reason I would like to see the "slide2unlock" screen is when the phone rings it currently goes right to the answer screen and when retrieving the phone from my pocket, if not very careful, I will hit either "answer" or "ignore" and I never know for sure which one I have hit. If I had to first slide to unlock, this would not be an issue.


HRZ 2010-04-13 09:16

Re: Quick Screen Lock Widget / Shortcut?
 
there's a script/app that "hacks" the screen and forces it to lock *only* when someone is calling. this might be useful for those of you who accidentally touch it while taking it out of your phone.

as for the OP's request I also second that. I'm looking for an app or script that will lock the n900 when i close the keyboard. and please don't tell me its not useful, it's all about preference - isn't that what differentiates the n900 from other phones? the ability to tweak and customize as "I" see fit. How ironic that the n900 should be the phone to have an "I" in front of it's name.

oxpo 2010-04-13 09:38

Re: Quick Screen Lock Widget / Shortcut?
 
Quote:

Originally Posted by HRZ (Post 608268)
there's a script/app that "hacks" the screen and forces it to lock *only* when someone is calling. this might be useful for those of you who accidentally touch it while taking it out of your phone.

This I want, but I can't find it. Any pointers to where it is??

/oxpo

qwerty12 2010-04-13 09:44

Re: Quick Screen Lock Widget / Shortcut?
 
Quote:

Originally Posted by oxpo (Post 608284)
This I want, but I can't find it. Any pointers to where it is??

http://maemo.org/packages/view/call-locker/

nicolai 2010-04-13 12:29

Re: Quick Screen Lock Widget / Shortcut?
 
Quote:

Originally Posted by HRZ (Post 608268)
there's a script/app that "hacks" the screen and forces it to lock *only* when someone is calling. this might be useful for those of you who accidentally touch it while taking it out of your phone.

as for the OP's request I also second that. I'm looking for an app or script that will lock the n900 when i close the keyboard. and please don't tell me its not useful, it's all about preference - isn't that what differentiates the n900 from other phones? the ability to tweak and customize as "I" see fit. How ironic that the n900 should be the phone to have an "I" in front of it's name.

Hi,
you can use dbus-scripts to automatically lock the screen when closing the keyboard.

for example, the script to lock the screen (/home/user/lock_screen.sh):

Code:

#!/bin/bash
SLIDE_PATH=/sys/devices/platform/gpio-switch/slide/state
read SLIDE_STATE < $SLIDE_PATH;

if [ "$SLIDE_STATE" == "closed" ]; then
  run-standalone.sh dbus-send --system --type=method_call --dest=com.nokia.mce /com/nokia/mce/request com.nokia.mce.request.req_tklock_mode_change string:"locked"
fi

dbus-script event:
/home/user/lock_screen.sh * * org.freedesktop.Hal.Device Condition ButtonPressed cover

Sadly, you can not use the slide button anymore (on the right side of your device)
to unlock the screen while keyboard is closed, as both
(the keyboard and the slide button) emit the same dbus signals.

But pushing the power button and slide2unlock still works.

nicolai

HRZ 2010-04-14 04:59

Re: Quick Screen Lock Widget / Shortcut?
 
@nicolai - what do i do with that code? i dont know what d-bus is...do i need an app or do i run that in DCE widget or....

thanks

nicolai 2010-04-14 08:38

Re: Quick Screen Lock Widget / Shortcut?
 
There is an applications called dbus-scripts. A tool to automatically
run some scripts on some dbus-events.
Here is another thread.http://talk.maemo.org/showthread.php?t=48132
and a wiki page http://wiki.maemo.org/DbusScripts

Beware, it is from extras-devel.
There is also a gui programm dbus-script-settings (which doesnt work for me!).

Look at the wiki page, this should make clear how to use the
script from my previous post.

nicolai

baron von bubba 2010-04-14 12:07

Re: Quick Screen Lock Widget / Shortcut?
 
Quote:

Originally Posted by msa (Post 417066)
what about the lock-switch on the side?
when the device is active and you slide the lock-switch, the device locks.

but when its locked and you slide the switch, what happens?
i assumed it would unlock if you hold the switch down for a second or two.

thats how it works on my jet. push lock-button to lock, and hold pushed when locked to unlock.

thats exactly how it works!!
does yours not unlock the device?

dtparikh 2011-04-13 08:18

Re: Quick Screen Lock Widget / Shortcut?
 
Hi,

I have set "Autolock" after 5 mins (from Systems->Device Lock option)
After 5 mins, when its locked, i would like to have an unlock slide app where we can slide the unlock bar and then enter password to activate the phone.

Also, wanted to know if this lock password can be combined with "Lock Screen and keys" option that comes up when we press the power button.

Thanks !

nicholes 2011-04-13 14:38

Re: Quick Screen Lock Widget / Shortcut?
 
here is a way to create a shortcut on your desktop to lock the screen (or in the menu)

go to app manager and install scm (shortcut maker)(thanks to tiboric)

its name is scm yes "scm" only don't confused

now open shortcut maker(you have just installed)

tap to CMD and give a name to your shortcut
(don't check box "run in xterm")
and put this in command box (better to copy the code and paste it)

Code:

/usr/bin/dbus-send --print-reply --system --dest=com.nokia.mce /com/nokia/mce/request com.nokia.mce.request.req_tklock_mode_change string:locked
and prees create...

now there should be a new icon in the menu to lock Ur screen

now go to desktop > settings > add your shortcut DONE........ !

eefo 2011-04-13 15:13

Re: Quick Screen Lock Widget / Shortcut?
 
Quote:

Originally Posted by nicholes (Post 987366)
here is a way to create a shortcut on your desktop to lock the screen (or in the menu)

go to app manager and install scm (shortcut maker)(thanks to tiboric)

its name is scm yes "scm" only don't confused

now open shortcut maker(you have just installed)

tap to CMD and give a name to your shortcut
(don't check box "run in xterm")
and put this in command box (better to copy the code and paste it)

Code:

/usr/bin/dbus-send --print-reply --system --dest=com.nokia.mce /com/nokia/mce/request com.nokia.mce.request.req_tklock_mode_change string:locked
and prees create...

now there should be a new icon in the menu to lock Ur screen

now go to desktop > settings > add your shortcut DONE........ !


ammm , is it an alternative of queen beecon ?

nicholes 2011-04-13 15:29

Re: Quick Screen Lock Widget / Shortcut?
 
Quote:

Originally Posted by eefo (Post 987393)
ammm , is it an alternative of queen beecon ?

easy to use as compare to queen beecon but not so powerful

eefo 2011-04-13 16:22

Re: Quick Screen Lock Widget / Shortcut?
 
Quote:

Originally Posted by nicholes (Post 987406)
easy to use as compare to queen beecon but not so powerful

agreed !
it is really easy .
well can you help me making a bluetooth shortcut and a wifi ?
i mean i need the command :$

qosmio 2011-04-13 16:44

Re: Quick Screen Lock Widget / Shortcut?
 
bluetooth on
dbus-send --system --type=method_call --dest=org.bluez $(dbus-send --system --print-reply --dest=org.bluez / org.bluez.Manager.ListAdapters | awk -F "\"" '/at/ {print $2}') org.bluez.Adapter.SetProperty string:Powered variant:boolean:true | echo ""

bluetooth off
dbus-send --system --type=method_call --dest=org.bluez $(dbus-send --system --print-reply --dest=org.bluez / org.bluez.Manager.ListAdapters | awk -F "\"" '/at/ {print $2}') org.bluez.Adapter.SetProperty string:Powered variant:boolean:false | echo ""

hope that helps ?

regards Qosmio

eefo 2011-04-13 16:51

Re: Quick Screen Lock Widget / Shortcut?
 
Quote:

Originally Posted by qosmio (Post 987451)
bluetooth on
dbus-send --system --type=method_call --dest=org.bluez $(dbus-send --system --print-reply --dest=org.bluez / org.bluez.Manager.ListAdapters | awk -F "\"" '/at/ {print $2}') org.bluez.Adapter.SetProperty string:Powered variant:boolean:true | echo ""

bluetooth off
dbus-send --system --type=method_call --dest=org.bluez $(dbus-send --system --print-reply --dest=org.bluez / org.bluez.Manager.ListAdapters | awk -F "\"" '/at/ {print $2}') org.bluez.Adapter.SetProperty string:Powered variant:boolean:false | echo ""

hope that helps ?

regards Qosmio

really thanks for you effort , but isn't it possible to switch on and off with one shortcut ?

eefo 2011-04-13 16:59

Re: Quick Screen Lock Widget / Shortcut?
 
and yeah btw , what if one wants to get rid of the shortcuts ?

qosmio 2011-04-13 17:00

Re: Quick Screen Lock Widget / Shortcut?
 
Quote:

Originally Posted by eefo (Post 987461)
really thanks for you effort , but isn't it possible to switch on and off with one shortcut ?

Ok... Download " Bluezwitch" easy no code needed. little bluetooth icon on all screens if you want. all it does is turn your bluetooth on and off.... Job done

regards Qosmio

richwhite 2011-04-13 17:11

Re: Quick Screen Lock Widget / Shortcut?
 
I have an invisible lock widget with QBW.
Find the desktop command exection wiki page and then paste the lock script into a new beecon (new beecon > add cmd) then just change it to look however you want. One tap and it locks, easy.

eefo 2011-04-13 17:11

Re: Quick Screen Lock Widget / Shortcut?
 
Quote:

Originally Posted by qosmio (Post 987471)
Ok... Download " Bluezwitch" easy no code needed. little bluetooth icon on all screens if you want. all it does is turn your bluetooth on and off.... Job done

regards Qosmio

thanks ;) ;)

dtparikh 2011-04-14 04:46

Re: Quick Screen Lock Widget / Shortcut?
 
1 Attachment(s)
Quote:

Originally Posted by nicholes (Post 987366)
here is a way to create a shortcut on your desktop to lock the screen (or in the menu)

go to app manager and install scm (shortcut maker)(thanks to tiboric)

its name is scm yes "scm" only don't confused

now open shortcut maker(you have just installed)

tap to CMD and give a name to your shortcut
(don't check box "run in xterm")
and put this in command box (better to copy the code and paste it)

Code:

/usr/bin/dbus-send --print-reply --system --dest=com.nokia.mce /com/nokia/mce/request com.nokia.mce.request.req_tklock_mode_change string:locked
and prees create...

now there should be a new icon in the menu to lock Ur screen

now go to desktop > settings > add your shortcut DONE........ !

Tried installing SCM but had conflicts :( ... can someone plz tell me abt these conflicts (refer screen shot below) and where they are used? also if its ok to remove those apps..

F2thaK 2011-04-14 05:22

Re: Quick Screen Lock Widget / Shortcut?
 
Quote:

Originally Posted by dtparikh (Post 987867)
Tried installing SCM but had conflicts :( ... can someone plz tell me abt these conflicts (refer screen shot below) and where they are used? also if its ok to remove those apps..

the conflicts are caused by latest CSSU update, specificly new version of Qt...

----------

I have made proximity sensor lock the screen.

you need shortcutd to do this

turn proximity on, select custom shell cmd, put the below code in custom shell cmd


Code:

/usr/bin/dbus-send --print-reply --system --dest=com.nokia.mce /com/nokia/mce/request com.nokia.mce.request.req_tklock_mode_change string:locked

chill 2011-06-16 07:32

Re: Quick Screen Lock Widget / Shortcut?
 
Quote:

Originally Posted by nicholes (Post 987366)
here is a way to create a shortcut on your desktop to lock the screen (or in the menu)

go to app manager and install scm (shortcut maker)(thanks to tiboric)

its name is scm yes "scm" only don't confused

now open shortcut maker(you have just installed)

tap to CMD and give a name to your shortcut
(don't check box "run in xterm")
and put this in command box (better to copy the code and paste it)

Code:

/usr/bin/dbus-send --print-reply --system --dest=com.nokia.mce /com/nokia/mce/request com.nokia.mce.request.req_tklock_mode_change string:locked
and prees create...

now there should be a new icon in the menu to lock Ur screen

now go to desktop > settings > add your shortcut DONE........ !

This does indeed lock the screen, but after unlocking (either with the trigger or slide2unlock), and after a few seconds, it switches from the desktop to the task switcher.

ssjmec 2011-12-17 15:20

Re: Quick Screen Lock Widget / Shortcut?
 
will this work on N9? (sorry if this shouldnt be here. cant see any thread like this on N9 forums)

Andre Klapper 2011-12-17 17:49

Re: Quick Screen Lock Widget / Shortcut?
 
Quote:

Originally Posted by ssjmec (Post 1138749)
will this work on N9? (sorry if this shouldnt be here. cant see any thread like this on N9 forums)

Would you mind to explain what exactly you mean by "this"? :)

ssjmec 2011-12-18 04:32

Re: Quick Screen Lock Widget / Shortcut?
 
Quote:

Originally Posted by Andre Klapper (Post 1138790)
Would you mind to explain what exactly you mean by "this"? :)

I meant lock screen widget / shortcut :) because I can feel my N9's power button is a bit pushed in already :(


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

vBulletin® Version 3.8.8