Powermanagement - lock screen when system is going to sleep [SOLVED]

Hi,

I have some issues with power management. The one I’m keen of having resolved is that when I suspend or hibernate the system will lock and ask for a password while resuming.
I already set the option “lock screen when system is going to sleep” but that seem to do anything.
Any suggestions where to look?

Mabox uses betterlockscreen.
I dig a little bit about this…
Seems like you need to enable systemd service for that:

systemctl enable betterlockscreen@$USER

Found at: GitHub - betterlockscreen/betterlockscreen: 🍀 sweet looking lockscreen for linux system
I tested it in VirtualBox and it worked :slight_smile:

Topic title edited for easier searching.

Wow, you never fail to amaze me! Works like a charm, thanks!

Hi,
Now Mobox uses i3lock. My problem is the same. I can lock my screen, but the lid of my comp doesnt. I got the message “None of the screen runs successfully…”

Thank you for your help. :slight_smile:
Best regards
j

Hi, not sure what to do here. What I did before was that I made a system hook on hibernate/suspend. I believe I wrote about that here somewhere in the forum

Hi,
I think You can close it - You can delete my post aswell
Thank you
:slight_smile: