We have moved to a new Sailfish OS Forum. Please start new discussions there.

Locking the device right away without waiting for the lock time [released]

asked 2013-12-28 03:34:02 +0200

make gravatar image

updated 2015-04-13 16:14:27 +0200

r0kk3rz gravatar image

Apparently there is no way to lock the device when wanted, so that it's required to enter the lock code to open the device. There should be e.g. a lock command in the lock screen menu (if the lock code is set in the settings).

There are times when I just want to lock the device right away without waiting for the lock time to get the device locked.

Edit: Alternative/additional ways for immediate locking (there are already a number of other requests for the pulley menu):

  • Lock command in pulley menu of lock screen.
  • Pinch close on lock screen.
  • Double-pressing the On/Off button
  • Double swipe from top (on lock screen only or any screen)
  • ...

Except for the menu entry, there should be a visual response by the handset showing that indeed the device is locked (e.g. the unlock-keypad being shown briefly).

EDIT (13-04-15): Double tap power button to instantly lock feature was released at some point, closing question as such.

edit retag flag offensive reopen delete

The question has been closed for the following reason "released in a software update" by r0kk3rz
close date 2015-04-13 16:12:02.480105


Two finger swipe down to lock?

stevexley ( 2014-03-13 08:00:09 +0200 )edit

My suggestion for instant passcode-lock: in, when you swipe down to enter standby mode and the grey lock icon appears, an empty container icon/key icon could be added to the right and a quick pull to the right could then move the lock icon accordingly inside the empty container/key icon = passcode lock set ON.

In short: Swipe down to standby + pull right to passcode lock -combo.

ultraboy ( 2014-03-25 10:56:12 +0200 )edit

7 Answers

Sort by » oldest newest most voted

answered 2014-01-09 12:39:13 +0200

naytsyrhc gravatar image

updated 2014-01-09 12:39:32 +0200

Suggestion (from previous answers): add option in settings to lock via timeout (as it is for now) and (optional) enable direct locking via power button and/or menu-entry in pulley-menu.

edit flag offensive delete publish link more


isn't it locked when intentionally turned off (swipe from top - guess the answer is no...)? Why the pulley menu entry when there could be that as an option?

chemist ( 2014-01-28 04:50:15 +0200 )edit

The term locking seems to be a bit misleading. Maybe the feature requested here should be called "securing the device"?

JvD ( 2014-01-28 07:25:48 +0200 )edit

I think it's "locking", because the settings refer to it as "Device lock" and the option is "Automatic locking" (timeout). The question was, how to lock right away without waiting for timeout and without setting timeout to zero seconds.

naytsyrhc ( 2014-01-28 13:36:58 +0200 )edit

Correct, but many people seems to be confusing this with the "key lock" as in putting device idle.

JvD ( 2014-01-28 13:39:12 +0200 )edit

Wouldn't the simple way be to make it a secure lock if done explicitly (power button or swipe down) and have timeout if the screen merely blanks?

Setok ( 2014-03-10 12:17:40 +0200 )edit

answered 2014-11-06 18:27:27 +0200

naytsyrhc gravatar image

There is an app called "Lock Device" available at openrepos.net that helps with this issue:


You can also add this app to Pulley Menu if you use at least

edit flag offensive delete publish link more


on one side this app is interesting. on the other side it is a little bit odd too solve a bug with an 3d part app, for a functionality which is touch of fundament of the os....

cemoi71 ( 2014-11-23 23:12:38 +0200 )edit

Of course it is, but it's there, thus I wanted to share it with you.

naytsyrhc ( 2014-11-24 00:35:53 +0200 )edit

answered 2014-01-28 04:58:51 +0200

chemist gravatar image

updated 2014-01-28 04:59:55 +0200

Add settings to Settings->Device Lock

  • swipe-down locks Device
  • Instant lock with PowerBTN
  • Add Lock-screen Pulley-Menu entry
edit flag offensive delete publish link more

answered 2013-12-30 15:19:22 +0200

rihmeld gravatar image

Choose to lock the device via power button. When the screen just times out and the lock time limit is not reached the device is not locked.

edit flag offensive delete publish link more


How does that work? I can't lock the device from the power button so that the lock code is needed to open it.

make ( 2013-12-31 10:26:00 +0200 )edit

It is not working that way. Would be great though. As the option to lock it manually before the lock timeout is reached.

rihmeld ( 2013-12-31 11:38:50 +0200 )edit

Yes. It would be great to be able to lock the device for example double pressing the power button.

JvD ( 2014-01-02 13:15:12 +0200 )edit

@JvD I think this can be achieved through: /etc/mce/10mce.ini. It has a setting called PowerKeyDoubleAction, which accepts dbus-signal as parameter. Now to figure out which signal causes device lock to happen. Predefined values tklock-lock and tklock-unlock only locks the screen, without invoking device lock.

Milo ( 2014-01-09 17:30:49 +0200 )edit

@Milo: Great. But now we need an action/signal that locks the device (and not just lock the screen). Because as you say, I too believe those actions just locks/unlocks the display (and there's also tklock-both that unlocks if locked and vice versa).

Mohjive ( 2014-01-09 17:46:04 +0200 )edit

answered 2015-04-13 15:08:39 +0200

antsuke gravatar image

press power button twice. works on yliaavanlanpi.

edit flag offensive delete publish link more


Or just set "No delay" from Settings -> System -> Device lock. :) But yeah, if you have a timer set, then the double tap on the power button is a good solution to lock the phone.

raketti ( 2015-04-13 15:23:17 +0200 )edit

answered 2014-03-10 11:36:05 +0200

Stefanix gravatar image

updated 2014-03-10 11:41:11 +0200

Unfortunately the Jolla terminology is ambiguous. "securing" sounds more clear to me (next stage after locking). The whole locking and unlocking is, in my opinion, not satisfying. I want to lock or secure the device with a single action, even with an app open, and return to the same point with unlocking. (This last request is out of the scope of this question) The swipe down can't be used for this, because it closes my app first. Have to push the app back to the home screen by side swipe, then use the down swipe to lock. The power button is an alternative to lock the device straight away. But it breaks the idea of avoiding HW buttons as much as possible.
How about this:

    - swipe down 20% closes the app, if an app is in the foreground (as it is now)
    - 50% swipe down (to the middle of the screen) locks the device, app remains active (back to home screen)
    - 100% swipe down (all over the screen) secures the devide

For compatibility, the 20% swipe down should continue to lock the device from the home screen.

edit flag offensive delete publish link more


I normally push the app to the side and swipe down in almost one single gesture. So it's one way to quickly lock the phone.

But preferable I'd like the close gesture to change ( https://together.jolla.com/question/1916/suggestion-new-gesture-to-close-app ) and then swipe down could be set to always lock the screen.

Mohjive ( 2014-03-10 11:59:40 +0200 )edit

answered 2013-12-28 04:03:31 +0200

paju gravatar image

There is. When the locking is set to no delay, you can just turn the display off by swiping from the top or pressing power button.

edit flag offensive delete publish link more


Yes, but I want to have the locking delay set AND at some times lock the device right away.

make ( 2013-12-28 04:31:27 +0200 )edit

Yeah, that's a workaround and not something nice to use :). A lock screen pulley menu entry would be perfect.

flux ( 2013-12-28 10:14:21 +0200 )edit

Question tools



Asked: 2013-12-28 03:34:02 +0200

Seen: 2,014 times

Last updated: Apr 13 '15