Take a look at this howto forge article titled: Changing The Language & Keyboard Layout On Various Distributions, for the various commands to change your keyboard layout on different distros.
Most of these commands present as GUIs but if you look most of them can be run from the command line as well. For example I'm using Fedora (A Red Hat based distro). The command system-config-keyboard
when run with no arguments shows me a GUI.
But if I run system-config-keyboard --help
it can be run from the command line too:
$ system-config-keyboard --help
Usage: system-config-keyboard [--help] [--noui] [--text] [<keyboardtype>]
--help Print out this message.
--noui Run in command line mode.
--text Run in text interface mode.
<keyboardtype> options are: ar-azerty, ar-azerty-digits, ar-digits, ar-qwerty, ar-qwerty-digits, be-latin1, ben, ben-probhat, bg_bds-utf8, bg_pho-utf8, br-abnt2, cf, croat, cz-lat2, cz-us-qwertz, de, de-latin1, de-latin1-nodeadkeys, dev, dk, dk-latin1, dvorak, es, et, fi, fi-latin1, fr, fr-latin1, fr-latin9, fr-pc, fr_CH, fr_CH-latin1, gr, guj, gur, hu, hu101, ie, is-latin1, it, it-ibm, it2, jp106, ko, la-latin1, mk-utf, nl, no, pl2, pt-latin1, ro, ro-cedilla, ro-std, ro-std-cedilla, ru, sg, sg-latin1, sk-qwerty, slovene, sr-cy, sr-latin, sv-latin1, tj, tml-inscript, tml-uni, trq, ua-utf, uk, us, us-acentos
So to change my keyboard layout to Russian I could run the following command:
$ system-config-keyboard ru