I'm used to connecting an external monitor and closing my laptop, however with Cosmic this makes the laptop suspend. I don't think there is an option for changing this behavior (yet?), but I think it makes sense for the default to be to not suspend the laptop.
My system:
Lenovo Legion 5 Pro
Arch Linux
Cosmic r131
EDIT: I found a solution that partially works. I edited /etc/systemd/logind.conf with the following config:
I'm used to connecting an external monitor and closing my laptop, however with Cosmic this makes the laptop suspend. I don't think there is an option for changing this behavior (yet?), but I think it makes sense for the default to be to not suspend the laptop.
My system: Lenovo Legion 5 Pro Arch Linux Cosmic r131
EDIT: I found a solution that partially works. I edited
/etc/systemd/logind.conf
with the following config:However the laptop monitor remains connected (verified with
cosmic-randr list
).