How do i customize my keyboɑɾd foɾ typinɡ in anotheɾ lɑnɡuɑɡe?
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
How do i customize my keyboɑɾd foɾ typinɡ in anotheɾ lɑnɡuɑɡe?
I woɾk in ɑn indiɡenous lɑnɡuɑɡe in S. America. Much of what I need is the same as for Spanish but I ALSO need to be able to key a few special characters (latin letters with diacritics) not used in Spanish. My computer is a Dell Latitude D630 running Mint 17 "Qiana". Its physical keyboard is English (US).
Can someone tell me where to find instructions for modifying my keyboard to meet my particular needs?
1. Use the AltGr (Level 3 Shift). You can then add a third level to suitable entries in the file
/usr/share/X11/xkb/symbols/us
For example, my file has
key <AC01> {[ a, A, schwa, SCHWA ]};
so that AltGr+a gives ə
2. Use the Compose key. Your keyboard configuration tool enables you to set a compose key: the Windows menu key is a convenient choice. Then you can use the compose sequences: see Wikipedia. Thus
Comp ~ a gives ã
Comp ; a gives ą
The compose sequences can be customised. Firstly you have to use the input configuration tool to set the input method to xim. Then you can have a custom file $HOME/.XCompose with lines like
<Multi_key> <c> <j> : "ǰ" U01F0 # Latin small J with caron
so that "Comp c j" gives ǰ
1. Be sure to use the UTF-8 locales. That will give you all the special characters.
2. This link shows how to configure the keyboards on Debian (should work on Mint as well).
What a coincidence! I also worked on an indigenous language in Colombia in the comisara del Vaups along the Papury river. The language was Desano (a Tucanoan language) and I was there in the early 1960's. It was a wonderful experience and the people were really great. They even adopted me.
I hope you're having lots of fun but don't drink too much chicha.
Thanks, both of you who responded! That put me on the right track. A friend had sent me a custom Compose file a while back but for some reason the file name got changed so it wouldn't work. When I finally realized that was the problem & corrected it I was able to access it, then tweak it a bit for our particular needs. I think we're up & running now, with just one irritating limitation.
I'd still like to learn how to customize the "US" keyboard layout's variant called "US, international with dead keys," as it looks like it might be even better than what I now have -- if I could reassign some of the key combinations. For instance, I need the apostrophe & double quote mark w/o having to key them with the Rt-Alt key.
Thanks again for helping an older "newbie" (the hardest ones, I imagine! "hard to teach an old dog new tricks").
I'd still like to learn how to customize the "US" keyboard layout's variant called "US, international with dead keys," as it looks like it might be even better than what I now have -- if I could reassign some of the key combinations. For instance, I need the apostrophe & double quote mark w/o having to key them with the Rt-Alt key.
The apostrophe/quote problem is one of the reasons for not using the "dead key" version. Have a look at the version without dead keys, and customise it. The file is
/usr/share/X11/xkb/symbols/us
It's easy to alter, but always keep a backup — one missing ";" and you've got no driver! For example, I have used the third and fourth levels (AltGr, AltGr+Sh) for phonetic symbols on my gb layout:
key <AD03> {[ e, E, U025B, U0190 ]}; // Ɛ
key <AC01> {[ a, A, schwa, SCHWA ]};
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.