You are not logged in.

#1 2016-01-09 18:57:00

delmadord
Member
Registered: 2015-03-22
Posts: 14

[Solved] XFCE preventing XF86Audio* buttons from working properly

Hello,
I have a long lasting problem with the media buttons (XF86AudioNext, XF86AudioPrev, XF86AudioPlay, XF86AudioStop) - they mostly do not work.

Discoveries so far:
* It only happens with XFCE  - it does not happen when using i.e. xmonad, or openbox + lxde, but it does happen when I have XFCE running and try to replace xfwm with openbox for instance
* Sometimes it can be restored to work by `xfwm --replace &` but it works only like 2% of time
* `xev` outputs the right button only when pressed simultaneously or in sequence with another media button (media buttons are Fn + cursor arrow in this case), which outputs the last key of the two pressed, however, it is not registered by other applications (i.e. VLC global hotkeys)

Another notes:
* I have xfce4-volumed-pulse installed, it helps manage sound muting (which has dedicated HW button) - no problem here, just mentioning it
* Using arch linux x64 (pure, I swear, clean installed tomorrrow - I hade polkit segfault which I could not resolve by any means) on Thinkpad-T400 machine, using Lightdm
* Output of xev when it does not work and the button is pressed

FocusOut event, serial 37, synthetic NO, window 0x2200001,
    mode NotifyGrab, detail NotifyAncestor

FocusIn event, serial 37, synthetic NO, window 0x2200001,
    mode NotifyUngrab, detail NotifyAncestor

KeymapNotify event, serial 37, synthetic NO, window 0x0,
    keys:  57  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  

* Desired output of xev

KeyRelease event, serial 37, synthetic NO, window 0x2200001,
    root 0x96, subw 0x0, time 1043132, (-78,272), root:(553,630),
    state 0x10, keycode 171 (keysym 0x1008ff17, XF86AudioNext), same_screen YES,
    XLookupString gives 0 bytes: 
    XFilterEvent returns: False

Hope I am not violating any forum rules, and any help is greatly appreciated. In case this is problem of the XFCE instead of Arch, just tell me. I suspect it is but I am not sure how to isolate the problem, so it can be reproduced, since it requires the media buttons sad Thank You.


*EDIT*
I have finally found that it is XFCE or xfwm agnostic - the problem happens when chromium is opened!

Last edited by delmadord (2016-01-10 11:44:15)

Offline

#2 2016-01-09 21:35:14

delmadord
Member
Registered: 2015-03-22
Posts: 14

Re: [Solved] XFCE preventing XF86Audio* buttons from working properly

SOLVED:

Open the Chrome app menu
Select Tools > Extensions
Click the ‘Keyboard Shortcuts’ link at the bottom of the page
Find the Google Play Music section
Change any specified media key options from ‘Global’ to ‘In Chrome’

disable global multimedia keys in chrome

more on http://www.omgchrome.com/chrome-google- … edia-keys/

Offline

Board footer

Powered by FluxBB