Article 6E38E disabling the power button on my "Peppy" Chromebook

disabling the power button on my "Peppy" Chromebook

by
j12i
from LinuxQuestions.org on (#6E38E)
Hi!
I have a Acer C720 Chromebook that runs Slackware64. It has gotten the "Full ROM" BIOS flash from mrchromebox.tech. I'm running a Wayland session.
On the keyboard, the power off button is right above backspace, where from my other laptop I expect the delete key. So you can imagine how often I shut this netbook down accidentally.

I already did a web search and tried two things to disable the power button:
  1. in /etc/elogind/logind.conf I set HandlePowerKey=ignore
  2. in /etc/acpi/events/default
    Code:# I added
    event=button power.*
    action=

    # above
    event=.*
    action=/etc/acpi/acpi_handler.sh %e
But still the netbook shuts down immediately when I press the power button. How can I recitify that? What mechanism in Slackware listens for the power button press and shuts the system down?

PS: I have the search key (where caps lock would be on a usual keyboard) mapped to "Fn". I don't think I configured this. Ideally, Fn+poweroff would still do the shutdown.
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments