On Thu, 2004-06-17 at 22:58, Micha Feigin wrote:
I have a few multimedia keys on my laptop (4) which I know the key codes for (223, 160, 174, 176) and I would like to attach to actions using fvwm. Is this possible?
They are currently handled using lineakd, but 5M for handling 4 key codes seems like too much for me.
In my ~/.Xmodmap (see notes at end of message): keycode 222 = XF86PowerOff keycode 223 = XF86Sleep keycode 227 = XF86WakeUp
This is pretty self explanatory, and you can find XF86-specific key
names (where there are symbols for several 'multimedia' keyboard keys)
in /usr/X11R6/include/X11/XF86keysym.h. More generic keys exist in /usr/X11R6/include/X11/keysymdef.h. A friendlier listing of the keys
probably exists, but I don't know of one offhand.
you can also use xkb extension (see /etc/X11/xkb/ (probably, it might be in some other dir on your system))
erik
-- Visit the official FVWM web page at <URL: http://www.fvwm.org/>. To unsubscribe from the list, send "unsubscribe fvwm" in the body of a message to [EMAIL PROTECTED] To report problems, send mail to [EMAIL PROTECTED]
