LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices


Reply
  Search this Thread
Old 05-03-2006, 07:53 AM   #1
num_one
LQ Newbie
 
Registered: Apr 2006
Posts: 19

Rep: Reputation: 0
Lightbulb Thinkpad Question


I want to buy a thinkpad, but it does not come with a standard "us" or "uk" keyboard map, so I want to be certain that I can configure the strange keyboard layout under RHEL Linux before buying the machine, In case I can not configure the keyboard layout that come with the laptop under Linux I will not buy it, by the way the keyboard layout is configured under Windows as :
(Us English Table for IBM Arabic 238_L) what a strange long name ?!!
this layout has the two (redirections) symbols "<" and ">" on the same key at the upper left corner of the keyboard (just under the Esc key.
any knowledge of is that keyboard layout is supported under Linux or not will be great help in making the decision to buy it or to buy another notebook.
Thanks in advance.

Last edited by num_one; 05-03-2006 at 07:54 AM.
 
Old 05-03-2006, 10:43 PM   #2
num_one
LQ Newbie
 
Registered: Apr 2006
Posts: 19

Original Poster
Rep: Reputation: 0
forgive me just want it to be ........
UP
 
Old 05-06-2006, 09:02 AM   #3
num_one
LQ Newbie
 
Registered: Apr 2006
Posts: 19

Original Poster
Rep: Reputation: 0
In fact I am confused about which parameter is responsible of changing the behavior of the keyboard, Is it :
Option "XkbModel"
or
Option "XkbLayout"
but I think that Option "XkbLayout" "us" is the parameter that change the keymap, and there for when we choose Option "XkbLayout" "gb" the behavior of the keyboard will change , but it will still in English, and because we want to configure an English language keyboard, so we need to specify a parameter like the following:
Option "XkbLayout" "xx"
in the /etc/X11/xorg.conf file like the following code:

section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbModel" "pc105"
Option "XkbLayout" "xx"
Option "XKbOptions" "grp:alt_shift_toggle"

where xx is the entry that represent our language/country, and these entries are listed in the file /etc/X11/xkb/rules/xorg.lst
Now the question is which entry of those entries will correctly represent our keymap?
As we mentioned above that we are configuring an English language keymap, so the entry that will correctly represent our keyboard must be one of those entries that belong to one of the countries that talk in English, like "us", "en_US", "us_intl", "gb"
I tried to change the parameter Option "XkbLayout" to represent each of the ("us", "en_US", "us_intl", "gb"), but no one of them matches with the strange keyboard layout of the Thinkpad R50e !!
Are there any other entries in the /etc/X11/xkb/rules/xorg.lst file that represent an English language/country, so I can try it in the xorg.conf file. I tried Kanada:
Option "XkbLayout" "kan" but no success.
any knowledge of oather English language/country listed in the layout section of the /etc/X11/xkb/rules/xorg.lst file will be helpfull in testing that entry in the xorg.conf file as following:
Option "XkbLayout" "New_Entry_That_Represent_English_Language/Country"
I think that this keymap is strange, but there must be a way to configure it under Linux, specially that this machine is one of the IBM Thinkpads which are known to be Linux Compatible laptops.
Thanks for your effort, and Good Luck.
All Linux users dream to success in configuring any thing related to Linux, and ...........The State of the Mind. If you can dream it, you can do it, So try to prove that:
 
Old 05-07-2006, 10:30 AM   #4
ioerror
Member
 
Registered: Sep 2005
Location: Old Blighty
Distribution: Slackware, NetBSD
Posts: 536

Rep: Reputation: 34
I don't know if there is a specific keymap for your layout, but if you can't find an exact keymap, then use the closest one. You can then modify the remaining keys on a per-key basis, using xmodmap. The man page explains the syntax. You would then create a file, say, ~/.Xmodmap and load it in your X startup file (~/.xinitrc, ~/.xsessionrc, etc). You can use xev to discover the relevant keycodes.

For example, I have a uk (gb) keymap, but I like # to be on shift-3 and @ on shift-2, as on a us keymap, so in my ~/.Xmodmap, I have:

Quote:
keycode 11 = 2 at
keycode 12 = 3 numbersign
I also swap ~ and ` since I use ~ much more often:

Quote:
keycode 49 = asciitilde grave
and so on.

xmodmap allows you to remap the keyboard any way you like.
 
Old 05-08-2006, 12:14 PM   #5
num_one
LQ Newbie
 
Registered: Apr 2006
Posts: 19

Original Poster
Rep: Reputation: 0
Grate Information Thank you, This method of remapping the annoying keys will be my last succor, I will do some extra search hopping that I will find the correct native layout of this laptop keyboard. thanks again.
 
  


Reply



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
Pentium 3 m - Thinkpad hardware question Emerson Linux - Laptop and Netbook 2 07-17-2005 06:30 AM
thinkpad hpdv1071ea wael_nasreddine Linux - Laptop and Netbook 0 05-16-2005 07:37 PM
thinkpad ultranav question synaptical Linux - Hardware 1 02-09-2005 09:45 AM
Thinkpad 570 apm question azrael808 Linux - Laptop and Netbook 2 01-06-2005 05:16 PM
Total newbie - Thinkpad 760xd question dany Linux - Newbie 8 10-07-2003 10:03 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook

All times are GMT -5. The time now is 12:01 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration