11-26-2020, 03:45 PM
(This post was last modified: 11-29-2020, 05:25 PM by ab1jx.
Edit Reason: LXDE
)
Yes, it works. In /etc/systemd/logind.conf set
HandlePowerKey=ignore
(reboot)
I would normally shutdown by typing "halt -p" or "shutdown now" in a terminal. Or use the logout section of the menu.
I also have HandleLidSwitch=ignore which works mostly. I think I lose my wifi connection or something like that, I try to set it down without closing the lid. I usually want to be able to ssh or ftp to it.
I use LXDE for the most part. It has bugs like the clock doesn't update always.
--------------
3 days later it seems to be holding fine. I can push the power button and it's ignored. If I close the lid and put it down, when I pick it back up everything's just like I left it. Except when it reboots but that's another matter.
HandlePowerKey=ignore
(reboot)
I would normally shutdown by typing "halt -p" or "shutdown now" in a terminal. Or use the logout section of the menu.
I also have HandleLidSwitch=ignore which works mostly. I think I lose my wifi connection or something like that, I try to set it down without closing the lid. I usually want to be able to ssh or ftp to it.
I use LXDE for the most part. It has bugs like the clock doesn't update always.
--------------
3 days later it seems to be holding fine. I can push the power button and it's ignored. If I close the lid and put it down, when I pick it back up everything's just like I left it. Except when it reboots but that's another matter.