Description of problem:
Pressing the browser button on an Acer Aspire 3002LCi causes the current battery
state indicator (from libnotify, I believe) to appear. (It also starts the
browser, if appropriately assigned via the gnome-keybinding-properties tool.)
This is especially interesting as - before I pressed that button the first time
- libnotify was not telling me about the battery state change when I unplugged
or plugged the AC power in, but does now.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Have FC5 installed on an Acer Aspire 3002LCi (we have one in Desktop QA)
2. Press the Browser button
A message from the battery indicator shows up, saying "Power Information.
Computer is running on AC power. Laptop battery fully charged (100%)" - likely
changes if one isn't on AC power, of course.
Should just call the associated action, if there is one, and not do anything
relating to the battery state.
Wierd. Most likely an event triggered by the button is being picked up by
The button, at least according to the keyboard shortcuts screen after I
associated it with the browser, is 0xb2.
By design, added by Ubuntu, in retrospect maybe a bad decision:
#define GPM_BUTTON_BRIGHT_UP "brightness-up"
#define GPM_BUTTON_BRIGHT_DOWN "brightness-down"
#define GPM_BUTTON_LOCK "lock"
/* Using www until we get a better one defined for us by the kernel */
#define GPM_BUTTON_BATTERY "www"
Got any ideas of a better key to use?
Ya, none by default. It doesn't seem all that useful, in fact it seems like a
bug when a button does something that is totally unrelated. "Lets make the big
smile face the one that launches the missles because we don't have a big red
button" :-). We should export these options to the Keyboard Shortcuts capplet
and if someone wants to they would be able to assign "www" to GPM_BUTTON_BATTERY.
2006-03-22 Richard Hughes <firstname.lastname@example.org>
* src/gpm-manager.c: Use the button "battery" rather than "www" to show the
battery status. This depends on mjg59's kernel addition and the use of a HAL
with the new button patched in.
This should be fixed with yesterdays gnome-power-manager update, please confirm.
Looks fixed, thanks!