CorvusRuber If on Budgie/Gnome, install gnome-tweaks (sudo eopkg it gnome-tweaks), run it and in the General tab there's the option to suspend or not on lid closed.