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)

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


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

vBulletin® Version 3.8.8