Possible Duplicate:
How can I tell Ubuntu to do nothing when I close my laptop lid?
In the office I use my notebook with an external 22" monitor. So I don't need the notebooks lcd and I would like to simply close the lid. But everytime I do this Ubuntu switches the resolution. How can I avoid this?
Justis in the commets section:
This will probably be your best answer