![]() |
Re: [Request/Idea] enable "secure device" lock based on wifi network
What about "wifiunlock" or "wlanunlock" or smth that hasn't even with wifi to doб like "homeunlock"?
EDIT: Quote:
|
Re: [Request/Idea] enable "secure device" lock based on wifi network
Decided to use my friend's idea ConnLock.
I haven't uploaded it to extras-devel, because I want to fix couple things first, but here is .deb: http://hosted.laasonen.net/connlock_0.1.0-1_all.deb There is something really strange about osso-systemui. Power button menu randomly stops working. I first thought it was just my shell script which was directly reading pwrbutton, but it's now happening with my python/dbus version :( Is it just me? Any suggestions? http://hosted.laasonen.net/attachment-KVS8SV.png http://hosted.laasonen.net/attachment-QKJ5SV.png |
Re: [Request/Idea] enable "secure device" lock based on wifi network
why REMOVED?
|
Re: [Request/Idea] enable "secure device" lock based on wifi network
Quote:
|
Re: [Request/Idea] enable "secure device" lock based on wifi network
Quote:
You can turn off the autolock by changing the value of GConf key /system/osso/dsm/locks/devicelock_autolock_enabled |
Re: [Request/Idea] enable "secure device" lock based on wifi network
^^
Easily done using /etc/network/if-up.d/ and watching iwconfig for the associating SSID. |
Re: [Request/Idea] enable "secure device" lock based on wifi network
Quote:
Code:
self.bus.add_signal_receiver(self.unlock, path='/com/nokia/mce/signal', dbus_interface='com.nokia.mce.signal', signal_name='tklock_mode_ind') Quote:
Code:
gconftool -s -t bool /system/osso/dsm/locks/devicelock_autolock_enabled false I have been testing the dbus devlock_close call more. If I lock the device with dbus like this: Code:
dbus-send --system --type=method_call --dest=com.nokia.system_ui /com/nokia/system_ui/request com.nokia.system_ui.request.devlock_open string:"com.nokia.mce" string:"/com/nokia/mce/request" string:"com.nokia.mce.request" string:"devlock_callback" uint32:'3' Code:
dbus-send --system --type=method_call --dest=com.nokia.system_ui /com/nokia/system_ui/request com.nokia.system_ui.request.devlock_close string:"com.nokia.mce" string:"/com/nokia/mce/request" string:"com.nokia.mce.request" string:"devlock_callback" uint32:'0' |
Re: [Request/Idea] enable "secure device" lock based on wifi network
Quote:
|
Re: [Request/Idea] enable "secure device" lock based on wifi network
Code:
dbus-send --system --type=method_call --dest=com.nokia.mce /com/nokia/mce/request com.nokia.mce.request.devlock_callback int32:2 |
Re: [Request/Idea] enable "secure device" lock based on wifi network
Quote:
|
All times are GMT. The time now is 05:31. |
vBulletin® Version 3.8.8