Update 2023.03.17: a reader of this blog, W0CKY, came up with a much better solution: sudo setkeycodes 55 116 I packaged that into a script: #!/bin/bash if [[ $EUID -ne 0 ]]; then echo re-running as root exec sudo /bin/bash "$0" "$@" else echo rewriting key codes setkeycodes 55 116 fi ... configured sudoers to … Continue reading Acer Nitro 5 power button broken in Ubuntu 20.04
