I can't type in Korean at the terminal (only).
by NuttyJamie from LinuxQuestions.org on (#5EB2H)
Hello folks!
I installed Slackware64 14.2 on my new, old laptop(Thinkpad T420, It's just amazing laptop tho:)) a few days ago and upgraded to the Slackware64-current version. I'm using it very satisfactorily.
However, I am experiencing one problem. I cannot enter Korean in the terminal emulator. When I open a Korean text file written in utf8 at the terminal, it is printed properly, but I can't type in Korean.
I'm sure the ibus-daemon is working. Because the keyboard layout change interface is displayed when Shift+Space is pressed. I changed layout to Korean, but only English is entered though.
I'm using suckless st, and had same result in other programs such as xterm, urxvt.
BUT! it was possible to input Korean in Konsole. And, there is no problem with other X-window applications (such as Firefox, gvim, Thunderbird, etc.) too. I don't know what the difference between these programs is that they can't be entered in Korean. It's very wierd. :confused:
So, let me tell you about my environment:
Slackware64-current with full installation (from 14.2)
dwm window manager
ibus Input Method
Code:sudo /usr/sbin/slackpkg search ibus
Password:
Looking for ibus in package list. Please wait... DONE
The list below shows all packages with name matching "ibus".
[ installed ] - libusb-1.0.24-x86_64-2
[ installed ] - libusb-compat-0.1.5-x86_64-4
[ installed ] - libusbmuxd-20200615_c7d7d1a-x86_64-2
[ installed ] - ibus-1.5.23-x86_64-2
[ installed ] - ibus-anthy-1.5.11-x86_64-2
[ installed ] - ibus-hangul-1.5.4-x86_64-2
[ installed ] - ibus-kkc-1.5.22-x86_64-2
[ installed ] - ibus-libpinyin-1.12.0-x86_64-1
[ installed ] - ibus-m17n-1.4.4-x86_64-1
[ installed ] - ibus-table-1.12.4-x86_64-1
[ installed ] - ibus-unikey-0.6.1-x86_64-2
You can search specific files using "slackpkg file-search file".And the things I've tried:
Change locale settings to Korean
Code:1 ~ $ locale
LANG=ko_KR.utf8
LC_CTYPE="ko_KR.utf8"
LC_NUMERIC="ko_KR.utf8"
LC_TIME="ko_KR.utf8"
LC_COLLATE=C
LC_MONETARY="ko_KR.utf8"
LC_MESSAGES="ko_KR.utf8"
LC_PAPER="ko_KR.utf8"
LC_NAME="ko_KR.utf8"
LC_ADDRESS="ko_KR.utf8"
LC_TELEPHONE="ko_KR.utf8"
LC_MEASUREMENT="ko_KR.utf8"
LC_IDENTIFICATION="ko_KR.utf8"
LC_ALL=And just copy&paste below to ~/.xinitrc, ~/.xprofile, ~/.bash_profile and ~/.bashrc
Code:export GTK_IM_MODULE=ibus
export XMODIFIERS=@im=ibus
export QT_IM_MODULE=ibus
export XIM_PROGRAM=/usr/bin/ibusAnd then reboot, login again, then turn on st, xterm, tried to type Korean again, not working, go back to Google and searched and so on..:doh:
All these attempts were never resolved, and I can no longer come up with an idea to solve it on my own. How can I enter Korean in the terminal? Especially on st.
I don't want to change the Input Method or terminal as much as possible.
I would appreciate any hints or ideas needed to solve the problem. Also, If you need any information to solve the problem, please let me know.
Thank you.:hattip:


I installed Slackware64 14.2 on my new, old laptop(Thinkpad T420, It's just amazing laptop tho:)) a few days ago and upgraded to the Slackware64-current version. I'm using it very satisfactorily.
However, I am experiencing one problem. I cannot enter Korean in the terminal emulator. When I open a Korean text file written in utf8 at the terminal, it is printed properly, but I can't type in Korean.
I'm sure the ibus-daemon is working. Because the keyboard layout change interface is displayed when Shift+Space is pressed. I changed layout to Korean, but only English is entered though.
I'm using suckless st, and had same result in other programs such as xterm, urxvt.
BUT! it was possible to input Korean in Konsole. And, there is no problem with other X-window applications (such as Firefox, gvim, Thunderbird, etc.) too. I don't know what the difference between these programs is that they can't be entered in Korean. It's very wierd. :confused:
So, let me tell you about my environment:
Slackware64-current with full installation (from 14.2)
dwm window manager
ibus Input Method
Code:sudo /usr/sbin/slackpkg search ibus
Password:
Looking for ibus in package list. Please wait... DONE
The list below shows all packages with name matching "ibus".
[ installed ] - libusb-1.0.24-x86_64-2
[ installed ] - libusb-compat-0.1.5-x86_64-4
[ installed ] - libusbmuxd-20200615_c7d7d1a-x86_64-2
[ installed ] - ibus-1.5.23-x86_64-2
[ installed ] - ibus-anthy-1.5.11-x86_64-2
[ installed ] - ibus-hangul-1.5.4-x86_64-2
[ installed ] - ibus-kkc-1.5.22-x86_64-2
[ installed ] - ibus-libpinyin-1.12.0-x86_64-1
[ installed ] - ibus-m17n-1.4.4-x86_64-1
[ installed ] - ibus-table-1.12.4-x86_64-1
[ installed ] - ibus-unikey-0.6.1-x86_64-2
You can search specific files using "slackpkg file-search file".And the things I've tried:
Change locale settings to Korean
Code:1 ~ $ locale
LANG=ko_KR.utf8
LC_CTYPE="ko_KR.utf8"
LC_NUMERIC="ko_KR.utf8"
LC_TIME="ko_KR.utf8"
LC_COLLATE=C
LC_MONETARY="ko_KR.utf8"
LC_MESSAGES="ko_KR.utf8"
LC_PAPER="ko_KR.utf8"
LC_NAME="ko_KR.utf8"
LC_ADDRESS="ko_KR.utf8"
LC_TELEPHONE="ko_KR.utf8"
LC_MEASUREMENT="ko_KR.utf8"
LC_IDENTIFICATION="ko_KR.utf8"
LC_ALL=And just copy&paste below to ~/.xinitrc, ~/.xprofile, ~/.bash_profile and ~/.bashrc
Code:export GTK_IM_MODULE=ibus
export XMODIFIERS=@im=ibus
export QT_IM_MODULE=ibus
export XIM_PROGRAM=/usr/bin/ibusAnd then reboot, login again, then turn on st, xterm, tried to type Korean again, not working, go back to Google and searched and so on..:doh:
All these attempts were never resolved, and I can no longer come up with an idea to solve it on my own. How can I enter Korean in the terminal? Especially on st.
I don't want to change the Input Method or terminal as much as possible.
I would appreciate any hints or ideas needed to solve the problem. Also, If you need any information to solve the problem, please let me know.
Thank you.:hattip: