It is possible udev rules are broken. You might be able to identify
source of this power button events by checking keyboard scancode (with
evtest) and/or workaround this by removing the power button assignment
or assigning it to something else

== get scancode ==
 * run "sudo apt install evtes"
 * run "evtest" and select your keyboard
 * try to duplicate your issue
  * identify the trigger of the power button

== Modify keymap ==
 * cd /lib/udev/hwdb.d/
 * edit keymap file (60-keyboard.hwdb)
 * add a change, ex KEYBOARD_KEY_81=f20 # mic mute
 * run "sudo udevadm hwdb --update"
 * reboot


There are some online examples for modifying hwdb files such as 
https://askubuntu.com/questions/499252/my-custom-udev-hwdb-rule-doesnt-work

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1926527

Title:
  "Power off" dialog appears when any three keyboard keys are pressed
  quickly

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1926527/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to