[Help] Is there a way to prevent the monitors from turning off on Pop!OS 21.04 when I lock my laptop

I’ve noticed that whenever I lock my laptop, immediately the external monitors are turned off. I usually use my laptop with the lid closed and always on power and I don’t need this. Is there a way to prevent this?

I tried this but it didn’t work.

gsettings set org.gnome.settings-daemon.plugins.power idle-dim false

It’s been a while since I’ve done this, but have a look at the options in logind.conf.

See Man Pages for more options : logind.conf

# cat /etc/systemd/logind.conf
# These options => to ignore

HandleLidSwitch=ignore
HandleLidSwitchDocked=ignore

# Save and exit the file
# then restart the service

sudo systemctl restart systemd-logind.service

1 Like

It didn’t work. But thanks anyway.

I remember going through this, just not the exact steps. I’ll have to research it more. Problem is, I don’t have a laptop to test it on.

May want to look at the options for lock with

IdleAction=
IdleActionSec=

Edit: the other thing I recall having chronic issues with was hibernate, suspend, and wake. They are all related in that mix one way or another.

1 Like