Re: FVWM: setting action by key code

From: Erik Steffl <steffl_at_bigfoot.com>
Date: Fri, 18 Jun 2004 12:46:17 -0700

Ben Winslow wrote:
> 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 majordomo_at_fvwm.org.
To report problems, send mail to fvwm-owner_at_fvwm.org.
Received on Fri Jun 18 2004 - 14:50:01 BST

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:37:56 BST