tomdi
8 January 2021 22:26
1
Is there a way to manually lock the device?
Background: I like to keep the phone unlocked for a long time (60 min, the max value) as it lays on the table and nothing happens. But then when I say, go out, I’d like to lock it.
A workaround would be to set ‘Automatic locking’ to ‘No delay’ then. Thoughts?
1 Like
In /usr/share/applications create a file ‘lockdevice.desktop’ with the content below:
[Desktop Entry]
Type=Application
X-Nemo-Application-Type=no-invoker
Name=Lock Device
Icon=lockdevice
Exec=sh -c “dbus-send --system --type=method_call --dest=org.nemomobile.devicelock /devicelock org.nemomobile.lipstick.devicelock.setState int32:1 & dbus-send --system --dest=com.nokia.mce --print-reply --type=“method_call” /com/nokia/mce/request com.nokia.mce.request.req_display_state_off”
4 Likes
Or, more simple with built-in functionality:
double press the power button (when display is on).
6 Likes
tomdi
9 January 2021 08:55
4
what an elegant simple way. Thanks for telling and to Jolla for implementing this!
Do you know a way to change the device time out via cmd line too ?
One more way (when the display is on):
Pull down the Top Menu.
Tap the lock icon at the top of the menu.
smyru
17 April 2025 09:21
7
SFOS 1.x had it better :sad_parrot: