[Regression] [HARDY] Gnome not catching battery button press & other keys

Bug #195638 reported by Jerone Young
6
Affects Status Importance Assigned to Milestone
meta-gnome2 (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: gnome

On Lenovo Thinkpads when FN+F3 is pressed it calls an acpi event. This event then launches script "/etc/acpi/thinkpad-lockorbattery.sh", which emulates the keyboard battery key. This will bring info up on the battery status from the battery icon in the notification area.

This works under Gnome in Gutsy, it even work in KDE in Kubuntu Hardy builds. But it is broken under Gnome in Hardy.

A second case is the eject key (FN+F9) on Hardy (to be added) does the same thing .. Gnome in Hardy isn't seeing it..but Gnome in Gutsy does:

An easy way to test this is on a laptop running on battery, run while under Gnome run the following command from a terminal:
su /etc/acpi/thinkpad-lockorbattery.sh

You should then see a notification window pop up from the battery icon showing the battery status. If you see this then know caught the key press.

This isn't a problem with acpi_fakekey as you can confirm this by running:
sudo acpi_fakekey 2

if you see a "1" appear in your terminal window then it works fine..as this is equilent to pressing the "1" key.

The issue is why keys like BATTERY & EJECT are not being caught by Gnome now.

Revision history for this message
Chris Jones (cmsj) wrote :

Is this still valid? I have a brand new Thinkpad and Fn+F3 makes g-p-m show the battery popup in hardy.

Revision history for this message
Jerone Young (jerone) wrote :

Had not tested this. But it does work now.

Changed in meta-gnome2:
status: New → Fix Released
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.