Aspire One 64 Bit Dual Core
Ubuntu 12.04

Occasionally when I close the laptop and when I open it to get it running again the screen is dark and flashes from one shade of dark to another and has to be shut down.

I tried going to cog (upper right hand of desktop) => system settings => Power
Then I put "Do Nothing" under "On battery power" and "When plugged in" on "When the lid is closed".

But this did nothing to remedy the situation.