You are not logged in.

#1 2017-03-20 13:28:33

markand
Member
Registered: 2015-04-09
Posts: 28

No suspend on lid close if HDMI is plugged

Hi,

I sometimes plug a HDMI TV monitor to my thinkpad x1 carbon with GNOME. It usually make my TV as a secondary display. If I close the lid it normally makes my TV as the primary monitor instead of suspending it. But since my last update, it does not act like this anymore and it suspend the computer.

Is there a behaviour change or do I need to set something in GNOME to get avoid suspending if an external monitor is plugged in?

Regards

Last edited by markand (2017-03-20 13:28:45)

Offline

#2 2017-04-04 11:46:26

shaoyu0209
Member
From: Taiwan
Registered: 2016-10-28
Posts: 42

Re: No suspend on lid close if HDMI is plugged

In the file /etc/systemd/logind.conf:
Uncomment / Change the line "HandleLidSwitchDocked" to "suspend" (No quotation marks).
Then:
# systemctl restart systemd-logind.service

For more info, type man logind.conf

Last edited by shaoyu0209 (2017-04-04 11:47:02)

Offline

Board footer

Powered by FluxBB