A followup - I received a very useful answer from a fellow from my LUG:
The problem is easily solved through x.org's standard features. X.org will administer the layouts with a hitch. The
xorg.conf (in /etc/X11) must be modified along these lines:
Code:
Option "xkbModel" "pc101"
Option "xkbLayout" "us,ru,dk"
Option "xkbOptions" "grp: caps_toggle"
That way, American, Russian and Danish keyboards are switched with Caps-Lock. For using Caps-Lock in the usual way, use Shift+Caps-lock.
Also, with XFCE there is an applet called
XKB Layout Switcher.
After compiling, either a flag or a text will be shown in the XFCE taskbar.