SCIENTIFIC-LINUX-USERS Archives

December 2009

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

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

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

Print Reply
Sender:
Mailling list for Scientific Linux users worldwide <[log in to unmask]>
Date:
Wed, 23 Dec 2009 19:50:49 +0200
MIME-version:
1.0
Reply-To:
Der Kybernetiker <[log in to unmask]>
Content-type:
text/plain; charset=us-ascii
Subject:
From:
Der Kybernetiker <[log in to unmask]>
Content-disposition:
inline
Content-transfer-encoding:
7BIT
Comments:
Parts/Attachments:
text/plain (82 lines)
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"

==============================

ATOM RSS1 RSS2