Closed ghost closed 3 years ago
I wonder if it is the sleep.target
vs the suspend.target
that isn't triggering the lock.
https://www.jvt.me/posts/2019/12/03/lock-before-suspend-systemd/
Archwiki mentions sleep.target, while the post above mentions suspend.target. In your case it appears sleep is the one being triggered, so you can probably modify the blog post to use Wanted: sleep.target
instead of suspend.target
.
https://wiki.archlinux.org/index.php/Session_lock#Before_suspend_or_hibernate
Can you run
sudo journalctl -axef
in a terminal and then close the lid for a minute and reopen it and share the logs via a gist with the last dozen or so lines from before the close and then anything that shows up after?