Suspend on LID close
This article explanis how to make your laptop go to Suspend when closing the LID.
This can be done via pm-utils and acpid. Install pm-utils if it is not already.
Create an acpid hook script called /etc/acpi/LID/00000080:
Make the hook executable:
And that should be it. Make sure that the acpid daemon is running: