Skip to content

Instantly share code, notes, and snippets.

View fabioesposito's full-sized avatar

Fabio Esposito fabioesposito

View GitHub Profile

Laptop running as a server

I am running an old Dell Laptop as a server with Ubuntu 18.04 on it. Installing Ubuntu on the system was straight forward, but at a certain point you want to close the lid of the laptop. This puts your laptop in sleep, which for a server is not the intended result.

Disable Sleep on Lid Close

Debians Suspend Wiki page had the right solution for this