From eaa38266017c4858000c6b1c319b4daf07d9e014 Mon Sep 17 00:00:00 2001 From: Zdenek Prikryl Date: Feb 04 2009 08:11:07 +0000 Subject: power.sh works with KDE 4.* (#483417) --- diff --git a/acpid.power.sh b/acpid.power.sh index 0f75970..ebf0770 100644 --- a/acpid.power.sh +++ b/acpid.power.sh @@ -21,7 +21,8 @@ active == "TRUE" && x11 != "" { ps axo uid,cmd | \ awk ' $1 == '$uid_session' && - ($2 ~ /gnome-power-manager/ || $2 ~ /kpowersave/) \ + ($2 ~ /gnome-power-manager/ || $2 ~ /kpowersave/ || + $2 ~ /kded4/ || $3 ~ /guidance-power-manager/) \ { found = 1; exit } END { exit !found } ' || diff --git a/acpid.spec b/acpid.spec index 519163b..04901b3 100644 --- a/acpid.spec +++ b/acpid.spec @@ -1,7 +1,7 @@ Summary: ACPI Event Daemon Name: acpid Version: 1.0.6 -Release: 9%{?dist} +Release: 10%{?dist} License: GPLv2+ Group: System Environment/Daemons Source: http://prdownloads.sourceforge.net/acpid/acpid-%{version}.tar.gz @@ -87,6 +87,9 @@ if [ "$1" -ge "1" ]; then fi %changelog +* Wed Feb 04 2009 Zdenek Prikryl - 1.0.6-10 +- power.sh works with KDE 4.* (#483417) + * Tue Nov 11 2008 Zdenek Prikryl - 1.0.6-9 - power.sh works with ConsoleKit >= 0.3.0 (#470752) - Fixed conditions in power.sh, which look for power-managers (#470752)