HOW TO: SET UP KOREAN IME (incomplete but works)

Add your Tips and tricks to configure and tweak your GhostBSD System here.
Post Reply
ahsarubia
Posts: 7
Joined: Mon Nov 09, 2020 2:23 pm

HOW TO: SET UP KOREAN IME (incomplete but works)

Post by ahsarubia »

Code: Select all

$ cd ~
$ vi .cshrc
setenv LANG ko_KR.UTF-8
setenv LC_ALL ko_KR.UTF-8
$ vi ./config/user-dirs.locale
delete any strings related locale
System → Preference → Personal → Startup Applications add
/usr/local/bin/fcitx

and install fcitx from ports

Code: Select all

$ su
$ cd /usr/ports/korean/fcitx-hangul
$ make install clean
$ cd /usr/ports/chinese/fcitx-configtool
$ make install clean
$ cd /usr/ports/chinese/fcitx-table-extra
$ make install clean
$ cd /usr/ports/chinese/fcitx-table-other
If the installation halted by already installed, change make install clean as to make reinstall clean FORCE_PKG_REGISTER=yes

After finished up,

Code: Select all

$  fcitx
And make sure what key is set for hangul toggle function and run programs and try input Korean characters.

Reboot and use it with comfort. (However, this is not complete because Google Chromium does not take Korean input. Almost all programs can take)
ahsarubia
Posts: 7
Joined: Mon Nov 09, 2020 2:23 pm

Re: HOW TO: SET UP KOREAN IME (incomplete but works)

Post by ahsarubia »

If it does not work, please do this and check:

Code: Select all

$ su
$cd /usr/ports/korean
Install all ttf and otf fonts and add it to /etc/X11/xorg.conf as FontPath directive and reboot and try input Korean characters again.
ahsarubia
Posts: 7
Joined: Mon Nov 09, 2020 2:23 pm

Re: HOW TO: SET UP KOREAN IME (incomplete but works)

Post by ahsarubia »

X11 font directory Korean font ports are installed are resided here:

Code: Select all

/usr/local/share/fonts
and we can modify xorg.conf by the following command:

Code: Select all

$ su
$ vi /etc/X11/xorg.conf
and reboot.
ahsarubia
Posts: 7
Joined: Mon Nov 09, 2020 2:23 pm

Re: HOW TO: SET UP KOREAN IME (incomplete but works)

Post by ahsarubia »

From the xorg.conf file find out already set FontPath directive lines and refer to the format of directive to add new one. If we add unfonts-ttf,

Code: Select all

FontPath "/usr/local/share/fonts/unfonts-core"
which is put somewhere in the Section "Files".
ahsarubia
Posts: 7
Joined: Mon Nov 09, 2020 2:23 pm

Re: HOW TO: SET UP KOREAN IME (incomplete but works)

Post by ahsarubia »

Please see to correct the beforemost command, doing

Code: Select all

 $ vi ./config/user-dirs.locale
is actually this:

Code: Select all

 $ vi ~/.config/user-dirs.locale
Please notice the file is residing in the hidden directory .config which is sub directory to user home directory.
Post Reply