LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 09-23-2015, 09:16 AM   #1
LarryR.C01
LQ Newbie
 
Registered: Sep 2015
Location: eastern jungles of Colombia
Distribution: Linux Mint 17 Quiana
Posts: 6

Rep: Reputation: Disabled
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?
 
Old 09-23-2015, 11:23 AM   #2
DavidMcCann
LQ Veteran
 
Registered: Jul 2006
Location: London
Distribution: PCLinuxOS, Debian
Posts: 6,137

Rep: Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314
There are two approaches.

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 members found this post helpful.
Old 09-23-2015, 11:48 AM   #3
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465

Rep: Reputation: Disabled
Hi and welcome to LQ.

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.

jdk
 
1 members found this post helpful.
Old 09-24-2015, 11:15 AM   #4
DavidMcCann
LQ Veteran
 
Registered: Jul 2006
Location: London
Distribution: PCLinuxOS, Debian
Posts: 6,137

Rep: Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314
Also, if you need characters not in your default fonts, these are useful places to look for them:
http://www.wazu.jp/
http://www.unifont.org/fontguide/
 
1 members found this post helpful.
Old 09-29-2015, 06:44 AM   #5
LarryR.C01
LQ Newbie
 
Registered: Sep 2015
Location: eastern jungles of Colombia
Distribution: Linux Mint 17 Quiana
Posts: 6

Original Poster
Rep: Reputation: Disabled
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").
 
Old 09-29-2015, 09:27 AM   #6
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 4,137
Blog Entries: 1

Rep: Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874
You can reconfigure your keyboard as needed. For debian based distros:

$ sudo dpkg-reconfigure keyboard-configuration

And be sure to have the fonts and unicode/locales stuff installed for the non-utf8 type languages.
 
Old 09-29-2015, 10:49 AM   #7
DavidMcCann
LQ Veteran
 
Registered: Jul 2006
Location: London
Distribution: PCLinuxOS, Debian
Posts: 6,137

Rep: Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314
Quote:
Originally Posted by LarryR.C01 View Post
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 ]};
 
1 members found this post helpful.
  


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
unɟ ɟo ʇıq ɐ ʇsnɾ masonm General 26 08-27-2009 12:55 PM
Anothe happy mepis convert. inspiron_Droid MEPIS 7 03-10-2007 12:37 AM
How would I transfer the output of a command or a program to here, eliminating typin royeo Linux - Newbie 9 07-07-2006 09:09 PM
sound from anothe computer master Linux - Hardware 2 07-21-2005 02:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:59 PM.

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