View previous topic :: View next topic |
Author |
Message |
lotusvale Guru
Joined: 06 Mar 2003 Posts: 339 Location: Canada
|
Posted: Wed Apr 23, 2003 10:48 pm Post subject: korean input |
|
|
is there anyone who knows how to enable viewing korean and koren inputing under mozilla or amsn ? _________________
-SuSe shot- | -G shot-
Shadowrider's Lair |
|
Back to top |
|
|
kwon37xi n00b
Joined: 25 Apr 2003 Posts: 9 Location: Seoul, Korea
|
Posted: Fri Apr 25, 2003 6:13 am Post subject: Korean... |
|
|
1. install korean fonts
# emerge baekmuk-fonts
edit your /etc/X11/XF86Config
put the followings..
FontPath "/usr/X11R6/lib/X11/fonts/baekmuk/:unscaled"
FontPath "/usr/share/fonts/ttf/korean/baekmuk/"
2. install InputMethod. but If you use GNOME2 and GTK+2 & XFT enabled Mozilla, you don't need to do it.
# export XMODIFIERS=@im=Ami
# emerge ami
3. run Ami
# ami
if you use KDE, WindowMaker or BlackBox, etc... try wmami.
if you use GNOME2 and GTK+2/XFT enabled Mozilla you need just set InputMethod as Hangul(KSC5601)
There is the better InputMethod for GTK+2 - imhangul. but not essential.
4. Set mozilla fonts
Edit->Preference->Appearance->fonts
Korean Serif : baekmuk-batang-ksc5601.1987
Korean SanSerif : baekmuk-gulim-ksc5601.1987
Korean Monospace : baekmuk-batang-ksc5601.1987
Korean Others : baekmuk-batang-ksc5601.1987
if Korean webpages are broken try View->CharacterSet->Korean(EUC-kR)
Now you are ready to read/write Korean.
ps. Korean locale : LANG='ko_KR';
Last edited by kwon37xi on Sat Apr 26, 2003 5:53 am; edited 1 time in total |
|
Back to top |
|
|
lotusvale Guru
Joined: 06 Mar 2003 Posts: 339 Location: Canada
|
|
Back to top |
|
|
lotusvale Guru
Joined: 06 Mar 2003 Posts: 339 Location: Canada
|
Posted: Sun Apr 27, 2003 2:06 am Post subject: |
|
|
wait...
the korean locale is so that i can type from the terminal right?
how would you add it to the terminal profile? _________________
-SuSe shot- | -G shot-
Shadowrider's Lair |
|
Back to top |
|
|
kwon37xi n00b
Joined: 25 Apr 2003 Posts: 9 Location: Seoul, Korea
|
Posted: Sun Apr 27, 2003 6:55 am Post subject: add Korea locale to .bash_profile or .bashrc or /etc/profile |
|
|
edit .bash_profile or .bashrc
add the following
export LANG='ko_KR'
or if you want to use Korean always and for every user in you LinuxBox,
add the sentence to the end of /etc/profile
xterm does not support unicode.
You'd better try hanterm.
# emerge hanterm
Hanterm is a X terminal for Korean. It does not need Ami.
If hanterm doesn't work, check font setting.
Hanterm setup file is /etc/X11/app-defaults/Hanterm
font settings are like
Hanterm*Font: -lucidatypewriter-medium-r-normal-sans-12-120-*-*-*-70-iso8859-1
Hanterm*hangulFont: -*-gulim-medium-r-normal--14-140-75-75-*-140-ksc5601.1987-0
Hanterm*Font is for English, Hanterm*hangulFont is for Korean.
If you've installed baekmuk fonts, hanterm will work fine.
ps. default hanterm does not excute a login shell. |
|
Back to top |
|
|
nyma96 n00b
Joined: 12 May 2003 Posts: 22
|
Posted: Wed May 28, 2003 5:10 am Post subject: |
|
|
FontPath "/usr/share/fonts/ttf/korean/baekmuk/"
this line gives error.....
and do you get korean on playlist of xmms???
tried adding font baekmuk...but still doesnt work....
I also get error with hanterm...saying check font....
I installed baekmuk and I could see file name in korean...
do you how to solve this??? |
|
Back to top |
|
|
kwon37xi n00b
Joined: 25 Apr 2003 Posts: 9 Location: Seoul, Korea
|
Posted: Sun Jun 22, 2003 2:29 pm Post subject: Check font path. |
|
|
nyma96 wrote: | FontPath "/usr/share/fonts/ttf/korean/baekmuk/"
this line gives error.....
|
Baekmul font 2.1 has different font path. I guess /usr/share/fonts/ttf/korean/baekmuk-2.1. Check your font path.
Quote: |
and do you get korean on playlist of xmms???
tried adding font baekmuk...but still doesnt work....
|
set fonts like "englishfont,koreanfont". and turn on 'use x fontset' - (I don't know the sentences in english, because I always see Korean messages)
ex) -adobe-helvetica-medium-r-normal-*-12-*-*-*-p-*-iso8859-1,-baekmuk-gulim-medium-r-*-*-12-*-*-*-*-*-ksc5601.1987-*
Quote: |
I also get error with hanterm...saying check font....
I installed baekmuk and I could see file name in korean...
do you how to solve this??? | [
Try "hanterm -fn english-font -hfn korean-font"
I guess just 'hanterm -hfn -baekmuk-gulim-medium-r-*-*-12-*-*-*-*-*-ksc5601.1987-*' will work. |
|
Back to top |
|
|
wepy n00b
Joined: 08 Jun 2003 Posts: 15
|
Posted: Sat Jul 05, 2003 7:33 pm Post subject: what if you don't want GNOME/esound? |
|
|
i want to input korean, but i don't want gnome-libs and i don't want esound... sound shouldn't have anything to do with input |
|
Back to top |
|
|
rounin Tux's lil' helper
Joined: 13 Apr 2003 Posts: 84
|
Posted: Thu Jul 24, 2003 11:00 am Post subject: |
|
|
OK, I've tried Ami, imhangul and the ksc-whatever thing, and from what I understand, there's no such thing as Romaji in Korea, right? Meaning if I want to use it I'll have to put little Hangul stickers on my keys?
P.S. I've updated my internationalization howto to include Korean input. I didn't include the part about the baekmuk fonts, though, since Gentoo already seems to have a few Korean fonts, at least after you install X and mozilla and whatever.
http://home.no.net/david/i18n.html |
|
Back to top |
|
|
newyorker n00b
Joined: 18 Sep 2003 Posts: 18
|
Posted: Sat Oct 04, 2003 9:30 pm Post subject: |
|
|
err...I could input korean in kde but I cnat input korean on gnome2....
it driving me nuts....I did everything but still no go....
I could see korean though....I cant input korean on mozilla, mozillafirebird, and xchat...
seems like I cant input korean on any of gnome programs...
I would open xchat in kde but still wouldn't input korean.... |
|
Back to top |
|
|
rounin Tux's lil' helper
Joined: 13 Apr 2003 Posts: 84
|
Posted: Sat Oct 04, 2003 10:12 pm Post subject: |
|
|
newyorker wrote: | I would open xchat in kde but still wouldn't input korean.... |
So have you emerged the GTK2 input method imhangul?
In that case, just right-click on any text input field and manually change your input method to Hangul.
Then, press shift-space to activate or deactivate it. This is pretty standard for input methods.
Good luck! |
|
Back to top |
|
|
newyorker n00b
Joined: 18 Sep 2003 Posts: 18
|
Posted: Sat Oct 04, 2003 10:29 pm Post subject: |
|
|
I just cant input korean in mozilla, mozillafirebird, and galeon....
no right click option....I mean the iput method option |
|
Back to top |
|
|
rounin Tux's lil' helper
Joined: 13 Apr 2003 Posts: 84
|
Posted: Sat Oct 04, 2003 11:02 pm Post subject: |
|
|
newyorker wrote: | I just cant input korean in mozilla, mozillafirebird, and galeon....
no right click option....I mean the iput method option |
Try using GTK_IM_MODULE="imhangul" mozilla
or
export GTK_IM_MODULE="imhangul"
mozilla
Mozilla really needs you to select all that stuff from the command line, and not from the program, I'm afraid.
Also, if you don't have the GTK2 version of mozilla, then you need to use the other input method, ami. |
|
Back to top |
|
|
newyorker n00b
Joined: 18 Sep 2003 Posts: 18
|
Posted: Mon Oct 06, 2003 3:34 am Post subject: |
|
|
well thanks for the reply.....
but I still cant type korean in mozilla....
I tried all that.....even tried with re-merging with use gtk2...but still nothing...
actually I could type korean in galeon....but that's about it....no mozilla support....
I use imhangul for galeon....but mozilla both imhangul and ami dont work....
weird.... |
|
Back to top |
|
|
rounin Tux's lil' helper
Joined: 13 Apr 2003 Posts: 84
|
Posted: Mon Oct 06, 2003 3:10 pm Post subject: |
|
|
USE="xft" emerge mozilla... =P |
|
Back to top |
|
|
|