Hey, I have Rock64, it has power and reset physical buttons. I can power on with power button, but when system started and idling , power button dont respond. I want power off with this button. How to do that? I tried in systemd edit logind.conf uncomment line “HandlePowerKey=poweroff”, restarted system, but still power button dont react. Any suggestions?
I think you need to enable systemd-logind for this:
systemctl unmask systemd-logind
systemctl start systemd-logind