HandlePowerKey:ignore
HandleSuspendKey:ignore
HandleHibernateKey:ignore
HandleLidSwitch:ignore
I can't 'choose' a program for suspending. I have no choice in the matter. gnome-power-manager is *not* controlling sleep mode and I can't remove acpi without breaking the system.
]]>*How can I set acpi to not handle suspend to ram?*
You can't, really. ACPI is the interface everything uses for power functions. This is why WonderWoofy gave you the links. If you disable ACPI, none of the tools will work.
This really is straight forward, you choose one of the three tools and use it, disabling the others. Systemd handles it with logind, you can tell it what you want it to do in logind.conf, including ignoring the power functions. If you want that to handle it, just uninstall acpid and either uninstall or turn off the Gnome applet. If you want to use acpid, disable the functions in logind.conf and Gnome and configure acpid to your hearts content. If you want to use the Gnome app, turn off the logind options and uninstall acpid.
WonderWoofy is getting frustrated with you because this issue has been discussed half a dozen times over the last two days on this forum alone, and it's really not complicated enough to warrant that.
]]>I removed acpid with pacman but that didn't make any change. I removed gnome-power-manager and that had no effect. I figured out how to disable acpi by adding acpi=off to my kernal line in grub.cfg (that little trick was fond in a forum *not* in the man pages). But when I rebooted Xorg failed to start. Finally I disabled systemd by removing it from my kernel line and removed the 'acpi=off' as well. Now I am just running acpi (no systemd) and suspend works as intended. Frankly, I'd be happy to not use systemd at all but I remember the only reason I switched to systemd is because my damn clock would keep the right time. If I have to go back to systemd I'll need to figure out this suspend issue.
]]>I have Arch running on a System76 Gazelle Pro using Gnome-Shell (in case that's relevant). When I close the lid the laptop suspends to RAM. When I open the lid the laptop attempts to wake, I see the lock screen, but then the computer suspends again. I can wake the laptop by pressing the power button. Any thoughts on why the computer goes back to suspend mode when I open the lid?
Thanks.
]]>