Sway: key "XF86AudioPlayPause" unknown

Created on 4 Dec 2019  路  1Comment  路  Source: swaywm/sway

sway version 1.2

If I include the Button XF86AudioPlayPause in my sway config like so:

bindsym XF86AudioPlayPause      exec playerctl play-pause

Sway errors, with

Unknown key or button 'XF86AudioPlayPause'

Using sudo libinput debug-events --show-keycodes the button shows as

 event10  KEYBOARD_KEY      +7.23s  KEY_PLAYPAUSE (164) pressed
 event10  KEYBOARD_KEY      +7.32s  KEY_PLAYPAUSE (164) released

Most helpful comment

The keysym is XF86AudioPlay. You can use wev or xev to get the keysyms

>All comments

The keysym is XF86AudioPlay. You can use wev or xev to get the keysyms

Was this page helpful?
0 / 5 - 0 ratings

Related issues

aidanharris picture aidanharris  路  3Comments

StephenBrown2 picture StephenBrown2  路  4Comments

soymjolk picture soymjolk  路  3Comments

RyanDwyer picture RyanDwyer  路  3Comments

marcoms picture marcoms  路  3Comments