Libxklavier is a utility to simplify setting and changing keyboard layouts. WWW: http://gswitchit.sourceforge.net/