<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="http://dev1galaxy.org/extern.php?action=feed&amp;tid=3761&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / HOW TO: Set up English / Korean keyboard in Xorg]]></title>
		<link>http://dev1galaxy.org/viewtopic.php?id=3761</link>
		<description><![CDATA[The most recent posts in HOW TO: Set up English / Korean keyboard in Xorg.]]></description>
		<lastBuildDate>Sat, 15 Aug 2020 12:17:21 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[HOW TO: Set up English / Korean keyboard in Xorg]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=24091#p24091</link>
			<description><![CDATA[<p>English keyboard layout: Colemak <br />Korean keyboard layout: 3beol</p><p>Install Korean fonts:<br />fonts-baekmuk, fonts-unfonts-core, fonts-unfonts-extra</p><p>Install uim, uim-xim, uim-byeoru packages<br />It would install the packages:<br />libuim-custom2, libuim-data, libuim-scm0, libuim8, uim, uim-byeoru, uim-data,<br />&#160; &#160; uim-fep, uim-gtk2.0, uim-gtk2.0-immodule, uim-gtk3, uim-gtk3-immodule,<br />&#160; &#160; uim-plugins, uim-qt5, uim-qt5-immodule, uim-xim&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;</p><p>Set the environment variables for uim in ~/.bashrc </p><div class="codebox"><pre><code>export GTK_IM_MODULE=&#039;uim&#039;
export QT_IM_MODULE=&#039;uim&#039;
export XMODIFIERS=&#039;@im=uim&#039;</code></pre></div><p>Start xfce and open a terminal, run uim-pref-gtk3</p><div class="codebox"><pre><code>$ uim-xim --engine=byeoru &amp;
$ uim-pref-gtk3</code></pre></div><p>On the preference window</p><p>[Global settings]<br />Specify default IM: on<br />Byeoru: default <br />Disable other input methods by clicking on the &#039;edit&#039; button.</p><p>[Byeoru]&#160; </p><p>Set Korean keyboard layout to 3 beol<br />Specify the korean/Hanja dictionary that Byeoru will use, and other miscellaneous settings. </p><p>[Byeoru Keybinding 1]<br />Set the hotkey Shift+Space to nable/disable Byeoru. </p><p>Add two lines in ~/.config/xfce4/xinitrc <br />(I do not use slim and use ~/.xinitrc to start Xfce4) </p><div class="codebox"><pre><code>uim-xim --engine=byeoru &amp;
uim-toolbar-gtk3-systray &amp;

exec startxfce4</code></pre></div><p>For duboel (2boel) keyboard layout is de facto standard of Hangul input (Korean alphabet). <br />Virtually all Korean IME developers assume Qwerty as English keyboard layout and they uses Qwerty key maps.</p><p>Qwerty <br /><span class="postimg"><img src="https://upload.wikimedia.org/wikipedia/commons/thumb/d/da/KB_United_States.svg/400px-KB_United_States.svg.png" alt="400px-KB_United_States.svg.png" /></span></p><p>Dvorak<br /><span class="postimg"><img src="https://upload.wikimedia.org/wikipedia/commons/thumb/2/25/KB_United_States_Dvorak.svg/400px-KB_United_States_Dvorak.svg.png" alt="400px-KB_United_States_Dvorak.svg.png" /></span></p><p>Colemak<br /><span class="postimg"><img src="https://upload.wikimedia.org/wikipedia/commons/thumb/8/84/KB_US-Colemak.svg/400px-KB_US-Colemak.svg.png" alt="400px-KB_US-Colemak.svg.png" /></span></p><p>If you are using Dvorak or Colemak for English like me, Korean words will be broken.<br />uim-byeoru developer was Korean and provided custom keymap solution luckily.<br />I created a key mapping file for Colemak and 3beol, saved it to ~/.uim file.&#160; uim-byeoru overrides default keymaps of English (Qwerty) and Korean (Dubeol).</p><div class="codebox"><pre class="vscroll"><code>;;; byeoru.scm: a Hangul input module for uim.
;;;
;;; Copyright (c) 2003-2013 uim Project http://code.google.com/p/uim/
;;;
;;; All rights reserved.
;;;
;;; Redistribution and use in source and binary forms, with or without
;;; modification, are permitted provided that the following conditions
;;; are met:
;;; 1. Redistributions of source code must retain the above copyright
;;;    notice, this list of conditions and the following disclaimer.
;;; 2. Redistributions in binary form must reproduce the above copyright
;;;    notice, this list of conditions and the following disclaimer in the
;;;    documentation and/or other materials provided with the distribution.
;;; 3. Neither the name of authors nor the names of its contributors
;;;    may be used to endorse or promote products derived from this software
;;;    without specific prior written permission.
;;;
;;; THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS ``AS IS&#039;&#039; AND
;;; ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
;;; IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
;;; ARE DISCLAIMED.  IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE LIABLE
;;; FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
;;; DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
;;; OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
;;; HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
;;; LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
;;; OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
;;; SUCH DAMAGE.
;;;;

(require-module &quot;byeoru&quot;)

(byeoru-define-layout byeoru-layout-strict3final
 ;; Unshifted keys
 (&quot;`&quot; . &quot;*&quot;)
 (&quot;1&quot; (jongseong-hieuh       . 1))
 (&quot;2&quot; (jongseong-ssangsios   . 5))
 (&quot;3&quot; (jongseong-bieub       . 1))
 (&quot;4&quot; (jungseong-yo          . 1))
 (&quot;5&quot; (jungseong-yu          . 1))
 (&quot;6&quot; (jungseong-ya          . 1))
 (&quot;7&quot; (jungseong-ye          . 1))
 (&quot;8&quot; (jungseong-ui          . 4))
 (&quot;9&quot; (jungseong-u           . 2))
 (&quot;0&quot; (choseong-kieuk        . 1))
 (&quot;-&quot; . &quot;)&quot;)
 (&quot;=&quot; . &quot;&gt;&quot;)
 (&quot;q&quot; (jongseong-sios        . 1))
 (&quot;w&quot; (jongseong-rieul       . 1))
 (&quot;f&quot; (jungseong-yeo         . 1))
 (&quot;p&quot; (jungseong-ae          . (1 4)))
 (&quot;g&quot; (jungseong-eo          . (1 4)))
 (&quot;j&quot; (choseong-rieul        . 1))
 (&quot;l&quot; (choseong-digeud       . (3 5)))
 (&quot;u&quot; (choseong-mieum        . 1))
 (&quot;y&quot; (choseong-chieuch      . 1))
 (&quot;;&quot; (choseong-pieup        . 1))
 (&quot;[&quot; . &quot;(&quot;)
 (&quot;]&quot; . &quot;&lt;&quot;)
 (&quot;\\&quot; . &quot;:&quot;)
 (&quot;a&quot; (jongseong-ieung       . 1))
 (&quot;r&quot; (jongseong-nieun       . 1))
 (&quot;s&quot; (jungseong-i           . (1 4)))
 (&quot;t&quot; (jungseong-a           . (1 4)))
 (&quot;d&quot; (jungseong-eu          . 1))
 (&quot;h&quot; (choseong-nieun        . 1))
 (&quot;n&quot; (choseong-ieung        . 1))
 (&quot;e&quot; (choseong-giyeog       . (3 5)))
 (&quot;i&quot; (choseong-jieuj        . (3 5)))
 (&quot;o&quot; (choseong-bieub        . (3 5)))
 (&quot;&#039;&quot; (choseong-tieut        . 1))
 (&quot;z&quot; (jongseong-mieum       . 1))
 (&quot;x&quot; (jongseong-giyeog      . 1))
 (&quot;c&quot; (jungseong-e           . (1 4)))
 (&quot;v&quot; (jungseong-o           . 1))
 (&quot;b&quot; (jungseong-u           . 1))
 (&quot;k&quot; (choseong-sios         . (3 5)))
 (&quot;m&quot; (choseong-hieuh        . 1))
 (&quot;/&quot; (jungseong-o           . 2))
 ;; Shifted keys
 (&quot;~&quot; . #x203b)             ; U+203B, REFERENCE MARK
 (&quot;!&quot; (jongseong-ssanggiyeog . 5))
 (&quot;@&quot; (jongseong-rieulgiyeog . 4))
 (&quot;#&quot; (jongseong-jieuj       . 1))
 (&quot;$&quot; (jongseong-rieulpieup  . 4))
 (&quot;%&quot; (jongseong-rieultieut  . 4))
 (&quot;^&quot; . &quot;=&quot;)
 (&quot;&amp;&quot; . #x201c)             ; U+201C, LEFT DOUBLE QUOTATION MARK
 (&quot;*&quot; . #x201d)             ; U+201D, RIGHT DOUBLE QUOTATION MARK
 (&quot;(&quot; . &quot;&#039;&quot;)
 (&quot;)&quot; . &quot;~&quot;)
 (&quot;_&quot; . &quot;;&quot;)
 (&quot;Q&quot; (jongseong-pieup       . 1))
 (&quot;W&quot; (jongseong-tieut       . 1))
 (&quot;F&quot; (jongseong-nieunjieuj  . 4))
 (&quot;P&quot; (jongseong-rieulhieuh  . 4))
 (&quot;G&quot; (jongseong-rieulsios   . 4))
 (&quot;J&quot; . &quot;5&quot;)
 (&quot;L&quot; . &quot;6&quot;)
 (&quot;U&quot; . &quot;7&quot;)
 (&quot;Y&quot; . &quot;8&quot;)
 (&quot;:&quot; . &quot;9&quot;)
 (&quot;{&quot; . &quot;%&quot;)
 (&quot;}&quot; . &quot;/&quot;)
 (&quot;|&quot; . &quot;\\&quot;)
 ;;     (&quot;|&quot; . #x20a9)           ; U+20A9, WON SIGN
 (&quot;A&quot; (jongseong-digeud      . 1))
 (&quot;R&quot; (jongseong-nieunhieuh  . 4))
 (&quot;S&quot; (jongseong-rieulbieub  . 4))
 (&quot;T&quot; (jongseong-rieulmieum  . 4))
 (&quot;D&quot; (jungseong-yae         . 1))
 (&quot;H&quot; . &quot;0&quot;)
 (&quot;N&quot; . &quot;1&quot;)
 (&quot;E&quot; . &quot;2&quot;)
 (&quot;I&quot; . &quot;3&quot;)
 (&quot;O&quot; . &quot;4&quot;)
 (&quot;\&quot;&quot; . #x00b7)            ; U+00B7, MIDDLE DOT
 (&quot;Z&quot; (jongseong-chieuch     . 1))
 (&quot;X&quot; (jongseong-bieubsios   . 4))
 (&quot;C&quot; (jongseong-kieuk       . 1))
 (&quot;V&quot; (jongseong-giyeogsios  . 4))
 (&quot;B&quot; . &quot;?&quot;)
 (&quot;K&quot; . &quot;-&quot;)
 (&quot;M&quot; . &quot;\&quot;&quot;)
 (&quot;&lt;&quot; . &quot;,&quot;)
 (&quot;&gt;&quot; . &quot;.&quot;)
 (&quot;?&quot; . &quot;!&quot;))

(byeoru-define-layout byeoru-layout-generous3final
 ;; Unshifted keys
 (&quot;`&quot; . &quot;*&quot;)
 (&quot;1&quot; (jongseong-hieuh       . (1 4)))
 (&quot;2&quot; (jongseong-ssangsios   . 5))
 (&quot;3&quot; (jongseong-bieub       . (3 4)))
 (&quot;4&quot; (jungseong-yo          . 1))
 (&quot;5&quot; (jungseong-yu          . 1))
 (&quot;6&quot; (jungseong-ya          . 1))
 (&quot;7&quot; (jungseong-ye          . 1))
 (&quot;8&quot; (jungseong-ui          . 4))
 (&quot;9&quot; (jungseong-u           . 3))
 (&quot;0&quot; (choseong-kieuk        . 1))
 (&quot;-&quot; . &quot;)&quot;)
 (&quot;=&quot; . &quot;&gt;&quot;)
 (&quot;q&quot; (jongseong-sios        . (3 4 5)))
 (&quot;w&quot; (jongseong-rieul       . 3))
 (&quot;f&quot; (jungseong-yeo         . 1))
 (&quot;p&quot; (jungseong-ae          . (1 4)))
 (&quot;g&quot; (jungseong-eo          . (1 4)))
 (&quot;j&quot; (choseong-rieul        . 1))
 (&quot;l&quot; (choseong-digeud       . (3 5)))
 (&quot;u&quot; (choseong-mieum        . 1))
 (&quot;y&quot; (choseong-chieuch      . 1))
 (&quot;;&quot; (choseong-pieup        . 1))
 (&quot;[&quot; . &quot;(&quot;)
 (&quot;]&quot; . &quot;&lt;&quot;)
 (&quot;\\&quot; . &quot;:&quot;)
 (&quot;a&quot; (jongseong-ieung       . 1))
 (&quot;r&quot; (jongseong-nieun       . 3))
 (&quot;s&quot; (jungseong-i           . (1 4)))
 (&quot;t&quot; (jungseong-a           . (1 4)))
 (&quot;d&quot; (jungseong-eu          . 3))
 (&quot;h&quot; (choseong-nieun        . 1))
 (&quot;n&quot; (choseong-ieung        . 1))
 (&quot;e&quot; (choseong-giyeog       . (3 5)))
 (&quot;i&quot; (choseong-jieuj        . (3 5)))
 (&quot;o&quot; (choseong-bieub        . (3 5)))
 (&quot;&#039;&quot; (choseong-tieut        . 1))
 (&quot;z&quot; (jongseong-mieum       . (1 4)))
 (&quot;x&quot; (jongseong-giyeog      . (3 4 5)))
 (&quot;c&quot; (jungseong-e           . (1 4)))
 (&quot;v&quot; (jungseong-o           . 3))
 (&quot;b&quot; (jungseong-u           . 3))
 (&quot;k&quot; (choseong-sios         . (3 5)))
 (&quot;m&quot; (choseong-hieuh        . 1))
 (&quot;/&quot; (jungseong-o           . 3))
 ;; Shifted keys
 (&quot;~&quot; . #x203b)             ; U+203B, REFERENCE MARK
 (&quot;!&quot; (jongseong-ssanggiyeog . 5))
 (&quot;@&quot; (jongseong-rieulgiyeog . 4))
 (&quot;#&quot; (jongseong-jieuj       . (1 4)))
 (&quot;$&quot; (jongseong-rieulpieup  . 4))
 (&quot;%&quot; (jongseong-rieultieut  . 4))
 (&quot;^&quot; . &quot;=&quot;)
 (&quot;&amp;&quot; . #x201c)             ; U+201C, LEFT DOUBLE QUOTATION MARK
 (&quot;*&quot; . #x201d)             ; U+201D, RIGHT DOUBLE QUOTATION MARK
 (&quot;(&quot; . &quot;&#039;&quot;)
 (&quot;)&quot; . &quot;~&quot;)
 (&quot;_&quot; . &quot;;&quot;)
 (&quot;Q&quot; (jongseong-pieup       . (1 4)))
 (&quot;W&quot; (jongseong-tieut       . (1 4)))
 (&quot;F&quot; (jongseong-nieunjieuj  . 4))
 (&quot;P&quot; (jongseong-rieulhieuh  . 4))
 (&quot;G&quot; (jongseong-rieulsios   . 4))
 (&quot;J&quot; . &quot;5&quot;)
 (&quot;L&quot; . &quot;6&quot;)
 (&quot;U&quot; . &quot;7&quot;)
 (&quot;Y&quot; . &quot;8&quot;)
 (&quot;:&quot; . &quot;9&quot;)
 (&quot;{&quot; . &quot;%&quot;)
 (&quot;}&quot; . &quot;/&quot;)
 (&quot;|&quot; . &quot;\\&quot;)
 ;;     (&quot;|&quot; . #x20a9)      ; U+20A9, WON SIGN
 (&quot;A&quot; (jongseong-digeud      . 1))
 (&quot;R&quot; (jongseong-nieunhieuh  . 4))
 (&quot;S&quot; (jongseong-rieulbieub  . 4))
 (&quot;T&quot; (jongseong-rieulmieum  . 4))
 (&quot;D&quot; (jungseong-yae         . 1))
 (&quot;H&quot; . &quot;0&quot;)
 (&quot;N&quot; . &quot;1&quot;)
 (&quot;E&quot; . &quot;2&quot;)
 (&quot;I&quot; . &quot;3&quot;)
 (&quot;O&quot; . &quot;4&quot;)
 (&quot;\&quot;&quot;. #x00b7)             ; U+00B7, MIDDLE DOT
 (&quot;Z&quot; (jongseong-chieuch     . 1))
 (&quot;X&quot; (jongseong-bieubsios   . 4))
 (&quot;C&quot; (jongseong-kieuk       . 1))
 (&quot;V&quot; (jongseong-giyeogsios  . 4))
 (&quot;B&quot; . &quot;?&quot;)
 (&quot;K&quot; . &quot;-&quot;)
 (&quot;M&quot; . &quot;\&quot;&quot;)
 (&quot;&lt;&quot; . &quot;,&quot;)
 (&quot;&gt;&quot; . &quot;.&quot;)
 (&quot;?&quot; . &quot;!&quot;))</code></pre></div><p>Reference</p><p><a href="https://wiki.archlinux.org/index.php/Localization/Korean#Using_the_Right_alt_key_to_switch_input_methods" rel="nofollow">https://wiki.archlinux.org/index.php/Lo … ut_methods</a></p>]]></description>
			<author><![CDATA[dummy@example.com (penguin)]]></author>
			<pubDate>Sat, 15 Aug 2020 12:17:21 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=24091#p24091</guid>
		</item>
	</channel>
</rss>
