I'm using lubuntu 10.04 beta 2. I've read wikis on xkb and various other topics related to switching keyboard layouts without the use of a dedicated applet (as lxde doesn't seem to yet have one) and really cannot figure out how to set up keyboard layout switching.
I want to be able to switch keyboard layouts between English and German while holding down the CAPSLOCK key -- in other words, just for typing German characters such as ö, ä, ü, and ß. I don't want to switch completely to the German keyboard.
The solution I'm using right now works and is somewhat inelegant: I installed xfce4-panel and xfce4-xkb-plugin, started xfce4-panel, added the keyboard layouts plugin, then removed everything BUT the keyboard layout plugin, set it to "normal width" and "auto-hide." So it just hangs out on the very margin of my screen and lets me switch keyboard layouts like I want to do.
Is there an easier way to do this natively without using the xfce4 panel? Granted, it's not like a little xfce4 applet takes up a lot of memory.