First of all read the man pages for these two programs. They are your best friends when you are trying to set up X key mapping correctly. If you don't have them, install them.
This document contains no information on how to use xmodmap. There is a sample .Xmodmap file in Customization. To load the new X keyboard mappings, place the command xmodmap .Xmodmap somewhere in your startup scripts [for example, .cshrc, .profile, .login, or .xinitrc are all possibilities].
This program is a dream come true! It brings up a graphical version of your keyboard, allows you to make modifications, and then spits those modifications out to the standard output in a form readable by xmodmap. It is very useful when you're trying to design a new .Xmodmap file, though it will require you to do a bit of cut-and-pasting.
| Last updated Mon Sep 24 01:19:25 CEST 2007 | Permalink: http://www.karakas-online.de/mySGML/xmodmap-and-xkeycaps.html | All contents © 2002-2007 Chris Karakas |