====== Keyboard layout in a X-desktop ======
//setxkbmap// allows to set multiple keyboard layout together with a switching mechanism. The [[https://wiki.archlinux.org/index.php/Keyboard_configuration_in_Xorg#Switching_between_keyboard_layouts
|Archlinux-wiki Write]] provides excellent information about this subject.

For example, making the US-American and the Swiss keyboard layout available and having Alt+Caps switch between them, the following is written into '~/.X.d/setxkbmap'.
<code Bash>
setxkbmap us,ch -option grp:alt_caps_toggle
</code>

===== Alternative approach =====

The same can be achieved by use of a [[http://forum.tinycorelinux.net/index.php/topic,15612.msg92124.html#msg92124|Xorg-configuration file]] as described in a forum entry.

===== Desktop environments =====
[[dcore:migrating_from_flwm_to_lxde#localization|LXDE]] does provide its own mechanism for handling keyboard lay-outs, making the above procedure unnecessary.