Ubuntu 한글 지원 설정
Posted 2007. 9. 13. 13:15, Filed under: Study/Computer Sciencehttps://help.ubuntu.com/community/KoreanSetupHowto
KoreanSetupHowto
This How To is completely untested and may break your system English will append later.
1. adsl connecting
# sudo pppoeconf
-
(if you use hanaro for example, input username with userid@hanaro format and input passwd with any letter)
2. enable root su commmand
-
In Menu, Applications -> System tools -> Root Terminal
# passwd (enter and confirm your new password)
3. Install Korean X input method
-
Append your source list
$ sudo vi /etc/apt/sources.list deb http://ftp.kr.debian.org/debian/ unstable main $ sudo apt-get update $ sudo apt-get install nabi
-
Then, remove deb http://ftp.kr.debian.org/debian/ unstable main in your source list and apt-get update again to refresh source list
$ cd $ vi .gnomerc export XMODIFIERS="@im=nabi" export GTK_IM_MODULE=xim
-
registering nabi with session In menu, Computer -> Desktop Preferences -> Sessions Select Startup Program Tab, press Add button and type /usr/bin/nabi Q: Is this effected to all of the users? - Hwasung
$ sudo dpkg-reconfigure locales
-
To use English but enable Korean input, select en_US.UTF-8 UTF-8 To get Korean menu, messages, etc., select ko_KR.EUC-KR EUC-KR or ko_KR.UTF-8 UTF-8 (UTF-8 means Unicode)
4. registering Korean font
-
download hanyang fonts like MS Windows Gulim, Dotum and Batang fonts. (ttf-baekmuk is installed by default; is that not good enough? --ColinWatson)
$ cd $ wget -c ftp://ftp.haansoftlinux.com/pub/haansoftlinux/OS/2005/Workstation/RPMS/hanyang-ttf-2.0-2hs.noarch.rpm
-
extract only *.ttf fonts. In menu, Computer -> Home -> double click hanyang-ttf-2.0-1hl.noarch.rpm with your mouse In File-roller Window, input Extract Group -> Files *.ttf, uncheck Re-create folder in Action Group
- .ttf fonts will be extracted in your home directory.
$ cd /usr/share/fonts/truetype $ sudo mkdir hanyang $ cd hanyang $ sudo mv ~/*.ttf . $ sudo chown root.root *.ttf $ sudo mkfontdir $ cd .. $ pwd /usr/share/fonts/truetype $ sudo vi font.cache-1 "hanyang" 0 ".dir" $ sudo fc-cache
-
Now, Computer -> Desktop Preferences -> Font, You can see Gulim, Dotum, Batang Fonts.