Keyboard multimedia setup
hello I want to setup my microsoft multimedia wireless keyboard so i can use my play stop and next and previous buttons
I found a reply from a posting on here that someone posted couple months ago Which is listed below I opened the console terminal and ran .xmodmap and got a list of all the keys codes But in the old posting i found It does not say how to change the codes for example: i was to say modify line code 164 to XF86AudioStop What command do I type in the terminal? Im new to linux catchin on quick but i still need detailed instruction hehehe Thanks --------------------------------------- Old posting: The fastest way is to change the keyboard layout (Control Center) Keyboard Layout -> Keyboard model (choose your keyboard: e.g. mine is Logitech Internet Navigator iTouch) If your keyboard is not supported you will need to map those extra multimedia and internet keys manually (mine has 20 something extra keys). I've tried that by using CLI on console and modifying my .Xmodmap -> It's not that difficult ;-) All you need to know is the generated keycode from those buttons. It looks like this: keycode 164 = XF86AudioStop keycode 144 = XF86AudioPrev keycode 153 = XF86AudioNext keycode 160 = XF86AudioMute keycode 176 = XF86AudioRaiseVolume keycode 174 = XF86AudioLowerVolume keycode 162 = XF86AudioPause etc. Help yourself: search on xmodmap, xev, scancode, showkey, setkeycodes, loadkeys, keymaps, xf86audio (this is one of my mm plugin), xmms-itouch (this was my xmms-plugin), bbkeys, gpm, etc. Good luck and have fun :-) |
Hi,
I got this ref, http://lists.debian.org/debian-lapto.../msg00376.html , so, using that, and I'm sure you read all the 'references' listed in your reference, you would, $ xmodmap -e "keycode 164 = XF86AudioStop" This link had some helpful hints, http://fake.by-infonet.de/laptop/ , now, if you reboot and your changes are gone, then, you have to re-read all the references again. Another thing, Distro's have changed the security model, (including how XDM or similar, is applied on your system), so the references to .xinitrc and such, may have changed the 'where' and 'what' file you update things in/on (if that makes sense, you're doing fine!). You may want to put that in .xsession or .xmodmaprc file (if you got one?), see references above. |
You can create a file called .Xmodmap in your home directory. with all the keycode lines in it as you stated (IF you have other keys link App keys with mail on etc you can assign them F key numbers upto 35).
i.e. keycode 115 = F13 keycode 117 = F14 Then run the command xmodmap ~/.Xmodmap This should work. Also if you wish to make this permanant add it too .bashrc or .profile or similar file in your home directory. I have a script in ~/.kde/autostart that runs the command. |
Hey guys I ran the xmodmap -pk
and the following keys that I need are already listed It looks like its already configured but my multimedia buttons still don't work. What do you think stop = 164 rew = 144 ff = 153 play = 162 media = 237 messenger = 133 musikk = 188 bilder = 228 dokumenter = 101 mail = 236 home = 178 calculator = 161 mute = 124 volumeup = 176 volumedown = 174 logoff = 150 sleep = 223 |
All times are GMT -5. The time now is 07:31 AM. |