the-cavalry / light-locker

A simple session-locker for lightdm
GNU General Public License v2.0
221 stars 22 forks source link

lock hint not provided after suspending #160

Open JezerM opened 3 years ago

JezerM commented 3 years ago

LightDM offers the get_lock_hint method, to know whether lightdm is executed as a lockscreen or not.

When running the command light-locker-command -l, it works fine; the lock hint is provided, being set to "true". But after the system is suspended, lock hint is not provided, and so it is "false". I think this souldn't be this way, as it is still acting as a lock screen.

jarnos commented 3 years ago

But is system locked after resuming from suspend? Is the locking command run beforehand?

JezerM commented 3 years ago

Yes, locking works perfectly after resuming from suspend. The only problem is that lock hint is not provided.

I guess the locking command runs when suspend starts. When it resumes, LightDM resumes too (or starts).