Binary package “x11-xkb-utils” in ubuntu precise
X11 XKB utilities
xkbutils contains a number of client-side utilities for XKB, the X11
setxkbmap is a tool to query and change the current XKB map.
xkbbell generates a bell event through the keyboard.
xkbcomp is a tool to compile XKB definitions into map files the server
xkbevd is an experimental tool to listen for certain XKB events and execute
defined triggers when actions occur.
xkbprint is a tool to generate an image with the physical representation
of the keyboard as XKB sees it.
xkbvleds shows the changing status of keyboard LEDs.
xkbwatch shows the changing status of modifiers and LEDs.