When closing the lid, the laptop does not turn off after switching from plasma 5.24 to 5.25 (now already 5.27)

This thread is a year old. :facepalm:

Hi @Gagrid and welcome to the Manjaro community.

I do not have a solution to your issue, however, let’s assume that the suggestion given by @manyroads had some merit (clearly the OP was unable to understand it).

Try this procedure:

cd /etc/systemd
sudo cp logind.conf logind.conf.backup
sudo nano /etc/systemd/logind.conf

The file previously mentioned is open in Nano. Use the up/down arrows to move the cursor down to the line:

#HandleLidSwitch=suspend

Uncomment that line (remove the #) and change suspend to poweroff - So the line will be:

HandleLidSwitch=poweroff

Exit Nano and Save the file Ctrl+x and reboot your computer. Closing the lid should now shutdown instead of suspend, if his instructions were accurate.

Let us know if that solves your issue.

A little housekeeping…

In future, please start your own thread rather than hijacking someone else’s or necrobumping (reviving a long-dead thread). Start (your own) new thread allows you to detail your specific problem so that others can help more effectively.

As a new user, please take some time to familiarise yourself with Forum requirements; in particular, the many ways to use the forum to your benefit. To that end, some or all these links will be invaluable:

And last, but not least, the Stable Update Announcements, which you should check frequently for important update related information. Occasionally an issue might be directly related to a particular update; it’s always best to check those announcements.

Cheers.