Announcement

Collapse
No announcement yet.

Disable Power Button?

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Disable Power Button?

    In windows there's an option to set what the power button on the pc does when pressed.  I had that set to do nothing, because I have an almost 2 year old running around that likes to press buttons.

    Is there an option like this for kubuntu?  An option for the reset button would be great too, but not as important.

    BTW, I put this here in hardware because of the physical button, but could also be considered a software problem as well.  Admins, please move post if needed.

    #2
    Re: Disable Power Button?

    Hi,

    You should try to comment all lines of the following file : /etc/acpi/powerbtn.sh
    First save it and open it :
    Code:
    sudo cp /etc/acpi/powerbtn.sh /etc/acpi/powerbtn.sh.orig
    kdesu kate /etc/acpi/powerbtn.sh
    Add # in front of all lines which doesn't comporte it.

    Hope it helps
    PS : I think I will try it also for myself, as I was looking for it

    Comment


      #3
      Re: Disable Power Button?

      Sorry it took me so long to get back to this post. Between moving and the toddler getting used to not hitting the power button I just had no time/motivation to remember this post lol. There is a new baby coming though (not mine) and this might come in useful still.

      Did anyone try this and what were the results if so?

      Comment

      Working...
      X