Multimedia keys and Xfce

Fabrice Delliaux netbox253 at gmail.com
Thu Apr 11 14:28:33 CEST 2019


Le 11/04/19 à 13:41, Pétùr a tapoté :
> No one else is experiencing the same bug?
> 
> Le 23/03/2019 à 10:31, Pétùr a écrit :
> > Hello,
> > 
> > I have a keyboard with some multimedia keys. These were working
> > until recently. I binded them to "mpc next" "mpc prev", etc... to
> > use it with mpd.
> > 
> > Now I have no reaction when pushing "prev" "next" "stop/play" keys
> > (all mpc commands). The same command launched from a terminal are
> > working (and use to work with the keys).
> > 
> > Any idea why it is not working anymore? I checked apt log but
> > couldn't find removing of package linked (and I don't really know
> > when it starts not working).
> > 
> > Pétùr

Have you tried to run xev to test if you correctly get those events ?
You should find something like this when pressing/releasing keys :

> KeyPress event, serial 38, synthetic NO, window 0x5600001,
>     root 0x1de, subw 0x0, time 18479792, (488,-94), root:(1239,350),
>     state 0x10, keycode 174 (keysym 0x1008ff15, XF86AudioStop),
>        same_screen YES, XLookupString gives 0 bytes: XmbLookupString
>     gives 0 bytes: XFilterEvent returns: False
>
> KeyRelease event, serial 38, synthetic NO, window 0x5600001,
>     root 0x1de, subw 0x0, time 18479792, (488,-94), root:(1239,350),
>     state 0x10, keycode 174 (keysym 0x1008ff15, XF86AudioStop),
>        same_screen YES, XLookupString gives 0 bytes: XFilterEvent
> returns: False

If you get the events, it seems that some applications can hijack the
media events, like chrome :

	https://bbs.archlinux.org/viewtopic.php?id=207360

Good luck.


More information about the Xfce mailing list