diff options
| author | 2026-05-13 13:43:33 +0100 | |
|---|---|---|
| committer | 2026-05-13 13:43:33 +0100 | |
| commit | 5b6bfa3904a2013dbcd798488baf4661332880d0 (patch) | |
| tree | 30b3e4a57b437c5c30f7b58a9d2a8332726755bb /dot_config/clangd | |
| parent | 04894b00ff99f3aff184dbaffdd4d5b1edb7dcf9 (diff) | |
| download | dotfiles-5b6bfa3904a2013dbcd798488baf4661332880d0.tar.gz dotfiles-5b6bfa3904a2013dbcd798488baf4661332880d0.tar.bz2 dotfiles-5b6bfa3904a2013dbcd798488baf4661332880d0.zip | |
fix(logind): ignore KEY_POWER long-press too
The Shokz dongle emits KEY_POWER press without a matching release on
USB disconnect; logind classified that as a long-press after 5s and
fired HandlePowerKeyLongPress=poweroff (confirmed in journal: 'Power
key pressed long. Powering off...').
There is no policy that distinguishes 'real 5s hold of power button'
from 'misbehaving device that never sends release'. Ignore both.
Clean shutdowns now require systemctl poweroff or GUI menus; a very
long hold of the physical power button still force-offs via firmware.
Diffstat (limited to 'dot_config/clangd')
0 files changed, 0 insertions, 0 deletions
