Quantcast
Channel: Notes (alexpb) » slackware
Viewing all articles
Browse latest Browse all 7

Power Button Ignores KDE’s Setting And Shutdowns (Slackware)

$
0
0

If your energy saving’s power button action setting for “When power button is pressed” in AC Power and Battery Power is being ignored, you can comment two lines in /etc/acpi/acpi_handler.sh to fix this issue:

Comment:

#      power) /sbin/init 0
#         ;;

Commented out /etc/acpi/acpi_handler.sh:

#!/bin/sh
# Default acpi script that takes an entry for all actions

IFS=${IFS}/
set $@

case "$1" in
  button)
    case "$2" in
#      power) /sbin/init 0
#         ;;
      *) logger "ACPI action $2 is not defined"
         ;;
    esac
    ;;
  *)
    logger "ACPI group $1 / action $2 is not defined"
    ;;
esac

No reboot necessary, it should be fixed instantly.


Viewing all articles
Browse latest Browse all 7

Latest Images

Trending Articles





Latest Images