perberos / Mate-Desktop-Environment

MATE Desktop Environment, a non-intuitive and unattractive desktop for users, using traditional computing desktop metaphor. Also known as the GNOME2 fork.
http://matsusoft.com.ar/projects/
123 stars 11 forks source link

media keys regression #88

Open ghost opened 12 years ago

ghost commented 12 years ago

well i can use volume up down and mute. [URL=http://imageshack.us/photo/my-images/838/volume.png/][IMG]http://img838.imageshack.us/img838/4810/volume.png[/IMG][/URL]

calculator and email hotkeys are working too.

but i cant control media applications with the other media keys like next and previous track or play/pause. It was working some time ago with mate desktop environment, but now it doesnt work anymore.

i can even remap the media keys an use the next track key to launch a terminal.

ive got 2 machines running mate.

xev and next track key produce this

FocusIn event, serial 36, synthetic NO, window 0x4000001, mode NotifyUngrab, detail NotifyAncestor

KeymapNotify event, serial 36, synthetic NO, window 0x0, keys: 2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

FocusOut event, serial 36, synthetic NO, window 0x4000001, mode NotifyNormal, detail NotifyNonlinear

showkeys -s recognizes next track key too 0xe0 0x10 0xe0 0x90

showkeys -k keycode 163 press keycode 163 release

ghost commented 12 years ago

keys do work in totem (gnome3) if i disable them in mate keyboard shortcuts, but not in any other gtk2 player.

KeyPress event, serial 33, synthetic NO, window 0x3600001, root 0x164, subw 0x0, time 11820935, (510,-53), root:(513,460), state 0x0, keycode 171 (keysym 0x1008ff17, XF86AudioNext), same_screen YES, XLookupString gives 0 bytes: XmbLookupString gives 0 bytes: XFilterEvent returns: False

KeyRelease event, serial 34, synthetic NO, window 0x3600001, root 0x164, subw 0x0, time 11821223, (510,-53), root:(513,460), state 0x0, keycode 171 (keysym 0x1008ff17, XF86AudioNext), same_screen YES, XLookupString gives 0 bytes: XFilterEvent returns: False

showkey -s (strange it changed!) 0xe0 0x19 0xe0 0x99

showkey -k keycode 163 press keycode 163 release