How to map my extra keys to my applications?
I have a Logitech keyboard with extra keys. In the KDE environment, I went to the Control Center and chose the correct keyboard. I ran xev to make sure that the system recognised the extra keys. When I pressed the keys, I got satisfactory results. For example, pressing the Play button gave me this:
Quote:
All the keys are recognised by Linux. I want to know how to link these keys to applications like XMMS, MPlayer etc. so that I can play the files using these extra keys. Thank you for your help. EDIT: I just figured out how to map the keys in XMMS. You just have to go to Options>Preferences>General Plugins and Choose your keyboard. Click on Configure. Click on Grab and then press the appropriate key for the various controls. A number will appear in the previously empty box. Do the same for all the keys. Click on OK. Check the box "Enable Plugin" and click on OK. You should be done. I wish it was this easy in MPlayer. P.S. I know that there is an input.conf in the $HOME/.mplayer directory. I just don't know what I must enter in that file. |
Ok, I did a little more research and found these two commands:
mplayer -input cmdlist mplayer -input keylist After reading the results of those two commands,I went to the input.conf file and entered: VOLUME_UP volume 1 Mplayer still does not do anything when I press the key. What am I to do now? |
Hi, It's been quite a long time now. I'd appreciate any kind of help. Thank you.
|
All times are GMT -5. The time now is 03:49 PM. |