You are not logged in.
Pages: 1
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: FalseBut 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
It looks like they are working to me.
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
Thanks Trilby... ![]()
Offline
Pages: 1