SCIENTIFIC-LINUX-USERS Archives

December 2009

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Valery Mitsyn <[log in to unmask]>
Reply To:
Valery Mitsyn <[log in to unmask]>
Date:
Wed, 23 Dec 2009 21:00:29 +0300
Content-Type:
TEXT/PLAIN
Parts/Attachments:
TEXT/PLAIN (98 lines)
On Wed, 23 Dec 2009, 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.

It works for me via xorg.conf only.
Replace:
        Option      "XkbLayout" "us"
by two follow lines:
        Option      "XkbLayout" "us,ru,ua"
        Option      "XkbOptions" "grp:ctrl_shift_toggle,grp_led:scroll"
and restart X server.

>
> 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"
>
> ==============================
>

-- 
Best regards,
  Valery Mitsyn

ATOM RSS1 RSS2