On 2020-12-10 23:56-0700 Grant Taylor <gtay...@gentoo.tnetconsulting.net> wrote:
> On 12/10/20 9:20 PM, the...@sys-concept.com wrote: > > How to prevent PC from shutdown when running when power button is > > pressed? Is it a function in a BIOS or OS? > > Press and release, in less than four seconds, is the OS. Four > seconds or longer is the BIOS. > > Try stopping acpid and seeing if that gets you the desired results. Nowadays (e)logind handles that. Setting HandlePowerKey=ignore in /etc/elogind/logind.conf should disable that (haven't tested). Kind regards, tastytea -- Get my PGP key with `gpg --locate-keys tasty...@tastytea.de` or at <https://tastytea.de/tastytea.asc>.
pgpv5yVdr_7b1.pgp
Description: Digitale Signatur von OpenPGP