You are not logged in.
Hello everyone. I'm having an issue getting the media keys on my keyboard to work. It's a Logitech "Elite" wired keyboard (M/N Y-BF38).
I am running the Cinnamon DE.
The volume control dial and mute button work fine, but none of the others do anything. When I hit any of the media control keys (previous or next track, play/pause, stop), I get a big "International NO" notification and nothing else happens.
xev returns the following output:
For a regular key press
KeyPress event, serial 37, synthetic NO, window 0x2600001,
root 0x264, subw 0x0, time 8974046, (-73,-44), root:(2676,304),
state 0x10, keycode 36 (keysym 0xff0d, Return), same_screen YES,
" XLookupString gives 1 bytes: (0d) "
" XmbLookupString gives 1 bytes: (0d) "
XFilterEvent returns: False
KeyRelease event, serial 37, synthetic NO, window 0x2600001,
root 0x264, subw 0x0, time 8974190, (-73,-44), root:(2676,304),
state 0x10, keycode 36 (keysym 0xff0d, Return), same_screen YES,
" XLookupString gives 1 bytes: (0d) "
XFilterEvent returns: FalseFor a media key press
FocusOut event, serial 37, synthetic NO, window 0x2600001,
mode NotifyGrab, detail NotifyAncestor
FocusIn event, serial 37, synthetic NO, window 0x2600001,
mode NotifyUngrab, detail NotifyAncestor
KeymapNotify event, serial 37, synthetic NO, window 0x0,
keys: 100 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 Anybody know what the heck is going on here?
Offline
Not a direct solution but maybe a workaround: https://wiki.archlinux.org/index.php/Xbindkeys
I'm guessing you've set up your keybinds in the cinnamon keyboard control?
PS Welcome to the forums!
Offline
I never actually set up the keybinds at all -- Cinnamon DE set them automatically.
xbindkeys does not recognize the media key presses at all.
Interestingly, when I open the Cinnamon keyboard control panel and try to set new keybindings, the Play key comes up as "AudioPlay", not "XF86PlayPause" when pressed. Maybe the DE is looking for the latter and gets confused when it receives the former.
Is there a way to load an entirely new keyboard configuration that sends "XF86" codes when the media keys are pressed?
Last edited by frater_P (2015-12-14 16:10:49)
Offline