This terminal command can turn off computer:
sudo shutdown -h now
Yes, I know, I’m just used to XFCE, so LXDE seemed closer to me. In
addition, it comes with the kit. :) Anyway, thank you very much.
I am using LXDE now.
Good afternoon.
Logging has helped, apparently the whole point is a malfunction of the power
button. Or in the internal circuits... Now I’m thinking how can I turn off
the PC off programmatically at the click of a button?
...
июн 06 22:25:09 pc systemd-logind[803]: Power key pressed. ( I
The worst possibility is hardware failure. I had a coreboot X230 which often
automatically power-off (several times per day). It turned out to be chipset
physical damage, so I sold it to someone else.
Thanks for the answer. Yesterday I reinstalled the system, but it still
periodically shuts down. I entered your code, errors were detected, but, as I
understood it in the current session.
sergey@pc:~$ journalctl -p 3
-- Logs begin at Пт 2020-06-05 11:18:01 MSK, end at Пт 2020-06-05
Good afternoon. :)
I installed Trisquel a few years ago and it behaved quite stably. However,
recently the laptop began to turn off spontaneously from time to time.
Moreover, it does not crash, namely, turn off, as if I myself had given him
the command to turn off. I wanted to see the