LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 04-24-2012, 01:36 AM   #1
Ya`akov
LQ Newbie
 
Registered: Sep 2007
Location: www.bethhamidrash.com
Distribution: Slackware 13.37
Posts: 9

Rep: Reputation: 0
MultiLingual keyboard support in for /etc/X11/xorg.conf


I have three languages on my Keyboard, and
would like to know how to enable multilingual
support for languages such as Arabic or Hebrew
which are read from right to left.

The following USED to work in Slackware 12.2

edited /etc/X11/xorg.conf-vesa

Modified the following Section

Section "InputDevice"
Option "XkbRules" "xorg"
Option "XkbModel" "pc101"
Option "XkbLayout" "us,ru,he"
Option "XkbVariant" ""
Option "XkbOptions" "grp:switch,grp:alt_shift_toggle,grp_led:scroll"
EndSection

The following was attempted in Slackware 13.37

xorgsetup

edited /etc/X11/xorg.conf

Added the following Section

Section "ServerFlags"
Option "AllowEmptyInput" "False"
Option "AutoAddDevices" "False"
Option "AutoEnableDevices" "False"
EndSection

Modified the following Section

Section "InputDevice"
Identifier "Keyboard0"
Option "XkbRules" "xorg"
Option "XkbModel" "pc101"
Option "XkbLayout" "us,ru,he"
Option "XkbVariant" ""
Option "XkbOptions" "grp:switch,grp:alt_shift_toggle,grp_led:scroll"
EndSection

This resulted in only English "us" and Russian "ru" character sets
being generated when the left "alt_shift" keys were toggled.

How do I get the Hebrew "he" character set to work?

--

Note - the "Scroll Lock" led on the Keyboard lighted correctly.
 
Old 04-25-2012, 11:19 AM   #2
DavidMcCann
Senior Member
 
Registered: Jul 2006
Location: London
Distribution: CentOS, Salix
Posts: 2,968

Rep: Reputation: 769Reputation: 769Reputation: 769Reputation: 769Reputation: 769Reputation: 769Reputation: 769
On my computer, the Hebrew driver is called "il". Of course, with Slackware anything is possible :-)
 
1 members found this post helpful.
Old 04-26-2012, 04:38 AM   #3
Ya`akov
LQ Newbie
 
Registered: Sep 2007
Location: www.bethhamidrash.com
Distribution: Slackware 13.37
Posts: 9

Original Poster
Rep: Reputation: 0
The modification didn't work because /usr/share/X11/xkb/keymap/xfree86 had no "he" definitions
wonder why it was present in Slackware 12.2 and not in Slackware 13.37

---

The following procedure to add Hebrew, Russian and Arabic to Slackware 13.37 works.

(1) cd /etc/X11

(2) xorgsetup

(3) Edit /etc/X11/xorg.conf

*add

Section "ServerFlags"
Option "AllowEmptyInput" "false"
Option "AllowAutoAddDevices" "false"
Option "AutoEnableDevices" "false"
EndSection

*modify

Section "InputDevice"
Identifier "Keyboard0"
Driver "Kbd"
Option "XkbRules" "xorg"
Option "XkbModel" "pc101"
Option "XkbLayout" "us,ar,ru,il"
Option "XkbVariant" ""
Option "XkbOptions" "grp:switch,grp:alt_shift_toggle,grp_led:scroll"
EndSection

(4) Edit /usr/share/X11/xkb/keymap/xfree86

*add

// "he" addition by Hebreweyes, <www.yaakov.ca>
xkb_keymap "he" {
xkb_keycodes { include "xfree86" };
xkb_types { include "default" };
xkb_compatability { include "default" };
xkb_symbols { include "pc(pc105)+he" };
xkb_geometry { include "pc(pc102)" };
};

*Do this IMMEDIATELY BEFORE the following entry...

// "ar" entry by Arabeyes Team, <support@arabeyes.org>

---
English - Русский - العربية - עברית

Last edited by Ya`akov; 05-01-2012 at 07:47 AM. Reason: דוקא = точность ...
 
Old 05-16-2012, 04:35 PM   #4
Ya`akov
LQ Newbie
 
Registered: Sep 2007
Location: www.bethhamidrash.com
Distribution: Slackware 13.37
Posts: 9

Original Poster
Rep: Reputation: 0
Some corrections/Improvements for Друзья @ Радио Москва

The following procedure adds Hebrew, Russian, and Arabic keyboards to "X11"
[ALT]-[SHIFT] toggles English->עברית->Русский->العربية
The Scroll_Lock LED comes on for non-English keyboards.

Keys [CTRL]-[ALT]-[Backspace] zap the X11 screen. All stupid blanking is
stopped so when hacking, you can tell when your computer is SHUT_DOWN !!

(1) #cd /etc/X11

(2) #xorgsetup

(3) #vi /etc/X11/xorg.conf

*add

Section "ServerFlags"
Option "AllowEmptyInput" "false"
Option "AutoAddDevices" "false"
Option "AutoEnableDevices" "false"
EndSection

*insert in section "Monitor"

Option "DPMS" "Off"

*modify section "InputDevice" to read as follows

Section "InputDevice"
Identifier "Keyboard0"
Driver "Kbd"
Option "XkbRules" "xorg"
Option "XkbModel" "pc101"
// Can anyone figure out how to add more keyboards?
Option "XkbLayout" "us,ar,ru,il"
// Can anyone figure out how to add more languages?
Option "XkbVariant" ""
// I wish that "XkbOptions" could split into multiple lines
Option "XkbOptions" "grp:switch,grp:alt_shift_toggle,grp_led:scroll,terminate:ctrl_alt_bksp"
EndSection

(4) #vi /usr/share/X11/xkb/keymap/xfree86

*add

// "he" addition by www.yaakov.ca <HebrewEyes@shaw.ca>
xkb_keymap "he" {
xkb_keycodes { include "xfree86" };
xkb_types { include "default" };
xkb_compatability { include "default" };
xkb_symbols { include "pc(pc105)+he" };
xkb_geometry { include "pc(pc102)" };
};

*Do this IMMEDIATELY BEFORE the following entry.

// "ar" entry by Arabeyes Team, <support@arabeyes.org>

Last edited by Ya`akov; 05-16-2012 at 04:46 PM. Reason: Strike #2 - ошибка=טעות
 
Old 05-29-2012, 04:59 PM   #5
Ya`akov
LQ Newbie
 
Registered: Sep 2007
Location: www.bethhamidrash.com
Distribution: Slackware 13.37
Posts: 9

Original Poster
Rep: Reputation: 0
More corrections/Improvements for Друзья @ Радио Москва

The following procedure adds Hebrew, Russian, and Arabic keyboards to "X11"
[ALT]-[SHIFT] toggles English->עברית->Русский->العربية
The Scroll_Lock LED comes on for non-English keyboards.

Keys [CTRL]-[ALT]-[Backspace] zap the X11 screen. All stupid blanking is
stopped so when hacking, you can tell when your computer is SHUT_DOWN !!

(1) #cd /etc/X11

(2) #xorgsetup

(3) #vi /etc/X11/xorg.conf

*add

Section "ServerFlags"
Option "AllowEmptyInput" "false"
Option "AutoAddDevices" "false"
Option "AutoEnableDevices" "false"
EndSection

*insert in section "Monitor"

Option "DPMS" "Off"

*modify section "InputDevice" to read as follows

Section "InputDevice"
Identifier "Keyboard0"
Driver "Kbd"
Option "XkbRules" "xorg"
Option "XkbModel" "pc101"
###DEBUG### Can anyone figure out how to add more keyboards?
Option "XkbLayout" "us,ar,ru,il"
###DEBUG### Can anyone figure out how to add more languages?
Option "XkbVariant" ""
###DEBUG### I wish that "XkbOptions" could split into multiple lines...
Option "XkbOptions" "grp:switch,grp:alt_shift_toggle,grp_led:scroll,terminate:ctrl_alt_bksp"
EndSection

(4) #vi /usr/share/X11/xkb/keymap/xfree86

*add

// "he" addition by www.yaakov.ca <HebrewEyes@shaw.ca>
xkb_keymap "he" {
xkb_keycodes { include "xfree86" };
xkb_types { include "default" };
xkb_compatability { include "default" };
xkb_symbols { include "pc(pc105)+he" };
xkb_geometry { include "pc(pc102)" };
};

*Do this IMMEDIATELY BEFORE the following entry.

// "ar" entry by Arabeyes Team, <support@arabeyes.org>[/QUOTE]
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
/etc/X11/xorg.conf problem? th1bill Ubuntu 4 11-07-2011 12:37 PM
[SOLVED] Xorg 1.6.5: can't find the xorg.conf file to configure keyboard. dreamwalking Linux - Newbie 16 12-19-2009 08:24 AM
Hebrew PS/2 Keyboard to work with Slackware 12.1 /etc/X11/xorg.conf ivri Slackware 11 11-09-2009 02:33 AM
modelines for /etc/X11/xorg.conf TranceDude Linux - Hardware 3 09-30-2005 09:59 AM
multilingual keyboard input support? bobbens Linux - Software 2 10-26-2004 01:07 PM


All times are GMT -5. The time now is 02:22 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration