Excellent - I had to run xmodmap -e 'keycode ## = F13' manually (I presume it will run properly on reboot (whenever that is))
Works nicely now... Thanks John Kathryn Andersen wrote: > On Wed, Nov 16, 2005 at 12:02:20PM +0000, John Robson wrote: > >>Still configuring away - MOD1 is now my windoze key (makes sense, >>nothing else uses it) my F# keys are doing useful things (excluding F5, >>I still need that for refresh page in browsers). >> >>But I have a "fancy" keyboard - it has all sorts of useful looking >>buttons along the top, labelled things like WEB & MAIL. >> >>I've run xev to get their keycodes but now want to add them into my >>bindings file. Reading through the file I have this is non obvious - at >>least to me. >> >>Has anyone else done this kind of mapping or am I off into a world of >>discovery? > > > There's an intermediate step first; you may have noticed that xev, > besides giving you the "keycode", for your average key it also gives a > "keysym" (key symbol). It is the keysym which X knows about. However, > for the "fancy" keys, they generally don't have a keysym, so you have to > map them to a symbol which X knows about. This is done with the xmodmap > program. > > (man xmodmap) > > For example, in my own .xmodmaprc file, I've set up various "fancy" keys > to be mapped to F13 onwards (since I already have F1-F12, so F13 onwards > is free to be mapped to): > > ! Back > keycode 234 = F13 > ! Forward > keycode 233 = F14 > ! Stop > keycode 232 = F15 > ! Mail > keycode 236 = F16 > ! Search > keycode 229 = F17 > > and so on. > > For you, it will depend on what particular keycodes your fancy keys are. > > Then in your bindings file, you would refer to F13, F14 and so on. > > You could map them to something other than the spare function keys, > it's up to you. > > Kathryn Andersen > -=-=-=-=-=-=-=-=- > "`The first ten million years were the worst,' said Marvin, > `and the second ten million, they were the worst too. The > third ten million I didn't enjoy at all. After that I went > into a bit of a decline.'" > > - Marvin reflecting back on his 576,000,003,579 year > career as Milliways' car park attendent.
