I propose two commit to upstream: 1. shutdown without asking if and only if the logout mode has switched to force. https://gitlab.gnome.org/GNOME/gnome-session/-/merge_requests/46 Rejected by the maintainer, since the implementation is too aggressive, and he thinks it is an workaround.
2. add 1s debounce for handling power key event https://gitlab.gnome.org/GNOME/gnome-settings-daemon/-/merge_requests/180 The 1s value was provided by ODM experiment, maintainer has not reviewed yet. Both commit can eliminate the original issue, but @khfeng found that the intel-hid wrongly handle the power button event for very long time since bionic, and he'd like to wait Intel's input. Currently, I have no idea which approach I should go for. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1878351 Title: System shutdown directly by pressing power button and releasing immediately on Dell Vostro 5301 To manage notifications about this bug go to: https://bugs.launchpad.net/oem-priority/+bug/1878351/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs