Re: FVWM: Binding 3 mystery keys

From: Chris Rouch <crouch_at_pobox.com>
Date: Wed, 18 Feb 2004 13:39:22 +0100

On Wed, 18 Feb 2004 12:54:24 +0200
stu <swl_at_ucs.co.za> 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!

If you look in /usr/X11R6/include/X11/XF86keysym.h there is a bunch of
additional keynames you can use. For example, in my .xmodmaprc I have

keycode 146 = XF86Mail
keycode 166 = XF86HomePage
keycode 158 = XF86Search

I find this easier to manage if the keynames have some resemblance to
the symbol printed on the keyboard.


Regards,

Chris
-----------------------------------------------------------------
Chris Rouch
crouch_at_pobox.com
--
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 Wed Feb 18 2004 - 06:42:49 GMT

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