I have laptop and connected display. Now i set up my ubuntu, that laptop display off, only connected display on.
How can i set my ubuntu, that it not respond, when i close cover? I want it, because i work only with connected display, and don't need laptop display on this basis i want close my laptop cover.
Go to System -> Settings -> Power Management and there you can set what happens when you close the laptop cover.
Run these commands in terminal: