Media Keys in Kubuntu Intrepid x64 don't work correctly
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu |
Incomplete
|
Undecided
|
Unassigned | ||
Bug Description
I'm having some trouble with the media keys on my Dell Inspiron 1420 laptop and I'm running the 64 bit version of Kubuntu Intrepid.
1) The volume keys seem to work to raise or lower the volume and display the OSD, but the volume numbers don't change. So pressing "Volume Up" raises and the volume and displays the starting volume level. This seems to be a configuration issue so it may be easy to fix.
2) Amarok 1.4 comes with this install (since 2.0 is still beta at best) and the "Stop" and "Play/Pause" media keys work just fine even when Amarok is minimized or on a different desktop. However, the "Back" and "Next" media keys only work when Amarok has focus. I've made sure it's "Global Shortcuts" for those keys are set. One possible cause for this is that in Amarok the "Next" button is read as "XF86AudioNext" and the "Back" button is read as "XF86AudioPrev", however, in other native KDE4.1 apps those keys are read as "Media Next" and "Media Previous" respectively. Perhaps KDE4 is handing off the wrong key code to Amarok so it it ignored?
I'm having similar trouble on an amd64 machine (a Thinkpad T61) using amarok 2:1.4.10-0ubuntu3 and kde 4:4.1.2-0ubuntu4. The volume buttons (up, down, and mute) work find for me, and the OSD correctly reflects the volume level. My keyboard has a play/pause button, but it only makes Amarok play -- I can't use it to pause music. My keyboard's stop button doesn't work at all. My keyboard's next and previous buttons work, but only if Amarok has window focus.
xev reports my keyboard's buttons as follows: olume olume olume
Volume Mute: XF86AudioMute
Volume Down: XF86AudioLowerV
Volume Up: XF86AudioRaiseV
Play/Pause: XF86AudioPlay
Stop: XF86AudioLowerV
Next: XF86AudioNext
Previous: XF86AudioPrev
Interestingly, pressing the stop button doesn't lower my volume. Here's the full xev output for each button:
Volume Down: olume), same_screen YES,
KeyRelease event, serial 31, synthetic NO, window 0x4200001,
root 0x81, subw 0x0, time 13098721, (365,-173), root:(370,506),
state 0x0, keycode 122 (keysym 0x1008ff11, XF86AudioLowerV
XLookupString gives 0 bytes:
XFilterEvent returns: False
Stop: olume), same_screen YES, ycode returns keycode: 122
KeyPress event, serial 34, synthetic NO, window 0x4200001,
root 0x81, subw 0x0, time 13128883, (48,-15), root:(53,664),
state 0x0, keycode 174 (keysym 0x1008ff11, XF86AudioLowerV
XKeysymToKe
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False
KeyRelease event, serial 34, synthetic NO, window 0x4200001, olume), same_screen YES, ycode returns keycode: 122
root 0x81, subw 0x0, time 13128955, (48,-15), root:(53,664),
state 0x0, keycode 174 (keysym 0x1008ff11, XF86AudioLowerV
XKeysymToKe
XLookupString gives 0 bytes:
XFilterEvent returns: False