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
# 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