Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 409692 Details for
Bug 558294
sys-power/acpid-2.0.25 version bump
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
acpid-2.0.25-powerbtn.patch
acpid-2.0.25-powerbtn.patch (text/plain), 1.75 KB, created by
Russell Knighton
on 2015-08-20 18:29:23 UTC
(
hide
)
Description:
acpid-2.0.25-powerbtn.patch
Filename:
MIME Type:
Creator:
Russell Knighton
Created:
2015-08-20 18:29:23 UTC
Size:
1.75 KB
patch
obsolete
>--- a/samples/powerbtn/powerbtn.sh 2015-08-20 19:15:21.177143030 +0100 >+++ b/samples/powerbtn/powerbtn.sh 2015-08-20 19:17:27.118144519 +0100 >@@ -13,7 +13,7 @@ > # XUSER - the name of the user > # XAUTHORITY - full pathname of the user's .Xauthority file > getXuser() { >- user=`pinky -fw | awk '{ if ($2 == ":'$displaynum'" || $(NF) == ":'$displaynum'" ) { print $1; exit; } }'` >+ user=`pinky -fw | awk '{ if ($2 == "?:'$displaynum'" || $(NF) == "?:'$displaynum'" ) { print $1; exit; } }'` > if [ x"$user" = x"" ]; then > startx=`pgrep -n startx` > if [ x"$startx" != x"" ]; then >@@ -51,13 +51,13 @@ > getXconsole > > # A list of power management system process names. >-PMS="gnome-power-manager kpowersave xfce4-power-manager" >+PMS="gnome-power-manager kpowersave xfce4-power-manager mate-power-manager" > PMS="$PMS guidance-power-manager.py dalston-power-applet" > > # If one of those is running or any of several others, > if pidof x $PMS > /dev/null || > ( test "$XUSER" != "" && pidof dcopserver > /dev/null && test -x /usr/bin/dcop && /usr/bin/dcop --user $XUSER kded kded loadedModules | grep -q klaptopdaemon) || >- ( test "$XUSER" != "" && test -x /usr/bin/qdbus && test -r /proc/$(pidof kded4)/environ && su - $XUSER -c "eval $(echo -n 'export '; cat /proc/$(pidof kded4)/environ |tr '\0' '\n'|grep DBUS_SESSION_BUS_ADDRESS); qdbus org.kde.kded" | grep -q powerdevil) ; then >+ ( test "$XUSER" != "" && test -x /usr/bin/qdbus && test -r /proc/$(pgrep -n kded4)/environ && su - $XUSER -c "eval $(echo -n 'export '; cat /proc/$(pgrep -n kded4)/environ |tr '\0' '\n'|grep DBUS_SESSION_BUS_ADDRESS); qdbus org.kde.kded" | grep -q powerdevil) ; then > # Get out as the power manager that is running will take care of things. > exit > fi
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 558294
:
409688
| 409692