You are not logged in.

#1 2015-10-25 11:58:29

rht19932
Member
Registered: 2015-10-06
Posts: 7

[SOLVED] Multimedia Keys not working

Hi,
Some days ago I switched from "Cinnamon" to "Spectrwm". I like it a lot but the multimedia keys in my laptop are not working.
"xev" is recognizing the keys correctly.The output from "xev" for some of the keys is as below:

KeyPress event, serial 37, synthetic NO, window 0x1200001,
    root 0xd4, subw 0x0, time 6552394, (132,358), root:(802,377),
    state 0x10, keycode 232 (keysym 0x1008ff03, XF86MonBrightnessDown), same_screen YES,
    XLookupString gives 0 bytes: 
    XmbLookupString gives 0 bytes: 
    XFilterEvent returns: False

KeyRelease event, serial 37, synthetic NO, window 0x1200001,
    root 0xd4, subw 0x0, time 6552394, (132,358), root:(802,377),
    state 0x10, keycode 232 (keysym 0x1008ff03, XF86MonBrightnessDown), same_screen YES,
    XLookupString gives 0 bytes: 
    XFilterEvent returns: False

KeyPress event, serial 40, synthetic NO, window 0x1200001,
    root 0xd4, subw 0x0, time 6552834, (132,358), root:(802,377),
    state 0x10, keycode 233 (keysym 0x1008ff02, XF86MonBrightnessUp), same_screen YES,
    XLookupString gives 0 bytes: 
    XmbLookupString gives 0 bytes: 
    XFilterEvent returns: False

KeyRelease event, serial 40, synthetic NO, window 0x1200001,
    root 0xd4, subw 0x0, time 6552834, (132,358), root:(802,377),
    state 0x10, keycode 233 (keysym 0x1008ff02, XF86MonBrightnessUp), same_screen YES,
    XLookupString gives 0 bytes: 
    XFilterEvent returns: False

MappingNotify event, serial 40, synthetic NO, window 0x0,
    request MappingKeyboard, first_keycode 8, count 248

KeyPress event, serial 40, synthetic NO, window 0x1200001,
    root 0xd4, subw 0x0, time 6554770, (132,358), root:(802,377),
    state 0x10, keycode 121 (keysym 0x1008ff12, XF86AudioMute), same_screen YES,
    XLookupString gives 0 bytes: 
    XmbLookupString gives 0 bytes: 
    XFilterEvent returns: False

KeyRelease event, serial 41, synthetic NO, window 0x1200001,
    root 0xd4, subw 0x0, time 6554773, (132,358), root:(802,377),
    state 0x10, keycode 121 (keysym 0x1008ff12, XF86AudioMute), same_screen YES,
    XLookupString gives 0 bytes: 
    XFilterEvent returns: False

But still they are not working. I searched in the ArchWiki and found that Binding the keys with commands can be done.
So do I have to bind them to individual commands with xbindkeys, acpid or other tools or is there another way?
I am using spectrwm window manager
Thanks

Last edited by rht19932 (2015-10-26 12:17:58)

Offline

#2 2015-10-25 12:40:47

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,480
Website

Re: [SOLVED] Multimedia Keys not working

It looks like they are working to me.

rht19932 wrote:

So do I have to bind them to individual commands with xbindkeys

Yes, with xbindkeys or some other tool.  Cinnamon did this for you behind the scenes - that's what DEs do.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#3 2015-10-26 12:17:09

rht19932
Member
Registered: 2015-10-06
Posts: 7

Re: [SOLVED] Multimedia Keys not working

Thanks Trilby... smile

Offline

Board footer

Powered by FluxBB