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

Sailfish 3: Can't change blank timeout on lockscreen

Tracked by Jolla (In release)

asked 2018-12-28 02:17:28 +0300

rasmarc gravatar image

updated 2019-01-04 14:42:20 +0300

jiit gravatar image

mcetool --set-blank-from-lockscreen=5

doesn't work anymore, timeout is fixed at 30s. Any chance to work around this or just any info about this?

Comments

I couldn't find the exact string you've quoted, but I found one very, very similar and is likely what you're needing;

mcetool --set-blank-from-lockscreen-timeout=5
Spam Hunter ( 2018-12-28 14:33:22 +0300 )
add a comment

3 Answers

Sort by » oldest newest most voted
1

answered 2018-12-28 15:07:24 +0300

rgrnetalk gravatar image

and there's also https://together.jolla.com/question/166850/how-to-add-never-sleep-to-display-settings-and-keep-display-on/

link
add a comment
1

answered 2018-12-28 21:13:26 +0300

spiiroin gravatar image

mcetool uses standard command line option parser, which accepts partial long options as long as it is long enough to match just one complete form i.e. at the moment "mcetool --set-blank-from-lockscreen=5" is treated as if "mcetool --set-blank-from-lockscreen-timeout=5" were written.

That said, the setting itself does not work as intended -> I filed an internal ticket about this.

With the advent of camera on lockscreen etc the timeouts were tweaked so that we are supposed to toggle between shorter "from lockscreen" and "not in lockscreen" timeouts depending on whether user interaction is expected or not - and now it seems that this toggling logic got broken for one or another reason.

link

Comments

Thank you.

rasmarc ( 2018-12-28 22:22:50 +0300 )
add a comment
0

answered 2018-12-28 15:10:31 +0300

rasmarc gravatar image

Thanks, I shortened the string unintentionally... but mcetool takes shortened strings as well it seems (no error message) and using

mcetool --set-blank-from-lockscreen-timeout=5

doesn't work either.

link

Comments

weird - have you tried reinstalling mcetool?

I didn't know mcetool could use shortened strings, thanks for the info.

Spam Hunter ( 2018-12-28 15:14:56 +0300 )

Removing and reinstalling mce-tools didn't help.

rasmarc ( 2018-12-28 15:59:55 +0300 )
add a comment
Login/Signup to Answer

Question tools

Follow
2 followers

Stats

Asked: 2018-12-28 02:17:28 +0300

Seen: 650 times

Last updated: Dec 28 '18