You are not logged in.
Hi!
I am running Hyprland on Arch linux 6.15.8-zen1-2-zen kernel on a Rog Flow X13 with hybrid graphics. Nvidia gpu and AMD cpu.
I am trying to produce the result of a perfect docked mode for this laptop. Ideally also when powered off, but i find this a bit complicated because the laptop doesnt respond to the power button while closed and off. So instead I am trying to achieve this result in suspend S3 (sucking up having to open the laptop to turn it on.) My assumption is that this functionality is disabled in order to prevent accidental power-on cases.
Until now, I have managed, through editing /etc/systemd/logind.conf, to login and out (and change graphics cards) with my lid closed using a separate monitor without the computer suspending. But I would like to retain functionality of the power button while the lid is closed.
It seems that whatever setting I try, the power button seems to be disabled when the lid is closed, regardless of whether or not the session is active or in suspend. It is worth noting, even to arrive at S3, I have to go through my menu and not the button itself.
I played around with the "...KeyIgnoreInhibited" settings but didn't get anywhere.
any help would be appreciated. I can't seem to find anyone trying to do the same thing around the internet so I apologize if there is a duplicate somewhere and if my wording was off. Cheers!
here is my current /etc/systemd/logind.conf
[Login]
#NAutoVTs=6
#ReserveVT=6
#KillUserProcesses=no
#KillOnlyUsers=
#KillExcludeUsers=root
#InhibitDelayMaxSec=5
#UserStopDelaySec=10
#SleepOperation=suspend-then-hibernate suspend
HandlePowerKey=suspend
HandlePowerKeyLongPress=poweroff
#HandleRebootKey=reboot
#HandleRebootKeyLongPress=poweroff
#HandleSuspendKey=suspend
#HandleSuspendKeyLongPress=hibernate
#HandleHibernateKey=hibernate
#HandleHibernateKeyLongPress=ignore
HandleLidSwitch=ignore
HandleLidSwitchExternalPower=ignore
HandleLidSwitchDocked=ignore
#HandleSecureAttentionKey=secure-attention-key
#PowerKeyIgnoreInhibited=no
#SuspendKeyIgnoreInhibited=no
#HibernateKeyIgnoreInhibited=no
#LidSwitchIgnoreInhibited=yes
#RebootKeyIgnoreInhibited=no
#HoldoffTimeoutSec=30s
#IdleAction=ignore
#IdleActionSec=30min
#RuntimeDirectorySize=10%
#RuntimeDirectoryInodesMax=
#RemoveIPC=yes
#InhibitorsMax=8192
#SessionsMax=8192
#StopIdleSessionSec=infinity
#DesignatedMaintenanceTime=
Offline