spling
This commit is contained in:
parent
f198cabc3c
commit
a9578a3f5b
@ -6,7 +6,7 @@ date: 2019-08-12 19:40:00
|
||||
categories: notes languages
|
||||
---
|
||||
|
||||
I am currently working with [ひらがな](https://en.wikipedia.org/wiki/Hiragana), [かたかな](https://en.wikipedia.org/wiki/Katakana), and, [かんじ](https://en.wikipedia.org/wiki/Kanji) in some projects, and needed a more reliable way to write than running some [romanji](https://en.wikipedia.org/wiki/Romanization_of_Japanese) through an online translator. So, this post will detail what I did to enable native inputs on my laptop. This guide is specifically for [i3wm](https://i3wm.org/), because it does not obey system settings for languages and inputs.
|
||||
I am currently working with [ひらがな](https://en.wikipedia.org/wiki/Hiragana), [かたかな](https://en.wikipedia.org/wiki/Katakana), and, [かんじ](https://en.wikipedia.org/wiki/Kanji) in some projects, and needed a more reliable way to write than running some [romaji](https://en.wikipedia.org/wiki/Romanization_of_Japanese) through an online translator. So, this post will detail what I did to enable native inputs on my laptop. This guide is specifically for [i3wm](https://i3wm.org/), because it does not obey system settings for languages and inputs.
|
||||
|
||||
## Adding font support to Linux
|
||||
Firstly, we need fonts. Depending on your system, these may already be installed. For Japanese, I only used `vlgothic`, so here in the package for it:
|
||||
@ -86,7 +86,7 @@ Now, log out and in again to let ibus properly start again, and there should now
|
||||
## Workflow
|
||||
`ibus` runs in the background and will show an indication of your selected language upon pressing the keyboard shortcut set in the [setup tool](#configuring-ibus). For languages like Japanese, where it's writing systems do not use the English / Latin-based alphabets, `ibus` will automatically convert your words as you type (this behavior will be different from language to language).
|
||||
|
||||
An example of this is as follows. I want to write the word *Computer* in Japanese (Katakana to be exact). I would switch to `mozc` input, and start typing the romanji word for computer, *Pasokon*. This will automatically be converted to Hiragana, *ぱそこん*. *Computer* is not a word that one would write in Hiragana as far as I know, so Katakana would be a better choice. To convert this word, I just press `Space` (This is indicated in the bottom left of my screen by `ibus`), and I now have *パソコン*, the Katakana word for *Computer*!
|
||||
An example of this is as follows. I want to write the word *Computer* in Japanese (Katakana to be exact). I would switch to `mozc` input, and start typing the romaji word for computer, *Pasokon*. This will automatically be converted to Hiragana, *ぱそこん*. *Computer* is not a word that one would write in Hiragana as far as I know, so Katakana would be a better choice. To convert this word, I just press `Space` (This is indicated in the bottom left of my screen by `ibus`), and I now have *パソコン*, the Katakana word for *Computer*!
|
||||
|
||||
---
|
||||
|
||||
|
@ -114,7 +114,7 @@ sub rsa4096/0xA61A2F1676E35144 2019-08-11 [] [expires: 2025-08-09]
|
||||
<span class="navbar-text">
|
||||
Site design by: <a href="https://retrylife.ca">Evan Pratten</a> |
|
||||
|
||||
This site was last updated at: 2019-08-12 19:42:30 -0400
|
||||
This site was last updated at: 2019-08-12 19:45:00 -0400
|
||||
</span>
|
||||
</div>
|
||||
</nav>
|
||||
|
@ -119,7 +119,7 @@ pip3 install tensorflow-gpu #for gpu processing
|
||||
<span class="navbar-text">
|
||||
Site design by: <a href="https://retrylife.ca">Evan Pratten</a> |
|
||||
|
||||
This site was last updated at: 2019-08-12 19:42:30 -0400
|
||||
This site was last updated at: 2019-08-12 19:45:00 -0400
|
||||
</span>
|
||||
</div>
|
||||
</nav>
|
||||
|
@ -83,7 +83,7 @@
|
||||
<span class="navbar-text">
|
||||
Site design by: <a href="https://retrylife.ca">Evan Pratten</a> |
|
||||
|
||||
This site was last updated at: 2019-08-12 19:42:30 -0400
|
||||
This site was last updated at: 2019-08-12 19:45:00 -0400
|
||||
</span>
|
||||
</div>
|
||||
</nav>
|
||||
|
@ -96,7 +96,7 @@
|
||||
<span class="navbar-text">
|
||||
Site design by: <a href="https://retrylife.ca">Evan Pratten</a> |
|
||||
|
||||
This site was last updated at: 2019-08-12 19:42:30 -0400
|
||||
This site was last updated at: 2019-08-12 19:45:00 -0400
|
||||
</span>
|
||||
</div>
|
||||
</nav>
|
||||
|
@ -107,7 +107,7 @@
|
||||
<span class="navbar-text">
|
||||
Site design by: <a href="https://retrylife.ca">Evan Pratten</a> |
|
||||
|
||||
This site was last updated at: 2019-08-12 19:42:30 -0400
|
||||
This site was last updated at: 2019-08-12 19:45:00 -0400
|
||||
</span>
|
||||
</div>
|
||||
</nav>
|
||||
|
@ -121,7 +121,7 @@
|
||||
<span class="navbar-text">
|
||||
Site design by: <a href="https://retrylife.ca">Evan Pratten</a> |
|
||||
|
||||
This site was last updated at: 2019-08-12 19:42:30 -0400
|
||||
This site was last updated at: 2019-08-12 19:45:00 -0400
|
||||
</span>
|
||||
</div>
|
||||
</nav>
|
||||
|
@ -80,7 +80,7 @@ Your browser does not support audio players
|
||||
<span class="navbar-text">
|
||||
Site design by: <a href="https://retrylife.ca">Evan Pratten</a> |
|
||||
|
||||
This site was last updated at: 2019-08-12 19:42:30 -0400
|
||||
This site was last updated at: 2019-08-12 19:45:00 -0400
|
||||
</span>
|
||||
</div>
|
||||
</nav>
|
||||
|
@ -120,7 +120,7 @@
|
||||
<span class="navbar-text">
|
||||
Site design by: <a href="https://retrylife.ca">Evan Pratten</a> |
|
||||
|
||||
This site was last updated at: 2019-08-12 19:42:30 -0400
|
||||
This site was last updated at: 2019-08-12 19:45:00 -0400
|
||||
</span>
|
||||
</div>
|
||||
</nav>
|
||||
|
@ -78,7 +78,7 @@
|
||||
<span class="navbar-text">
|
||||
Site design by: <a href="https://retrylife.ca">Evan Pratten</a> |
|
||||
|
||||
This site was last updated at: 2019-08-12 19:42:30 -0400
|
||||
This site was last updated at: 2019-08-12 19:45:00 -0400
|
||||
</span>
|
||||
</div>
|
||||
</nav>
|
||||
|
@ -78,7 +78,7 @@
|
||||
<span class="navbar-text">
|
||||
Site design by: <a href="https://retrylife.ca">Evan Pratten</a> |
|
||||
|
||||
This site was last updated at: 2019-08-12 19:42:30 -0400
|
||||
This site was last updated at: 2019-08-12 19:45:00 -0400
|
||||
</span>
|
||||
</div>
|
||||
</nav>
|
||||
|
@ -187,7 +187,7 @@ __<span class="o">()</span> <span class="o">{</span>/???/???/???n?f <span class=
|
||||
<span class="navbar-text">
|
||||
Site design by: <a href="https://retrylife.ca">Evan Pratten</a> |
|
||||
|
||||
This site was last updated at: 2019-08-12 19:42:30 -0400
|
||||
This site was last updated at: 2019-08-12 19:45:00 -0400
|
||||
</span>
|
||||
</div>
|
||||
</nav>
|
||||
|
@ -108,7 +108,7 @@
|
||||
<span class="navbar-text">
|
||||
Site design by: <a href="https://retrylife.ca">Evan Pratten</a> |
|
||||
|
||||
This site was last updated at: 2019-08-12 19:42:30 -0400
|
||||
This site was last updated at: 2019-08-12 19:45:00 -0400
|
||||
</span>
|
||||
</div>
|
||||
</nav>
|
||||
|
@ -173,7 +173,7 @@
|
||||
<span class="navbar-text">
|
||||
Site design by: <a href="https://retrylife.ca">Evan Pratten</a> |
|
||||
|
||||
This site was last updated at: 2019-08-12 19:42:30 -0400
|
||||
This site was last updated at: 2019-08-12 19:45:00 -0400
|
||||
</span>
|
||||
</div>
|
||||
</nav>
|
||||
|
@ -97,7 +97,7 @@
|
||||
<span class="navbar-text">
|
||||
Site design by: <a href="https://retrylife.ca">Evan Pratten</a> |
|
||||
|
||||
This site was last updated at: 2019-08-12 19:42:30 -0400
|
||||
This site was last updated at: 2019-08-12 19:45:00 -0400
|
||||
</span>
|
||||
</div>
|
||||
</nav>
|
||||
|
@ -170,7 +170,7 @@
|
||||
<span class="navbar-text">
|
||||
Site design by: <a href="https://retrylife.ca">Evan Pratten</a> |
|
||||
|
||||
This site was last updated at: 2019-08-12 19:42:30 -0400
|
||||
This site was last updated at: 2019-08-12 19:45:00 -0400
|
||||
</span>
|
||||
</div>
|
||||
</nav>
|
||||
|
@ -91,7 +91,7 @@
|
||||
<span class="navbar-text">
|
||||
Site design by: <a href="https://retrylife.ca">Evan Pratten</a> |
|
||||
|
||||
This site was last updated at: 2019-08-12 19:42:30 -0400
|
||||
This site was last updated at: 2019-08-12 19:45:00 -0400
|
||||
</span>
|
||||
</div>
|
||||
</nav>
|
||||
|
@ -183,7 +183,7 @@
|
||||
<span class="navbar-text">
|
||||
Site design by: <a href="https://retrylife.ca">Evan Pratten</a> |
|
||||
|
||||
This site was last updated at: 2019-08-12 19:42:30 -0400
|
||||
This site was last updated at: 2019-08-12 19:45:00 -0400
|
||||
</span>
|
||||
</div>
|
||||
</nav>
|
||||
|
@ -103,7 +103,7 @@
|
||||
<span class="navbar-text">
|
||||
Site design by: <a href="https://retrylife.ca">Evan Pratten</a> |
|
||||
|
||||
This site was last updated at: 2019-08-12 19:42:30 -0400
|
||||
This site was last updated at: 2019-08-12 19:45:00 -0400
|
||||
</span>
|
||||
</div>
|
||||
</nav>
|
||||
|
@ -51,7 +51,7 @@
|
||||
|
||||
<br>
|
||||
|
||||
<p>I am currently working with <a href="https://en.wikipedia.org/wiki/Hiragana">ひらがな</a>, <a href="https://en.wikipedia.org/wiki/Katakana">かたかな</a>, and, <a href="https://en.wikipedia.org/wiki/Kanji">かんじ</a> in some projects, and needed a more reliable way to write than running some <a href="https://en.wikipedia.org/wiki/Romanization_of_Japanese">romanji</a> through an online translator. So, this post will detail what I did to enable native inputs on my laptop. This guide is specifically for <a href="https://i3wm.org/">i3wm</a>, because it does not obey system settings for languages and inputs.</p>
|
||||
<p>I am currently working with <a href="https://en.wikipedia.org/wiki/Hiragana">ひらがな</a>, <a href="https://en.wikipedia.org/wiki/Katakana">かたかな</a>, and, <a href="https://en.wikipedia.org/wiki/Kanji">かんじ</a> in some projects, and needed a more reliable way to write than running some <a href="https://en.wikipedia.org/wiki/Romanization_of_Japanese">romaji</a> through an online translator. So, this post will detail what I did to enable native inputs on my laptop. This guide is specifically for <a href="https://i3wm.org/">i3wm</a>, because it does not obey system settings for languages and inputs.</p>
|
||||
|
||||
<h2 id="adding-font-support-to-linux">Adding font support to Linux</h2>
|
||||
<p>Firstly, we need fonts. Depending on your system, these may already be installed. For Japanese, I only used <code class="highlighter-rouge">vlgothic</code>, so here in the package for it:</p>
|
||||
@ -124,7 +124,7 @@ ibus-daemon <span class="nt">-drx</span>
|
||||
<h2 id="workflow">Workflow</h2>
|
||||
<p><code class="highlighter-rouge">ibus</code> runs in the background and will show an indication of your selected language upon pressing the keyboard shortcut set in the <a href="#configuring-ibus">setup tool</a>. For languages like Japanese, where it’s writing systems do not use the English / Latin-based alphabets, <code class="highlighter-rouge">ibus</code> will automatically convert your words as you type (this behavior will be different from language to language).</p>
|
||||
|
||||
<p>An example of this is as follows. I want to write the word <em>Computer</em> in Japanese (Katakana to be exact). I would switch to <code class="highlighter-rouge">mozc</code> input, and start typing the romanji word for computer, <em>Pasokon</em>. This will automatically be converted to Hiragana, <em>ぱそこん</em>. <em>Computer</em> is not a word that one would write in Hiragana as far as I know, so Katakana would be a better choice. To convert this word, I just press <code class="highlighter-rouge">Space</code> (This is indicated in the bottom left of my screen by <code class="highlighter-rouge">ibus</code>), and I now have <em>パソコン</em>, the Katakana word for <em>Computer</em>!</p>
|
||||
<p>An example of this is as follows. I want to write the word <em>Computer</em> in Japanese (Katakana to be exact). I would switch to <code class="highlighter-rouge">mozc</code> input, and start typing the romaji word for computer, <em>Pasokon</em>. This will automatically be converted to Hiragana, <em>ぱそこん</em>. <em>Computer</em> is not a word that one would write in Hiragana as far as I know, so Katakana would be a better choice. To convert this word, I just press <code class="highlighter-rouge">Space</code> (This is indicated in the bottom left of my screen by <code class="highlighter-rouge">ibus</code>), and I now have <em>パソコン</em>, the Katakana word for <em>Computer</em>!</p>
|
||||
|
||||
<hr>
|
||||
|
||||
@ -146,7 +146,7 @@ ibus-daemon <span class="nt">-drx</span>
|
||||
<span class="navbar-text">
|
||||
Site design by: <a href="https://retrylife.ca">Evan Pratten</a> |
|
||||
|
||||
This site was last updated at: 2019-08-12 19:42:30 -0400
|
||||
This site was last updated at: 2019-08-12 19:45:00 -0400
|
||||
</span>
|
||||
</div>
|
||||
</nav>
|
||||
|
@ -340,7 +340,7 @@
|
||||
<span class="navbar-text">
|
||||
Site design by: <a href="https://retrylife.ca">Evan Pratten</a> |
|
||||
|
||||
This site was last updated at: 2019-08-12 19:42:30 -0400
|
||||
This site was last updated at: 2019-08-12 19:45:00 -0400
|
||||
</span>
|
||||
</div>
|
||||
</nav>
|
||||
|
@ -1,4 +1,4 @@
|
||||
<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom" ><generator uri="https://jekyllrb.com/" version="3.8.6">Jekyll</generator><link href="http://0.0.0.0:4000/feed.xml" rel="self" type="application/atom+xml" /><link href="http://0.0.0.0:4000/" rel="alternate" type="text/html" /><updated>2019-08-12T19:42:30-04:00</updated><id>http://0.0.0.0:4000/feed.xml</id><title type="html">Evan Pratten</title><subtitle>Computer wizard, student, <a href="https://frc5024.github.io">@frc5024</a> programming team lead, and radio enthusiast.</subtitle><entry><title type="html">How I set up ひらがな input on my laptop</title><link href="http://0.0.0.0:4000/blog/2019/08/12/setting-up-ja" rel="alternate" type="text/html" title="How I set up ひらがな input on my laptop" /><published>2019-08-12T15:40:00-04:00</published><updated>2019-08-12T15:40:00-04:00</updated><id>http://0.0.0.0:4000/blog/2019/08/12/Setting-up-JA</id><content type="html" xml:base="http://0.0.0.0:4000/blog/2019/08/12/setting-up-ja"><p>I am currently working with <a href="https://en.wikipedia.org/wiki/Hiragana">ひらがな</a>, <a href="https://en.wikipedia.org/wiki/Katakana">かたかな</a>, and, <a href="https://en.wikipedia.org/wiki/Kanji">かんじ</a> in some projects, and needed a more reliable way to write than running some <a href="https://en.wikipedia.org/wiki/Romanization_of_Japanese">romanji</a> through an online translator. So, this post will detail what I did to enable native inputs on my laptop. This guide is specifically for <a href="https://i3wm.org/">i3wm</a>, because it does not obey system settings for languages and inputs.</p>
|
||||
<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom" ><generator uri="https://jekyllrb.com/" version="3.8.6">Jekyll</generator><link href="http://0.0.0.0:4000/feed.xml" rel="self" type="application/atom+xml" /><link href="http://0.0.0.0:4000/" rel="alternate" type="text/html" /><updated>2019-08-12T19:45:00-04:00</updated><id>http://0.0.0.0:4000/feed.xml</id><title type="html">Evan Pratten</title><subtitle>Computer wizard, student, <a href="https://frc5024.github.io">@frc5024</a> programming team lead, and radio enthusiast.</subtitle><entry><title type="html">How I set up ひらがな input on my laptop</title><link href="http://0.0.0.0:4000/blog/2019/08/12/setting-up-ja" rel="alternate" type="text/html" title="How I set up ひらがな input on my laptop" /><published>2019-08-12T15:40:00-04:00</published><updated>2019-08-12T15:40:00-04:00</updated><id>http://0.0.0.0:4000/blog/2019/08/12/Setting-up-JA</id><content type="html" xml:base="http://0.0.0.0:4000/blog/2019/08/12/setting-up-ja"><p>I am currently working with <a href="https://en.wikipedia.org/wiki/Hiragana">ひらがな</a>, <a href="https://en.wikipedia.org/wiki/Katakana">かたかな</a>, and, <a href="https://en.wikipedia.org/wiki/Kanji">かんじ</a> in some projects, and needed a more reliable way to write than running some <a href="https://en.wikipedia.org/wiki/Romanization_of_Japanese">romaji</a> through an online translator. So, this post will detail what I did to enable native inputs on my laptop. This guide is specifically for <a href="https://i3wm.org/">i3wm</a>, because it does not obey system settings for languages and inputs.</p>
|
||||
|
||||
<h2 id="adding-font-support-to-linux">Adding font support to Linux</h2>
|
||||
<p>Firstly, we need fonts. Depending on your system, these may already be installed. For Japanese, I only used <code class="highlighter-rouge">vlgothic</code>, so here in the package for it:</p>
|
||||
@ -71,12 +71,12 @@ ibus-daemon <span class="nt">-drx</span>
|
||||
<h2 id="workflow">Workflow</h2>
|
||||
<p><code class="highlighter-rouge">ibus</code> runs in the background and will show an indication of your selected language upon pressing the keyboard shortcut set in the <a href="#configuring-ibus">setup tool</a>. For languages like Japanese, where it’s writing systems do not use the English / Latin-based alphabets, <code class="highlighter-rouge">ibus</code> will automatically convert your words as you type (this behavior will be different from language to language).</p>
|
||||
|
||||
<p>An example of this is as follows. I want to write the word <em>Computer</em> in Japanese (Katakana to be exact). I would switch to <code class="highlighter-rouge">mozc</code> input, and start typing the romanji word for computer, <em>Pasokon</em>. This will automatically be converted to Hiragana, <em>ぱそこん</em>. <em>Computer</em> is not a word that one would write in Hiragana as far as I know, so Katakana would be a better choice. To convert this word, I just press <code class="highlighter-rouge">Space</code> (This is indicated in the bottom left of my screen by <code class="highlighter-rouge">ibus</code>), and I now have <em>パソコン</em>, the Katakana word for <em>Computer</em>!</p>
|
||||
<p>An example of this is as follows. I want to write the word <em>Computer</em> in Japanese (Katakana to be exact). I would switch to <code class="highlighter-rouge">mozc</code> input, and start typing the romaji word for computer, <em>Pasokon</em>. This will automatically be converted to Hiragana, <em>ぱそこん</em>. <em>Computer</em> is not a word that one would write in Hiragana as far as I know, so Katakana would be a better choice. To convert this word, I just press <code class="highlighter-rouge">Space</code> (This is indicated in the bottom left of my screen by <code class="highlighter-rouge">ibus</code>), and I now have <em>パソコン</em>, the Katakana word for <em>Computer</em>!</p>
|
||||
|
||||
<hr />
|
||||
|
||||
<h4 id="after-note-languages">After Note: Languages</h4>
|
||||
<p>In case you can’t tell, English is my native language. If I messed up my spelling or context with the small amount of Japanese in this post, <a href="/about#chat-with-me">let me know</a>!</p></content><author><name></name></author><summary type="html">I am currently working with ひらがな, かたかな, and, かんじ in some projects, and needed a more reliable way to write than running some romanji through an online translator. So, this post will detail what I did to enable native inputs on my laptop. This guide is specifically for i3wm, because it does not obey system settings for languages and inputs.</summary></entry><entry><title type="html">My weird piece of EDC</title><link href="http://0.0.0.0:4000/blog/2019/08/10/why-i-carry-nfc" rel="alternate" type="text/html" title="My weird piece of EDC" /><published>2019-08-10T16:57:00-04:00</published><updated>2019-08-10T16:57:00-04:00</updated><id>http://0.0.0.0:4000/blog/2019/08/10/Why-I-Carry-NFC</id><content type="html" xml:base="http://0.0.0.0:4000/blog/2019/08/10/why-i-carry-nfc"><p>Im back with a quick little post about something I cary with me everywhere I go, EDC (Every-Day Carry) if you will.</p>
|
||||
<p>In case you can’t tell, English is my native language. If I messed up my spelling or context with the small amount of Japanese in this post, <a href="/about#chat-with-me">let me know</a>!</p></content><author><name></name></author><summary type="html">I am currently working with ひらがな, かたかな, and, かんじ in some projects, and needed a more reliable way to write than running some romaji through an online translator. So, this post will detail what I did to enable native inputs on my laptop. This guide is specifically for i3wm, because it does not obey system settings for languages and inputs.</summary></entry><entry><title type="html">My weird piece of EDC</title><link href="http://0.0.0.0:4000/blog/2019/08/10/why-i-carry-nfc" rel="alternate" type="text/html" title="My weird piece of EDC" /><published>2019-08-10T16:57:00-04:00</published><updated>2019-08-10T16:57:00-04:00</updated><id>http://0.0.0.0:4000/blog/2019/08/10/Why-I-Carry-NFC</id><content type="html" xml:base="http://0.0.0.0:4000/blog/2019/08/10/why-i-carry-nfc"><p>Im back with a quick little post about something I cary with me everywhere I go, EDC (Every-Day Carry) if you will.</p>
|
||||
|
||||
<h2 id="how-this-started">How this started</h2>
|
||||
<p>Earlier this year, my friend @retrax24 showed me a piece of “fake ID” he was given as a joke. After some experimentation, he noticed that, upon tapping it to his phone, he would get an error message about an un-formatted card.</p>
|
||||
|
@ -102,7 +102,7 @@
|
||||
<span class="navbar-text">
|
||||
Site design by: <a href="https://retrylife.ca">Evan Pratten</a> |
|
||||
|
||||
This site was last updated at: 2019-08-12 19:42:30 -0400
|
||||
This site was last updated at: 2019-08-12 19:45:00 -0400
|
||||
</span>
|
||||
</div>
|
||||
</nav>
|
||||
|
@ -112,7 +112,7 @@
|
||||
<span class="navbar-text">
|
||||
Site design by: <a href="https://retrylife.ca">Evan Pratten</a> |
|
||||
|
||||
This site was last updated at: 2019-08-12 19:42:30 -0400
|
||||
This site was last updated at: 2019-08-12 19:45:00 -0400
|
||||
</span>
|
||||
</div>
|
||||
</nav>
|
||||
|
Loading…
x
Reference in New Issue
Block a user