xkbwatch - XKB extension user utility
This program reports changes in the fundamental components of the XKB keyboard state plus the effective compatibility state.