Page 1 of 1

New Cherokee keyboard layout for the Linux OS

Posted: 2010-06-16, 23:22
by Mol_Bolom
Here is my first "true, yet very very small" contribution to the Linux world...

There are three files
xkb-map, which has two keyboard layouts, basic; Which is a general purpose and easy to use map. aeio; Which is a more unnatural mapping, and an experiment for a more dvorak like map for the Cherokee language.

XCompose, which will need to be manually copied to your user directory. Unfortunately, I could not figure out how to automate this in the install script.

install.sh, will install the keyboard layout. Using ncurses dialogues will prompt for which key the user wants to use left/right control/alt/windows keys, a name for the file, and ask if you wish to make a back up of any xkb file that already exists by that name.

The keyboard layout, also, has an American keyboard layout embedded within it, so there is no need to have an American keyboard map and the Cherokee maps loaded. The key which the install script asks the user to select is how to switch between keyboard layouts.

Well, I need guinea pigs to try this out...So if anyone tests it, or tries to use it, let me know how it went and if it functioned correctly. Also, any thoughts you may have to improve it would be welcome.

Thanks.

aeio mapping layout.

Code: Select all

a s d f r e          Ꭰ Ꭱ Ꭲ Ꭳ Ꭴ Ꭵ
ka ks kd kf kr ke    Ꭶ Ꭸ Ꭹ Ꭺ Ꭻ Ꭼ
kk                   Ꭷ
ja js jd jf jr je    Ꭽ Ꭾ Ꭿ Ꮀ Ꮁ Ꮂ
ua us ud uf ur ue    Ꮃ Ꮄ Ꮅ Ꮆ Ꮇ Ꮈ
ma ms md mf mr       Ꮉ Ꮊ Ꮋ Ꮌ Ꮍ
;a ;s ;d ;f ;r ;e    Ꮎ Ꮑ Ꮒ Ꮓ Ꮔ Ꮕ
j; ;j                Ꮏ Ꮐ
pa ps pd pf pr pe    Ꮖ Ꮗ Ꮘ Ꮙ Ꮚ Ꮛ
oa os od of or oe    Ꮜ Ꮞ Ꮟ Ꮠ Ꮡ Ꮢ
w                    Ꮝ
la ls ld lf lr le    Ꮣ Ꮥ Ꮧ Ꮩ Ꮪ Ꮫ
'a 'e 'i 'f 'r 'e    Ꮤ Ꮦ Ꮨ Ꮩ Ꮪ Ꮫ
na ns nd nf nr ne    Ꮭ Ꮮ Ꮯ Ꮰ Ꮱ Ꮲ
nn                   Ꮬ
ia is id if ir ie    Ꮳ Ꮴ Ꮵ Ꮶ Ꮷ Ꮸ
ha hs hd hf hr he    Ꮹ Ꮺ Ꮻ Ꮼ Ꮽ Ꮾ
ya ys yd yf yr ye    Ꮿ Ᏸ Ᏹ Ᏺ Ᏻ Ᏼ

z x                  ; '

yy                   Ᏼ
uu                   Ꮈ
ii                   Ꮸ
oo                   Ꮢ
pp                   Ꮚ
hh                   Ꮾ
jj                   Ꭿ
ll                   Ꮫ
;;                   Ꮕ
''                   Ꮨ
mm                   Ꮉ


I've tested this map off and on while creating it, and so far it seems it might be a tad bit faster, though I do not like where I have Ꭵ placed at. Which is why I have several double dead keys set to generate those letters, Ꮫ, Ꮾ, Ᏼ, Ꮈ, Ꮸ, Ꮢ, Ꮕ.

To use the key map, just type in a terminal "setxkbmap FILENAME -variant aeio", where FILENAME is the name of the xkb file that it was named to upon installation.

ToDo:

Generate the necessary files, or file modification code so that the keyboard layout can be selected from within kde, xfce, gnome, or any other desktop environment that has gui settings for keyboard layouts.

Fix the errors which makes it difficult for su to install the XCompose file in a users directory, and REMEMBER to check permissions afterwards...

Create one more layout labeled CNO which will be based on the CNO Cherokee Font.

Change Log:

Code: Select all

June 17, 2010
     Added code to test for root user.
     Modified the file name to represent the stability of the script.
June 18, 2010
     Removed the install script.  Added a README file to show how to install the layout. Bumped it up to version 0.2.0.

Re: New Cherokee keyboard layout for the Linux OS

Posted: 2010-07-02, 1:16
by Yeshua.C
I've never had any problems with typing Cherokee in Fedora. I'm not a speaker of the language but I've played with it several times and can't wait to study it a couple years time.

Here is a sample of what comes with the default installation: (random typing)

ᎪᎳᎡᏛᏔᏯᎤᎢᎣᏁᏕᎶᏆᏫᏣᏏᏘᏲᎭᏱᏬᏪᏑᏤ1ᎱᏇᏧᎰᎹᏝᏡᎺᎠᏌᏍᏎᎩᏚᎩᏗᎩᏍᎠᎩᎵᏍᎠᏗᎩᎫᏐᏥᏈᎫᏐᎧᏐᏎᎮᏎᏐᏥᏈᎾ

Or is this an attempt to create a new keyboard because the old one is faulty? I'd be happy to give you the files you would need if you distro doesn't contain it.

Re: New Cherokee keyboard layout for the Linux OS

Posted: 2010-07-03, 4:18
by Formiko
Yeshua.C wrote:I've never had any problems with typing Cherokee in Fedora. I'm not a speaker of the language but I've played with it several times and can't wait to study it a couple years time.

Here is a sample of what comes with the default installation: (random typing)

ᎪᎳᎡᏛᏔᏯᎤᎢᎣᏁᏕᎶᏆᏫᏣᏏᏘᏲᎭᏱᏬᏪᏑᏤ1ᎱᏇᏧᎰᎹᏝᏡᎺᎠᏌᏍᏎᎩᏚᎩᏗᎩᏍᎠᎩᎵᏍᎠᏗᎩᎫᏐᏥᏈᎫᏐᎧᏐᏎᎮᏎᏐᏥᏈᎾ

Or is this an attempt to create a new keyboard because the old one is faulty? I'd be happy to give you the files you would need if you distro doesn't contain it.

I think he means when you type syllabary, the proper letter should display.
When you type da using the Cherokee layout, do you get Ꮣ ? I have to use Yudit to type in Cherokee.

Image

Re: New Cherokee keyboard layout for the Linux OS

Posted: 2010-07-03, 7:25
by Yeshua.C
All the letters seem to be present.

ᏗᏓᎤᎫᏯᏔᎤᏓ

Is this correct? My skills with recognising the Cherokee syllabary are still very elementary. Hopefully I was able to tell the differences between them all properly.

Here is an image of the layout:

Image

Re: New Cherokee keyboard layout for the Linux OS

Posted: 2010-07-03, 13:36
by ᏩᏯᏩᏯ
Yeshua.C wrote:All the letters seem to be present.

ᏗᏓᎤᎫᏯᏔᎤᏓ

Is this correct? My skills with recognising the Cherokee syllabary are still very elementary. Hopefully I was able to tell the differences between them all properly.



The existing/built-in Cherokee keyboard is defective for effective typing. You have to learn a brand new keyboard layout that has lots of shifts in it to type.

The XCompose method allows you to type phonetically, so that, for example, my XCompose file {inlined here}

Code: Select all

# ~/.XCompose
# This file defines custom Compose sequences for Unicode characters

# Import default rules from the system Compose file:
include "/usr/share/X11/locale/en_US.UTF-8/Compose"

#a -> v
<U13A0> :   "Ꭰ" #a Ꭰ
<U13A1> :   "Ꭱ" #e Ꭱ
<U13A2> :   "Ꭲ" #i Ꭲ
<U13A3> :   "Ꭳ" #o Ꭳ
<U13A4> :   "Ꭴ" #u Ꭴ
<U13A5> :   "Ꭵ" #v Ꭵ

#ga -> gv
<U13A6><U13A0>: "Ꭶ" #ga
<U13B8><U13A0>: "Ꭷ" #ka
<U13A6><U13A1>: "Ꭸ" #ge
<U13A6><U13A2>: "Ꭹ" #gi
<U13A6><U13A3>: "Ꭺ" #go
<U13A6><U13A4>: "Ꭻ" #gu
<U13A6><U13A5>: "Ꭼ" #gv

#ha -> hv
<U13AF><U13A0>: "Ꭽ" #ha
<U13AF><U13A1>: "Ꭾ" #he
<U13AF><U13A2>: "Ꭿ" #hi
<U13AF><U13A3>: "Ꮀ" #ho
<U13AF><U13A4>: "Ꮁ" #hu
<U13AF><U13A5>: "Ꮂ" #hv

#(la)
<U13B5><U13A0>: "Ꮃ" #la
<U13B5><U13A1>: "Ꮄ" #le
<U13B5><U13A2>: "Ꮅ" #li
<U13B5><U13A3>: "Ꮆ" #lo
<U13B5><U13A4>: "Ꮇ" #lu
<U13B5><U13A5>: "Ꮈ" #lv

#(ma)
<U13C5><U13A0>: "Ꮉ" #ma
<U13C5><U13A1>: "Ꮊ" #me
<U13C5><U13A2>: "Ꮋ" #mi
<U13C5><U13A3>: "Ꮌ"  #mo
<U13C5><U13A4>: "Ꮍ" #mu

#(na)
<U13BE><U13A0>: "Ꮎ" #na
<U13AF><U13BE><U13A0>: "Ꮏ" #hna
<U13BE><U13CC>: "Ꮐ" #nah/(typed: nA)
<U13BE><U13A1>: "Ꮑ" #ne
<U13BE><U13A2>: "Ꮒ" #ni
<U13AF><U13BE><U13A2>: "Ꮒ" #hni
<U13BE><U13A3>: "Ꮓ" #no
<U13AF><U13BE><U13A3>: "Ꮓ" #hno
<U13BE><U13A4>: "Ꮔ" #nu
<U13BE><U13A5>: "Ꮕ" #nv

#(qua)
<U13AA><U13A4><U13A0>: "Ꮖ" #qua
<U13AA><U13A4><U13A1>: "Ꮗ" #que
<U13AA><U13A4><U13A2>: "Ꮘ" #qui
<U13AA><U13A4><U13A3>: "Ꮙ" #quo
<U13AA><U13A4><U13A4>: "Ꮚ" #quu
<U13AA><U13A4><U13A5>: "Ꮛ" #quv

#(gwa) <U13A6><U13B3>
<U13A6><U13B3><U13A0>: "Ꮖ" #qua
<U13A6><U13B3><U13A1>: "Ꮗ" #que
<U13A6><U13B3><U13A2>: "Ꮘ" #qui
<U13A6><U13B3><U13A3>: "Ꮙ" #quo
<U13A6><U13B3><U13A4>: "Ꮚ" #quu
<U13A6><U13B3><U13A5>: "Ꮛ" #quv

#(sa)
<U13CD><U13A0>: "Ꮜ" #sa
<U13CE>: "Ꮝ" #s / (typed S)
<U13CD><U13A1>: "Ꮞ" #se
<U13CD><U13A2>: "Ꮟ" #si
<U13CD><U13A3>: "Ꮠ" #so
<U13CD><U13A4>: "Ꮡ" #su
<U13CD><U13A5>: "Ꮢ" #sv

#(da)
<U13D7><U13A0>: "Ꮣ" #da
<U13D4><U13A0>: "Ꮤ" #ta
<U13D7><U13A1>: "Ꮥ" #de
<U13D4><U13A1>: "Ꮦ" #te
<U13D7><U13A2>: "Ꮧ" #di
<U13D4><U13A2>: "Ꮨ" #ti
<U13D7><U13A3>: "Ꮩ" #do
<U13D4><U13A3>: "Ꮩ" #do (type to)
<U13D7><U13A4>: "Ꮪ" #du
<U13D4><U13A4>: "Ꮪ" #du (typed tu)
<U13D7><U13A5>: "Ꮫ" #dv

#(dla)
<U13D7><U13B5><U13A0>: "Ꮬ" #dla
<U13D4><U13B5><U13A0>: "Ꮭ" #tla
<U13D4><U13B5><U13A1>: "Ꮮ" #tle
<U13D4><U13B5><U13A2>: "Ꮯ" #tli
<U13D4><U13B5><U13A3>: "Ꮰ" #tlo
<U13D4><U13B5><U13A4>: "Ꮱ" #tlu
<U13D4><U13B5><U13A5>: "Ꮲ" #tlv

#(hla) <U13AF>
<U13AF><U13B5><U13A0>: "Ꮭ" #tla
<U13AF><U13B5><U13A1>: "Ꮮ" #tle
<U13AF><U13B5><U13A2>: "Ꮯ" #tli
<U13AF><U13B5><U13A3>: "Ꮰ" #tlo
<U13AF><U13B5><U13A4>: "Ꮱ" #tlu
<U13AF><U13B5><U13A5>: "Ꮲ" #tlv

#(tsa)
<U13D4><U13CD><U13A0>: "Ꮳ" #tsa
<U13D4><U13CD><U13A1>: "Ꮴ" #tse
<U13D4><U13CD><U13A2>: "Ꮵ" #tsi
<U13D4><U13CD><U13A3>: "Ꮶ" #tso
<U13D4><U13CD><U13A4>: "Ꮷ" #tsu
<U13D4><U13CD><U13A5>: "Ꮸ" #tsv

#(ja)
<U13DA><U13A0>: "Ꮳ" #tsa
<U13DA><U13A1>: "Ꮴ" #tse
<U13DA><U13A2>: "Ꮵ" #tsi
<U13DA><U13A3>: "Ꮶ" #tso
<U13DA><U13A4>: "Ꮷ" #tsu
<U13DA><U13A5>: "Ꮸ" #tsv

#(wa)
<U13B3><U13A0>: "Ꮹ" #wa
<U13B3><U13A1>: "Ꮺ" #we
<U13B3><U13A2>: "Ꮻ" #wi
<U13B3><U13A3>: "Ꮼ" #wo
<U13B3><U13A4>: "Ꮽ" #wu
<U13B3><U13A5>: "Ꮾ" #wv

#(wa) for when 'intrusive h' is typed.
<U13AF><U13B3><U13A0>: "Ꮹ" #wa
<U13AF><U13B3><U13A1>: "Ꮺ" #we
<U13AF><U13B3><U13A2>: "Ꮻ" #wi
<U13AF><U13B3><U13A3>: "Ꮼ" #wo
<U13AF><U13B3><U13A4>: "Ꮽ" #wu
<U13AF><U13B3><U13A5>: "Ꮾ" #wv


#(ya)
<U13EF><U13A0>: "Ꮿ" #ya
<U13EF><U13A1>: "Ᏸ" #ye
<U13EF><U13A2>: "Ᏹ" #yi
<U13EF><U13A3>: "Ᏺ" #yo
<U13EF><U13A4>: "Ᏻ" #yu
<U13EF><U13A5>: "Ᏼ" #yv

#remap numbers and symbols back to US English use.
# `: "`"
# 1: "1"
# 2: "2"
# 3: "3"
<U13D9>: "4" # Ꮩ4
<U13E6>: "5" # Ꮶ5
<U13DC>: "6" # Ꮬ6
<U13CB>: "7" # Ꮛ7
<U13D6>: "8" # Ꮦ8
<U13D2>: "9" # Ꮢ9
<U13C4>: "0" # Ꮔ0
<U13BF>: "-" # Ꮏ-
<U13F3>: "=" # Ᏻ=

<U13CA>: "~" #Ꮚ~
<U13B1>: "!" #Ꮁ!
<U13C7>: "@" #Ꮗ@
<U13E7>: "#" #Ꮷ#
<U13B0>: "$" #Ꮀ$
<U13B9>: "%" #Ꮉ%
<U13DD>: "^" #Ꮭ^
<U13E1>: "&" #Ꮱ&
<U13BA>: "*" #Ꮊ*
#(: "("
#): ")"
<U13BC>: "_" #Ꮌ_
<U13BD>: "+" #Ꮍ+

<U13D5>: "[" #Ꮥ[
<U13B6>: "]" #Ꮆ]
<U13C0>: "\\" #ᏩᏩ\

<U13D1>: "{" #Ꮡ{
<U13E4>: "}" #Ꮴ}
<U13EE>: "|" #Ꮾ|

<U13E8>: ";" #Ꮸ;
#': "'"

<U13E0>: ":" #Ꮰ:
#": "\""

#,: ","
#.: "."
<U13C2>: "/" #Ꮒ/

<U13E2>: "<" #Ꮲ<
<U13B4>: ">" #Ꮄ>
<U13C9>: "?" #Ꮙ?


Allows me to select the Cherokee keyboard then type phonetically for 83 out of 85 of the glyphs without shifts or other fancy keyboard finger tricks. The two exceptions are Ꮝ, which is a shifted S, and Ꮐ, which is typed as nA

So that I can type: o si yo and get Ꭳ Ꮟ Ᏺ.

In addition, I map *back* the punctuation, numerals, etc so that I don't have to keep switching keyboards to type full sentences. ;)

Re: New Cherokee keyboard layout for the Linux OS

Posted: 2010-07-03, 21:44
by Yeshua.C
Ah I understand, it's not that one doesn't exist but that it's not any good. Well, at least for some people, I tend to like learning new keyboards. Not sure why that is. :D

Re: New Cherokee keyboard layout for the Linux OS

Posted: 2010-07-04, 0:09
by ᏩᏯᏩᏯ
Learning the new keyboard wasn't an issue with me until I realized that almost all of the numerics and a large portion of the punctuation had been replaced. :( Not fun switching between keyboards just to get an explanation point, or to put in a numerical value. :(

Re: New Cherokee keyboard layout for the Linux OS

Posted: 2010-07-04, 2:58
by Formiko
ᏩᏯᏩᏯ wrote:Learning the new keyboard wasn't an issue with me until I realized that almost all of the numerics and a large portion of the punctuation had been replaced. :( Not fun switching between keyboards just to get an explanation point, or to put in a numerical value. :(

Plus, it's easier when you have the physical keyboard. My friend had a Hebrew laptop, and I was able to hunt and peck, and after about 40 minutes I could type most words rather quickly.

Re: New Cherokee keyboard layout for the Linux OS

Posted: 2010-07-04, 9:42
by Yeshua.C
It would be a joy to have a physical keyboard for each language. :D

Though probably only to get used to it and then switch back. Switching physical layouts constantly would be far more annoying that me pressing ALT+CTRL. haha

Re: New Cherokee keyboard layout for the Linux OS

Posted: 2010-07-04, 19:03
by Formiko
Yeshua.C wrote:It would be a joy to have a physical keyboard for each language. :D

Though probably only to get used to it and then switch back. Switching physical layouts constantly would be far more annoying that me pressing ALT+CTRL. haha


For me, I mapped it to ALT-SHIFT :)

Re: New Cherokee keyboard layout for the Linux OS

Posted: 2010-07-04, 20:04
by ᏩᏯᏩᏯ
Formiko wrote:
Yeshua.C wrote:It would be a joy to have a physical keyboard for each language. :D

Though probably only to get used to it and then switch back. Switching physical layouts constantly would be far more annoying that me pressing ALT+CTRL. haha


For me, I mapped it to ALT-SHIFT :)


ALT-CAPSLOCK here.

Re: New Cherokee keyboard layout for the Linux OS

Posted: 2010-07-04, 22:10
by Formiko
ᏩᏯᏩᏯ wrote:
ALT-CAPSLOCK here.


Which distro do you use?

Re: New Cherokee keyboard layout for the Linux OS

Posted: 2010-07-04, 22:37
by ᏩᏯᏩᏯ
Formiko wrote:
ᏩᏯᏩᏯ wrote:
ALT-CAPSLOCK here.


Which distro do you use?


Ubuntu, I changed it from alt-shirt or whatever it was to alt-capslock for switching. Gnome is the primary desktop. Back when I ran FreeBSD, it was KDE as my primary desktop, but KDE went one way, and I went the other shortly after version 3.x somewhere. Bloated. Gnome is also somewhat bloated, but, so far, not so much as to overally distress me.