You are not logged in.

#1 2016-06-11 18:11:06

greengold
Member
Registered: 2010-01-30
Posts: 199

Lid action with HDMI connected

Hi people,
I am trying to configure arch to not take any action when I close the lid and have HDMI connected.
When I have HDMI conected it allways logs me off and kills the current session. It does nothing (as expected) when I DON'T have HDMI connected.

/etc/systemd/logind.conf:

#NAutoVTs=6
#ReserveVT=6
KillUserProcesses=no
#KillOnlyUsers=
KillExcludeUsers=root
#InhibitDelayMaxSec=5
HandlePowerKey=poweroff
HandleSuspendKey=suspend
HandleHibernateKey=hibernate
HandleLidSwitch=ignore
HandleLidSwitchDocked=ignore
#PowerKeyIgnoreInhibited=no
#SuspendKeyIgnoreInhibited=no
#HibernateKeyIgnoreInhibited=no
#LidSwitchIgnoreInhibited=yes
#HoldoffTimeoutSec=30s
#IdleAction=ignore
#IdleActionSec=30min
#RuntimeDirectorySize=10%
#RemoveIPC=yes
#InhibitorsMax=8192
#SessionsMax=8192
#UserTasksMax=12288

Also on gnome-tweak-tool I have 'Don't suspend on lid close' turned on.

Can you tell me where else I can disable it or what output you need to see?

Thanks

Offline

#2 2016-06-11 18:20:35

Docbroke
Member
From: India
Registered: 2015-06-13
Posts: 1,433

Re: Lid action with HDMI connected

So you have ruled out systemd-logind & gnome, managing your lid close action. Do you have any other service that may be causing suspend action like acpid or tlp?

Offline

#3 2016-06-11 18:23:01

greengold
Member
Registered: 2010-01-30
Posts: 199

Re: Lid action with HDMI connected

Docbroke wrote:

So you have ruled out systemd-logind & gnome, managing your lid close action. Do you have any other service that may be causing suspend action like acpid or tlp?

How did I rule out systemd-logind & gnome? I have acpid but don't tlp.

Last edited by greengold (2016-06-11 19:04:28)

Offline

Board footer

Powered by FluxBB