How xev, and media keys on a keyboard
I have a HP pavilion laptop with media keys. The keys are located above my keyboard and include volume+ volume- and mute. I used xev to find out more about these keys. Now what I'm attempting to do is make the volume+ or volume- actually turn the volume up or down in my KDE enviroment using ARTS. I also use XMMS as my media play. Does anyone have any clue how to do something of this sort??
Here is my info reported from xev: Volume UP KeyPress event, serial 30, synthetic NO, window 0x3c00001, root 0x40, subw 0x0, time 15833866, (176,673), root:(1250,698), state 0x10, keycode 176 (keysym 0x0, NoSymbol), same_screen YES, XLookupString gives 0 bytes: XmbLookupString gives 0 bytes: XFilterEvent returns: False KeyRelease event, serial 30, synthetic NO, window 0x3c00001, root 0x40, subw 0x0, time 15833996, (176,673), root:(1250,698), state 0x10, keycode 176 (keysym 0x0, NoSymbol), same_screen YES, XLookupString gives 0 bytes: Volume DOWN KeyPress event, serial 30, synthetic NO, window 0x3c00001, root 0x40, subw 0x0, time 15853126, (57,351), root:(1131,376), state 0x10, keycode 174 (keysym 0x0, NoSymbol), same_screen YES, XLookupString gives 0 bytes: XmbLookupString gives 0 bytes: XFilterEvent returns: False KeyRelease event, serial 30, synthetic NO, window 0x3c00001, root 0x40, subw 0x0, time 15853291, (57,351), root:(1131,376), state 0x10, keycode 174 (keysym 0x0, NoSymbol), same_screen YES, XLookupString gives 0 bytes: Volume MUTE KeyPress event, serial 30, synthetic NO, window 0x3c00001, root 0x40, subw 0x0, time 15880760, (-37,608), root:(1037,633), state 0x10, keycode 160 (keysym 0x0, NoSymbol), same_screen YES, XLookupString gives 0 bytes: XmbLookupString gives 0 bytes: XFilterEvent returns: False KeyRelease event, serial 30, synthetic NO, window 0x3c00001, root 0x40, subw 0x0, time 15880875, (-37,608), root:(1037,633), state 0x10, keycode 160 (keysym 0x0, NoSymbol), same_screen YES, XLookupString gives 0 bytes: |
Hi
i used to play around with several multimedia keyboards in console and X using xev amonst others. Recently i use this; http://lineak.sourceforge.net/ as an alternative, much easier to use. See if one of the listed keyboards is usable enjoy |
All times are GMT -5. The time now is 11:28 PM. |