On Wed, 18 Feb 2004 12:54:24 +0200
stu <[EMAIL PROTECTED]> 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
[EMAIL PROTECTED]
--
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]

Reply via email to