# disable power button

#### Edit `/etc/systemd/logind.conf`
    # update HandlePowerKey to "ignore"
    HandlePowerKey=ignore

#### Restart systemd-logind
    sudo systemctl restart systemd-logind
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9