Suspend on LID close
This article explains how to make your laptop go to Suspend when closing the LID.
This can be done via
acpid with a hook in /etc/acpi/LID/00000080:
a) with pm-utils:
b) with this raw variant:
Make the hook executable:
And that should be it. Make sure that the acpid daemon is running: