1 |
On 2020-12-10 23:56-0700 Grant Taylor |
2 |
<gtaylor@×××××××××××××××××××××.net> wrote: |
3 |
|
4 |
> On 12/10/20 9:20 PM, thelma@×××××××××××.com wrote: |
5 |
> > How to prevent PC from shutdown when running when power button is |
6 |
> > pressed? Is it a function in a BIOS or OS? |
7 |
> |
8 |
> Press and release, in less than four seconds, is the OS. Four |
9 |
> seconds or longer is the BIOS. |
10 |
> |
11 |
> Try stopping acpid and seeing if that gets you the desired results. |
12 |
|
13 |
Nowadays (e)logind handles that. Setting |
14 |
HandlePowerKey=ignore |
15 |
in /etc/elogind/logind.conf should disable that (haven't tested). |
16 |
|
17 |
Kind regards, tastytea |
18 |
|
19 |
-- |
20 |
Get my PGP key with `gpg --locate-keys tastytea@××××××××.de` or at |
21 |
<https://tastytea.de/tastytea.asc>. |