holoiso-eol / holoiso

SteamOS 3 (Holo) archiso configuration
Other
5.24k stars 262 forks source link

Using Powerbutton in Gaming Mode shuts down Device instead of putting it to sleep #247

Closed NightHammer1000 closed 2 years ago

NightHammer1000 commented 2 years ago

Expected behavior would be to: Short Press: Go to Sleep Long Press: Bring up Power Menu

Both shutdown the Steam Deck in the Current Version.

NightHammer1000 commented 2 years ago

I don't think this should be closed as it's still an issue that can be figured out.

NightHammer1000 commented 2 years ago

@theVakhovskeIsTaken Actually. I found a fix.

Edit: /etc/systemd/logind.conf

Change:

HandlePowerKey=poweroff

to HandlePowerKey=suspend

Now Gamemode will suspend instead of Powering Down. Longpress still does not work but thats less of an Issue.

NightHammer1000 commented 2 years ago

Even better set HandlePowerKey=ignore because, at least on the deck, the Steamclient Itself seems to handle the ACPI Events. Now even Longpress for the Powermenu Works!

NightHammer1000 commented 2 years ago

Sorry. Can't. Have HoloISO installed permanently now that the Power button works.