This is adds acpi-support dependency but; addition of following segment in
powerbtn.sh before KDE check also helps GNOME users.
Without this, when user presses power button system will pop gnome logout
dialog, but disregarding the choice, starts shutdown process too.

. /usr/share/acpi-support/policy-funcs
if [[ "`CheckPolicy`" = "0" ]]; then
  exit
fi

Thanks
--
Onur Can CAKMAK

Reply via email to