How to get the power button to suspend when the screen is locked?

I've looked into lightdm settings and tried using systemd logind.conf file but still cannot do it.
Maybe I have to disable something for systemd logind.conf to work, I don't know.

1 Like

Welcome @mkamelll to the community!

1 Like

Since it completely defeats the purpose of a screenlock, you can't.

But since it defeats the purpose of a screenlock, you might as well disable the screenlock altogether :wink:

1 Like