# HandleLidSwitch status being ignored

**OS:** Fedora 40 (GNOME)

**Hardware:** Asus ROG, NVIDIA graphics

**Issue:**

I edited `logind.conf` to ignore HandleLidSwitch but every time, closing the lid would log me out of the session.

**Solution:**

See [Weird green and blue artifacts after opening and closing laptop lid](https://log.citrus.garden/books/solved-issues/page/weird-green-and-blue-artifacts-after-opening-and-closing-laptop-lid "Weird green and blue artifacts after opening and closing laptop lid")