Linux - Laptop and NetbookHaving 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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:
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:
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.