On Wed, 2004-02-18 at 05:54, stu wrote: > Thanks for all the suggestions, everyone. For anyone who may be > interested, I created a .xmodmaprc file in my home directory containing: > > keycode 222 = F33 > keycode 223 = F34 > keycode 227 = F35 > > I had to use F33, F34 and F35 (my keyboard doesn't have them) as xmodmap > complained if I used a keysym name that wasn't in keysymdef.h - I'm not > sure if it's safe to add my own entries to keysymdef.h. I've added > > xmodmap .xmodmaprc > > to my .xinitrc, and bound the above keys to some handy xmms functions. > It all works like a charm!
FWIW, XFree86 has key symbols for these keys (defines in XF86keysym.h): XF86PowerOff, XF86Sleep, and XF86WakeUp. There are also some symbols that may be more appropriate to what you're actually using the keys for, such as XF86AudioNext. -- Ben Winslow <[EMAIL PROTECTED]>
signature.asc
Description: This is a digitally signed message part
