On 2020-12-10 23:56-0700 Grant Taylor <[email protected]> wrote:
> On 12/10/20 9:20 PM, [email protected] 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 [email protected]` or at <https://tastytea.de/tastytea.asc>.
pgpv5yVdr_7b1.pgp
Description: Digitale Signatur von OpenPGP

