Ubuntu – If external display is connected {“Lid is closed : Do nothing” } else{ “Lid is closed: Suspend” }

13.10hdmimultiple-monitorssuspend

My laptop suspends when I close the lid, as I want it to.

However, when I connect an external display (HDMI) and keyboard (USB), I like to be able to close the lid of the laptop, without suspending the whole system.

Is there a setting or script to get this behavior?

Best Answer

whatever happened since this post first appeared and after making the obvious changes in settings, it now looks as if plugging a mouse and keyboard in is enough to wake the external monitor up whilst keeping the laptop lid closed and its screen off.

Related Question