Subject: | |
From: | |
Reply To: | |
Date: | Wed, 23 Dec 2009 13:56:07 -0600 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
Hi,
try
setxkbmap -display :0 -rules evdev -model evdev -layout "us,ru" -variant
",phonetic" -option "grp:alt_shift_toggle,grp_led:scroll"
Gena.
Der Kybernetiker wrote:
> Hello!
>
> I've just installed SL 5.4 and find it really fast and stable. However, I
> cannot set up multiple keyboard layouts (I need English/Russian/Ukrainian).
>
> I didn't want to use the built-in KDE or Gnome functionality for that purpose
> and tried doing that through xorg.conf and hal but without any success.
>
> Below you find the contents of my xorg.conf,
> 10-keymap.fdi, /etc/sysconfig/keyboard, and /etc/sysconfig/i18n files.
>
> Thank you!
>
> ==============================
> xorg.conf
> ======
> Section "ServerLayout"
> Identifier "Default Layout"
> Screen 0 "Screen0" 0 0
> InputDevice "Keyboard0" "CoreKeyboard"
> Option "AutoAddDevices" "False"
> EndSection
>
> Section "InputDevice"
> Identifier "Keyboard0"
> Driver "kbd"
> Option "XkbModel" "pc105"
> Option "XkbLayout" "us"
> EndSection
>
> Section "Device"
> Identifier "Videocard0"
> Driver "i810"
> EndSection
>
> Section "Screen"
> Identifier "Screen0"
> Device "Videocard0"
> DefaultDepth 24
> SubSection "Display"
> Viewport 0 0
> Depth 24
> EndSubSection
> EndSection
>
> 10-keymap.fdi
> =========
> <?xml version="1.0" encoding="ISO-8859-1"?> <!-- -*- SGML -*- -->
> <deviceinfo version="0.2">
> <device>
> <match key="info.capabilities" contains="input.keymap">
> <append key="info.callouts.add" type="strlist">hal-setup-keymap</append>
> </match>
>
> <match key="info.capabilities" contains="input.keys">
> <merge key="input.xkb.rules" type="string">base</merge>
> <merge key="input.xkb.model" type="string">evdev</merge>
> <merge key="input.xkb.layout" type="string">us,ru,ua</merge>
> <merge key="input.xkb.options"
> type="string">grp:ctrl_shift_toggle,grp_led:scroll</merge>
> </match>
>
> </device>
> </deviceinfo>
>
> i18n
> ====
> LANG="ru_RU.UTF-8"
> SYSFONT="latarcyrheb-sun16"
> LANGUAGE=en_US
> LC_MESSAGES=en_US
>
> keyboard
> ======
> KEYBOARDTYPE="pc"
> KEYTABLE="ru-cs"
> LAYOUT="us,ru,ua"
> MODEL="pc105"
> OPTIONS="grp:ctrl_shift_toggle,grp_led:scroll"
>
> ==============================
>
|
|
|