# Closing laptop lid causes laptop to suspend (want it do nothing)

**OS:** Fedora 40 (GNOME)

**Hardware:** Asus ROG, NVIDIA graphics

**Issue:**

When I close the laptop lid, I don't want anything to happen. When I open it, the screen should be the same as when I closed it.

**Solution:**

Edit `/etc/systemd/logind.conf` so that it contains the following:

```
LidSwitchIgnoreInhibited=yes
HandleLidSwitch=ignore
HandleLidSwitchDocked=ignore
HandleLidSwitchExternalPower=ignore
```