Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 394364 Details for
Bug 515088
sys-power/acpid-2.0.22 - /etc/acpi/actions/powerbtn.sh doesn't detect that KDE-4.13.2 is already handling the power button
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
acpid-2.0.23 /etc/acpi/actions/powerbtn.sh patch
powerbtn.patch (text/plain), 1.45 KB, created by
Loop
on 2015-01-19 23:00:29 UTC
(
hide
)
Description:
acpid-2.0.23 /etc/acpi/actions/powerbtn.sh patch
Filename:
MIME Type:
Creator:
Loop
Created:
2015-01-19 23:00:29 UTC
Size:
1.45 KB
patch
obsolete
>--- powerbtn.sh.old 2015-01-19 23:43:42.837533756 +0100 >+++ powerbtn.sh 2015-01-19 23:49:02.269583190 +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 >@@ -57,7 +57,7 @@ > # 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 515088
: 394364