View Single Post
Posts: 908 | Thanked: 501 times | Joined on Sep 2010 @ West Sussex, England
#18
Originally Posted by eefo View Post
well i am hoping to see other experts to contribute here :$
my question is how to use the lock and unlock scripts ?
i tried lock screen and keys and whoop every thing turned black as it's automatically being implemented :$
somehow i managed to get rid of it , now need help .
how to use it in a proper way :$
i have the dbus scripts for locking and unlocking .
but still will not try untill have a suggestiong.
Never used the unlock script, but i use the lock one on 2 desktops.

To use it 'properly', new beecon, 'add cmd', name it what you want and put this in the command box:

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 ""
(that's a space after mce and /com, and request and com, and before echo.)

do the height and width as you want it. If you want an image (i used to have a padlock) put imagename.png in command title settings, then use the three buttons next to that box to set the size how you want it. If you don't want an image but want the command to be invisible (which i now do), on the bottom row of that same section (above 'command results settings') is 'position', change to hidden.
Command results settings - ignore this one, except for 'position' on the bottom row, make that hidden also.

Then for update policies, do 'no' for everything except 'click'

That's it, a working lock widget.
 

The Following User Says Thank You to richwhite For This Useful Post: