Disable lid sensor behavior for laptop in Bazzite Gaming Mode
Despite setting the lid switch to do nothing in Plasma, Gaming Mode still goes into sleep mode if my laptop is closed while connected to an external display.
Solution:Jump to solution
To fix this, I edited the
/etc/systemd/login.conf.d/deck.conf
file to include the following:
```
HandleLidSwitch=ignore
HandleLidSwitchExternalPower=ignore...1 Reply
Solution
To fix this, I edited the
/etc/systemd/login.conf.d/deck.conf
file to include the following:
This ensures the lid sensor is completely ignored, but if you ever need the regular lid behaviour when the display is not docked then the latter two can be set to sleep.