How to use a .xkm with X

Alan Coopersmith alan.coopersmith at oracle.com
Wed Jun 2 07:49:19 PDT 2010


Mike Eriksen wrote:
> Oh no, making the precompiled keymaps is simple enough, the problem is
> how to use them. With Xorg 6.8 and 6.9 you just added the -kbm option
> to X, but that option has been removed with more recent version.
> 
> So I have a nice xkm file, but no means to use it :-)
> 
> For a normal distro it wouldn't really matter to use xkb in stead, but
> when you run off a RAM disk on primitive hardware, you can't really
> afford to waste at couple of MB just to get the right keymap.

Can't you also use xkbcomp to load the .xkm file, in .xinitrc or similar?

>From the man page it appears that you should be able to do
	xkbcomp foo.xkm :0

-- 
	-Alan Coopersmith-        alan.coopersmith at oracle.com
	 Oracle Solaris Platform Engineering: X Window System




More information about the xorg mailing list