shortcuts don't work

Bug #368170 reported by Sasquatch
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
acpid (Ubuntu)
Confirmed
Medium
Unassigned

Bug Description

Binary package hint: xfce4-power-manager

When using the Xfce4-power-manager, any setting to shortcuts do not work. Setting the power button to do nothing, suspend or hibernate are ignored and the system is turned off instead. Same thing with the sleep button and the laptop lid. Checking /etc/acpi/powerbtn.sh, shows that there isn't even a check if the power manager is running. Only checks for Gnome and KDE are done.
This happens with all versions of the power-manager.

Please include updated scripts for the next Xfce4-power-manager release. 0.6.5 is already released, which can be grabbed from this link directly.
http://goodies.xfce.org/releases/xfce4-power-manager/xfce4-power-manager-0.6.5.tar.bz2

Revision history for this message
Sasquatch (sasquatch) wrote :

Since the last ACPI update from a while back, the powerbtn.sh script changed a lot, making it easier to fix this. I managed to get this all working by changing the if-statement to the following:

if pidof gnome-power-manager kded4 xfce4-power-manager > /dev/null; then
    exit
fi

I added the xfce4-power-manager to it, which fixed the power button action to do what the power manager is set to. I don't have the scripts for the sleep button and the lid, so those are handled by the power manager anyway.

Revision history for this message
Lionel Le Folgoc (mrpouit) wrote :

Hi,

Which Ubuntu release are you using? And which version of xfce4-power-manager?
It works fine for me without any change to /etc/acpi/... on Karmic.
Thanks.

Changed in xfce4-power-manager (Ubuntu):
assignee: nobody → Lionel Le Folgoc (mrpouit)
importance: Undecided → Medium
status: New → Incomplete
Revision history for this message
Sasquatch (sasquatch) wrote :

I reported the bug for Ubuntu Jaunty, 9.04. I would still have the same problem if I didn't adjust the powerbtn script to include the check for xfce4-power-manager. All versions of the power manager are a problem, because the script runs before the daemon could catch it. I know for certain that the Jaunty shipped version (0.6.2) has the problem, but I no longer run that one (I added the karmic repo and installed Xfce from there due to Xfce version 4.6.1 bug fix release).

The other buttons, like the lid and sleep button were picked up properly, because I don't have the acpi-support scripts installed that take care of these events. No scripts for the event means that the power manager takes over, or nothing happens.

Revision history for this message
Lionel Le Folgoc (mrpouit) wrote :

Ok, the bug is in this acpid script then (which seems to still exist on karmic…), not in xfce4-power-manager, reassigning.

affects: xfce4-power-manager (Ubuntu) → acpid (Ubuntu)
Changed in acpid (Ubuntu):
assignee: Lionel Le Folgoc (mrpouit) → nobody
status: Incomplete → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.