#Media Keys on Linux?

1 messages · Page 1 of 1 (latest)

spice gate
#

Hey there. Is there a way to get the media keys to work on linux? I googled but couldn't find anything unfortunately.

Seemingly, the keyboard does not send an event either.

Running a quick: libinput debug-events shows nothing. The button on my headset works however:

-event7   KEYBOARD_KEY                 +0.000s    KEY_PLAYPAUSE (164) pressed
 event7   KEYBOARD_KEY                 +0.001s    KEY_PLAYPAUSE (164) released
 event7   KEYBOARD_KEY                 +3.678s    KEY_PLAYPAUSE (164) pressed
 event7   KEYBOARD_KEY                 +3.678s    KEY_PLAYPAUSE (164) released

Any help is highly appreciated

eager inletBOT
# spice gate Hey there. Is there a way to get the media keys to work on linux? I googled but ...

Thanks for posting your support request!

Note: #community_support is only for answering general questions and for troubleshooting.
All order-specific and shipment-specific support must be handled via the Wooting Support Wizard*
(You need to create an account on the Wooting Hub, using the same email address as your purchase. The account is not created for you automatically!)

Troubleshooting your Wooting Keyboard? Try these steps first!
Basic Troubleshooting

Questions about shipping, or what to do if your shipment has a problem?
Possible Problems During Shipping (with Solutions)

Looking for information about your specific order?
You can find that on the Wooting Hub! There you can also add upgrades, update your shipping address, and much more.

Is your order about to ship and you need to pause it for any reason?
Place it on hold via the Wooting Hub!

Do you need to...

All of these types of requests need to be made via the Wooting Support Wizard!

gusty zinc
#

how are you trying to send it with the keyboard

#

with the default mapping its this

spice gate
#

Okaaaay nvm. Apparently I need to run it as sudo.

New insights:

#
-event7   KEYBOARD_KEY                 +0.000s    KEY_PLAYPAUSE (164) pressed
 event7   KEYBOARD_KEY                 +0.001s    KEY_PLAYPAUSE (164) released
 event7   KEYBOARD_KEY                 +2.143s    KEY_PLAYPAUSE (164) pressed
 event7   KEYBOARD_KEY                 +2.145s    KEY_PLAYPAUSE (164) released
-event12  KEYBOARD_KEY                 +4.383s    KEY_PLAYPAUSE (164) pressed
 event12  KEYBOARD_KEY                 +4.501s    KEY_PLAYPAUSE (164) released
```Event 7 is the one that works. This is the one sent by my headset.
Event 12 is from the keyboard - this one doesn't work
gusty zinc
#

given that it shows up i assume this is some OS issue

#

as in some configuration or such

#

might also be related to the same root cause as why you even need sudo to see the event

spice gate
gusty zinc
#

well one belongs there for the mouse keybinds

#

the other shouldnt be under mouse but is just generic HID usage pages for mediakeys and such

spice gate
#

Oh that makes so much sense! Thanks a ton for clarifying