734
edits
(→Phones) |
(add xmodmap writeǘp & own variant of multiling layout) |
||
Line 43: | Line 43: | ||
=== Kanakey === | === Kanakey === | ||
[[User:Hoaqgio]] uses a custom Python script that can be found at https://github.com/toaq/kanakey. The way it works is that the script always runs in the background (you start it on login) and when you want to type Toaq, you type alt+; followed by the Toaq you want in the format of "Mai4 ji2 suq2 da.", and finally you just type ; alone. Then the script erases what you typed and replaces it with pretty Toaq. Unfortunately it has two pretty inconvenient issues, one of which is that it currently can't show an icon in the system tray to indicate whether the script is in "listening mode" or not (which means you can accidentally put it in listening mode and leave it there for a while) and the other of which is that if you have non-text data on your system clipboard at the time you try to use the script, it will simply crash. [[User:Hoaqgio]] recommends not using this unless you really have no better alternative! | [[User:Hoaqgio]] uses a custom Python script that can be found at https://github.com/toaq/kanakey. The way it works is that the script always runs in the background (you start it on login) and when you want to type Toaq, you type alt+; followed by the Toaq you want in the format of "Mai4 ji2 suq2 da.", and finally you just type ; alone. Then the script erases what you typed and replaces it with pretty Toaq. Unfortunately it has two pretty inconvenient issues, one of which is that it currently can't show an icon in the system tray to indicate whether the script is in "listening mode" or not (which means you can accidentally put it in listening mode and leave it there for a while) and the other of which is that if you have non-text data on your system clipboard at the time you try to use the script, it will simply crash. [[User:Hoaqgio]] recommends not using this unless you really have no better alternative! | ||
=== Xmodmap === | |||
If you’re running X11 on a Linux machine, create a file (I suggest calling it <code>.Xmodmap</code> in your home directory) with the following contents, then run <code>xmodmap <i>filename</i></code> to activate: | |||
keycode 11 = 2 at 2 at dead_acute | |||
keycode 12 = 3 numbersign 3 numbersign dead_diaeresis | |||
keycode 13 = 4 dollar 4 dollar dead_hook | |||
keycode 14 = 5 percent 5 percent dead_circumflex | |||
keycode 15 = 6 asciicircum 6 asciicircum dead_grave | |||
keycode 16 = 7 ampersand 7 ampersand dead_tilde | |||
keycode 31 = i I i I idotless | |||
: <b>Note:</b> You will require your keyboard layout to have a modifier key active (if at all, usually {{key|RAlt}} a.k.a. {{key|AltGr}}); to achieve this, you may run <code>setxkbmap us intl</code> to switch to the international US layout with dead keys. Also note that a layout change wipes any <code>xmodmap</code>s previously issued, so you will have to rerun the <code>xmodmap</code> command. Feel free to add those two commands (in the right order!) to your <code>.xprofile</code>, or whatever other file your system picks up when starting up X11. Contact [[user:uakci|uakci]] if you run into issues. | |||
<b>To use:</b> hold {{key|RAlt}} and then press a digit, {{key|2}} thru {{key|7}}. After releasing, press the key for your favourite vowel. This should produce a vowel with the desired '''precomposed''' tone diacritic (this is a big deal to some people). For dotless {{t|ı}}, use {{key|RAlt}}{{key|I}}. | |||
==== Variations ==== | |||
Bind the dead diacritic keys to {{key|s}}, {{key|d}}, {{key|f}}, {{key|j}}, {{key|k}}, {{key|l}} (for that sweet sweet ergonomic swag): | |||
keycode 39 = s S s S dead_acute | |||
keycode 40 = d D d D dead_diaeresis | |||
keycode 41 = f F f F dead_hook | |||
keycode 44 = j J j J dead_circumflex | |||
keycode 45 = k K k K dead_grave | |||
keycode 46 = l L l L dead_tilde | |||
Make dotless {{t|ı}} the default when pressing {{key|I}}, requiring {{key|RAlt}}{{key|I}} to obtain regular dotted i (and also when composing diacritics with the mechanism described above): | |||
keycode 31 = i I i I idotless | |||
== Phones == | == Phones == | ||
=== MultiLing O === | === MultiLing O === | ||
There's | There's a decently customizable Android custom keyboard app called [https://play.google.com/store/apps/details?id=kl.ime.oh&hl=en&gl=US MultiLing O] which comes with a selection of diacritics out of the box (bar {{tone|4}}). To use them, first type the desired letter, then hold-tap the key that says <code>,/AltGr</code>. An alternate screen should appear; without lifting your finger, slide it to the desired choice of diacritic. | ||
Here is a modified QWERTY layout for MultiLing O by SlushieDee on [[Discord]]. To use it, select [+DIY] in the list of layouts and paste the following: | Here is a modified QWERTY layout for MultiLing O by [[SlushieDee]] on [[Discord]]. To use it, select [+DIY] in the list of layouts (accessible by sliding your finger from the spacebar into the top right corner) and paste the following: | ||
<pre>OK_Layout_Begin | <pre> | ||
OK_Layout_Begin | |||
Name:SlushieDee’s Toaq layout | |||
1234567890 | 1234567890 | ||
qw[XK:eēéëẻêèẽ]rt[XK:yȳýÿỷŷỳỹ][XK:uūúüủûùũ][XK:ıīíïỉîìĩ][XK:oōóöỏôòõ]p | qw[XK:eēéëẻêèẽ]rt[XK:yȳýÿỷŷỳỹ][XK:uūúüủûùũ][XK:ıīíïỉîìĩ][XK:oōóöỏôòõ]p | ||
Line 67: | Line 99: | ||
æß∂ðƒ©ªº∆≠℥∞¿ | æß∂ðƒ©ªº∆≠℥∞¿ | ||
ʒΩ≈çþ∫ŋµ≤≥° | ʒΩ≈çþ∫ŋµ≤≥° | ||
OK_Layout_End</pre> | OK_Layout_End | ||
</pre> | |||
This layout lets you pick diacriticized letters just by hold-tapping the vowel keys. | |||
==== [[user:uakci|uakci]]’s variant ==== | |||
Laid out on an orthogonal 4×10 key grid in accordance with the Colemak keyboard layout, this variant comes with sweet extras like a top bar with diacritic-adding buttons (except for {{tone|4}} because tone mark discrimination is a thing in this sad world) and special keys for typographical fancinesses like <code>«»</code>. You will want to head into the settings, then ''Layouts'', then check ''Shift key at bottom'' to use this layout as intended. | |||
<pre> | |||
OK_Layout_Begin | |||
Name:uakci’s improved Toaq layout (Colemak) | |||
–‘´¨̉ˆˋ˜’· | |||
qwfpgjl[XK:uūúüủûùũ][XK:yȳýÿỷŷỳỹ]; | |||
[XK:aāáäảâàã]rstdhn[XK:eēéëẻêèẽ][XK:ıīíïỉîìĩ][XK:oōóöỏôòõ] | |||
zxcvbkm«i» | |||
~`{}%_-=|+ | |||
QWFPGJL[XK:UŪÚÜỦÛÙŨ][XK:YȲÝŸỶŶỲỸ]: | |||
[XK:AĀÁÄẢÂÀÃ]RSTDHN[XK:EĒÉËẺÊÈẼ][XK:IĪÍÏỈÎÌĨ][XK:OŌÓÖỎÔÒÕ] | |||
ZXCVBKM‹I› | |||
OK_Layout_End | |||
</pre> | |||
QWERTY version: | |||
<pre> | |||
OK_Layout_Begin | |||
Name:uakci’s improved Toaq layout (QWERTY) | |||
–‘´¨̉ˆˋ˜’· | |||
qw[XK:eēéëẻêèẽ]rt[XK:yȳýÿỷŷỳỹ][XK:uūúüủûùũ][XK:ıīíïỉîìĩ][XK:oōóöỏôòõ]p | |||
[XK:aāáäảâàã]sdfghjkl; | |||
zxcvbnm«i» | |||
~`{}%_-=|+ | |||
QW[XK:EĒÉËẺÊÈẼ]RT[XK:YȲÝŸỶŶỲỸ][XK:UŪÚÜỦÛÙŨ][XK:IĪÍÏỈÎÌĨ][XK:OŌÓÖỎÔÒÕ]P | |||
[XK:AĀÁÄẢÂÀÃ]SDFGHJKL: | |||
ZXCVBNM‹I› | |||
OK_Layout_End | |||
</pre> | |||
=== Other options === | === Other options === |