A small command-line program to get/set the current keyboard layout. It's a thin wrapper around a slightly version of XKeyboard class by Jay Bromley