Skip to content

Instantly share code, notes, and snippets.

@MadcapJake
Last active October 17, 2023 23:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save MadcapJake/bfd29d641100e4b9234cd64738ab4ce6 to your computer and use it in GitHub Desktop.
Save MadcapJake/bfd29d641100e4b9234cd64738ab4ce6 to your computer and use it in GitHub Desktop.
Kokanu Input Method
sudo dnf install ibus-table # Should be the same name in other distros
# sudo rm -rf /usr/share/ibus-table/tables/KokanuIPA.db
sudo ibus-table-createdb --debug -n /usr/share/ibus-table/tables/KokanuIPA.db -s KokanuIPA.txt
ibus-daemon -drx
### File header must not be modified
### This file must be encoded into UTF-8.
### This table under LGPL
### comments start with ### not single #
### Derive from the format of SCIM Table, so you can modify the table from
### scim-tables' table
SCIM_Generic_Table_Phrase_Library_TEXT
VERSION_1_0
BEGIN_DEFINITION
LICENSE = LGPL
UUID = 06d150d0-2094-46a0-8f0a-b71e172a0efa
SERIAL_NUMBER = 20231016
ICON = kokanu.png
SYMBOL = xʃ
NAME = Kokanu
DESCRIPTION = This is a Kokanu engine table for IBus Table.
LANGUAGES = en_US
AUTHOR = Jake <ceka@kokanu-we.one>
STATUS_PROMPT = XX
VALID_INPUT_CHARS = abcdefghijklmnopqrstuvwxyz,.<>?!:;'[]{}
LAYOUT = us
MAX_KEY_LENGTH = 2
AUTO_COMMIT = TRUE
AUTO_SELECT = FALSE
DEF_FULL_WIDTH_PUNCT = FALSE
DEF_FULL_WIDTH_LETTER = FALSE
USER_CAN_DEFINE_PHRASE = FALSE
PINYIN_MODE = FALSE
DYNAMIC_ADJUST = FALSE
NO_CHECK_CHARS = []
ORIENTATION=TRUE
END_DEFINITION
BEGIN_TABLE
q ō 1
w ɕ 1
e ȷ 1
r ʋ̄ 1
t ʌ 1
y ɂ̄ 1
u ſ 1
i ı 1
o ʃ 1
p ʜ 1
[ ɛ̄ 1
] ɞ̄ 1
a o 1
s ɤ 1
d ʌ̄ 1
f ɤ̄ 1
g x̄ 1
h ɵ 1
j ɂ 1
k x 1
l ʋ 1
z ƨ̄ 1
x ɵ̄ 1
c ɛ 1
v ɕ̄ 1
b ʜ̄ 1
n ƨ 1
m ɞ 1
< ‹ 1
> › 1
{ 「 1
} 」 1
, 、 1
? ≈ 1
! ʭ 1
: – 1
. : 1
; ◖ 1
' ◗ 1
END_TABlE
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment