Using a Dell Inspiron 15 7580. Awesome is version 4.3
I check the name of my keys using xev. Pressing my volume keys return the usual results.
KeyPress event, serial 36, synthetic NO, window 0x1200001,
root 0x169, subw 0x1200002, time 13968342, (38,56), root:(841,97),
state 0x0, keycode 122 (keysym 0x1008ff11, XF86AudioLowerVolume), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False
KeyRelease event, serial 36, synthetic NO, window 0x1200001,
root 0x169, subw 0x1200002, time 13968484, (38,56), root:(841,97),
state 0x0, keycode 122 (keysym 0x1008ff11, XF86AudioLowerVolume), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False
So I bind the key to AwesomeWM...
awful.key({ }, "XF86AudioLowerVolume",
awful.spawn("amixer set Master 5%-"), {})
But once I refresh Awesome, the binding doesn't work AND xev returns a different result
FocusOut event, serial 36, synthetic NO, window 0x1800001,
mode NotifyGrab, detail NotifyAncestor
FocusIn event, serial 36, synthetic NO, window 0x1800001,
mode NotifyUngrab, detail NotifyAncestor
KeymapNotify event, serial 36, synthetic NO, window 0x0,
keys: 105 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
The function keys work again once I unbind them. But why is this occurring? It's not even my volume key once I bind it.