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

Is there the possibility to adjust an individual time for automatically device-lock?

asked 2014-02-27 22:06:38 +0300

Daniel gravatar image

updated 2014-02-27 22:11:43 +0300

chemist gravatar image

Hej!

If I want to set my Jolla to lock automatically after a few minutes, I have only the choice between: without delay, 5, 10, 30 and 60 minutes. I would rather prefer 15 or 20 minutes, so I'm just wondering, if there is any way (maybe via shell) to set an individual time?

If not, this would be a nice feature for an upcoming update.

Daniel

edit retag flag offensive close delete

1 Answer

Sort by » oldest newest most voted
2

answered 2014-02-27 22:42:41 +0300

ssahla gravatar image

From /usr/share/jolla-settings/pages/devicelock/devicelock.qml:

                MenuItem {
                    //% "5 minutes"
                    text: qsTrId("settings_devicelock-me-on5")
                    onClicked: lockingCombobox.setAutomaticLocking("5")
                }

The options are all there as MenuItems. I guess you could edit them.

And of course: You can mess up the system by editing system files, do it at your own risk!

edit flag offensive delete publish link more

Comments

Thank you very much ssahla, that works! Additionally I also changed the function updateIndex(value).

But sure, the possibility to enter an individual time directly in the device-lock menu would be more comfortable.

Daniel ( 2014-02-28 11:38:14 +0300 )edit

@Daniel, you are right. What if there was a wheel for time selection, bit like the one used for setting alarms? You could quickly and intuitively "roll" it to any number of minutes.

ssahla ( 2014-02-28 21:03:27 +0300 )edit

A wheel for time selection would be a very smart solution and a consequent continuation of Sailfish-Design. At the moment I dream of this and a pull-down-menu entry at the lockscreen for locking the device instantly,

Daniel ( 2014-03-02 23:53:50 +0300 )edit
Login/Signup to Answer

Question tools

Follow
2 followers

Stats

Asked: 2014-02-27 22:06:38 +0300

Seen: 202 times

Last updated: Feb 27 '14