OS/Raspberry Pi

Raspberry Pi 한글 설정

강서버 2023. 4. 21. 11:47
728x90
반응형

1. fonts-unfonts-core 설치

sudo apt install fonts-unfonts-core

 

user@raspberrypi:~ $ sudo apt install fonts-unfonts-core

Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following NEW packages will be installed:
  fonts-unfonts-core
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 14.9 MB of archives.
After this operation, 34.3 MB of additional disk space will be used.
Get:1 http://deb.debian.org/debian bullseye/main arm64 fonts-unfonts-core all 1:1.0.2-080608-16 [14.9 MB]
Fetched 14.9 MB in 3s (4,593 kB/s)             
Selecting previously unselected package fonts-unfonts-core.
(Reading database ... 96855 files and directories currently installed.)
Preparing to unpack .../fonts-unfonts-core_1%3a1.0.2-080608-16_all.deb ...
Unpacking fonts-unfonts-core (1:1.0.2-080608-16) ...
Setting up fonts-unfonts-core (1:1.0.2-080608-16) ...
Processing triggers for fontconfig (2.13.1-4.2) ...

 

 

2. IBUS 설치

sudo apt install ibus ibus-hangul


user@raspberrypi:~ $ sudo apt install ibus ibus-hangul
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
  dconf-cli gir1.2-ibus-1.0 ibus-data ibus-gtk ibus-gtk3 im-config
  libhangul-data libhangul1 libibus-1.0-5 python3-ibus-1.0
Suggested packages:
  ibus-clutter ibus-doc
The following NEW packages will be installed:
  dconf-cli gir1.2-ibus-1.0 ibus ibus-data ibus-gtk ibus-gtk3 ibus-hangul
  im-config libhangul-data libhangul1 libibus-1.0-5 python3-ibus-1.0
0 upgraded, 12 newly installed, 0 to remove and 0 not upgraded.
Need to get 9,778 kB of archives.
After this operation, 69.8 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://deb.debian.org/debian bullseye/main arm64 dconf-cli arm64 0.38.0-2 [31.2 kB]
Get:2 http://deb.debian.org/debian bullseye/main arm64 libibus-1.0-5 arm64 1.5.23-2 [394 kB]
Get:3 http://deb.debian.org/debian bullseye/main arm64 gir1.2-ibus-1.0 arm64 1.5.23-2 [317 kB]
Get:4 http://deb.debian.org/debian bullseye/main arm64 ibus-data all 1.5.23-2 [5,692 kB]
Get:5 http://deb.debian.org/debian bullseye/main arm64 python3-ibus-1.0 all 1.5.23-2 [259 kB]
Get:6 http://deb.debian.org/debian bullseye/main arm64 ibus arm64 1.5.23-2 [520 kB]
Get:7 http://deb.debian.org/debian bullseye/main arm64 ibus-gtk arm64 1.5.23-2 [266 kB]
Get:8 http://deb.debian.org/debian bullseye/main arm64 ibus-gtk3 arm64 1.5.23-2 [267 kB]
Get:9 http://deb.debian.org/debian bullseye/main arm64 libhangul-data all 0.1.0+git20191003-2 [1,868 kB]
Get:10 http://deb.debian.org/debian bullseye/main arm64 libhangul1 arm64 0.1.0+git20191003-2 [58.6 kB]
Get:11 http://deb.debian.org/debian bullseye/main arm64 ibus-hangul arm64 1.5.4-1 [52.8 kB]
Get:12 http://deb.debian.org/debian bullseye/main arm64 im-config all 0.46-1+deb11u1 [52.2 kB]
Fetched 9,778 kB in 2s (6,267 kB/s)  
Selecting previously unselected package dconf-cli.
(Reading database ... 96874 files and directories currently installed.)
Preparing to unpack .../00-dconf-cli_0.38.0-2_arm64.deb ...
Unpacking dconf-cli (0.38.0-2) ...
Selecting previously unselected package libibus-1.0-5:arm64.
Preparing to unpack .../01-libibus-1.0-5_1.5.23-2_arm64.deb ...
Unpacking libibus-1.0-5:arm64 (1.5.23-2) ...
Selecting previously unselected package gir1.2-ibus-1.0:arm64.
Preparing to unpack .../02-gir1.2-ibus-1.0_1.5.23-2_arm64.deb ...
Unpacking gir1.2-ibus-1.0:arm64 (1.5.23-2) ...
Selecting previously unselected package ibus-data.
Preparing to unpack .../03-ibus-data_1.5.23-2_all.deb ...
Unpacking ibus-data (1.5.23-2) ...
Selecting previously unselected package python3-ibus-1.0.
Preparing to unpack .../04-python3-ibus-1.0_1.5.23-2_all.deb ...
Unpacking python3-ibus-1.0 (1.5.23-2) ...
Selecting previously unselected package ibus.
Preparing to unpack .../05-ibus_1.5.23-2_arm64.deb ...
Unpacking ibus (1.5.23-2) ...
Selecting previously unselected package ibus-gtk:arm64.
Preparing to unpack .../06-ibus-gtk_1.5.23-2_arm64.deb ...
Unpacking ibus-gtk:arm64 (1.5.23-2) ...
Selecting previously unselected package ibus-gtk3:arm64.
Preparing to unpack .../07-ibus-gtk3_1.5.23-2_arm64.deb ...
Unpacking ibus-gtk3:arm64 (1.5.23-2) ...
Selecting previously unselected package libhangul-data.
Preparing to unpack .../08-libhangul-data_0.1.0+git20191003-2_all.deb ...
Unpacking libhangul-data (0.1.0+git20191003-2) ...
Selecting previously unselected package libhangul1:arm64.
Preparing to unpack .../09-libhangul1_0.1.0+git20191003-2_arm64.deb ...
Unpacking libhangul1:arm64 (0.1.0+git20191003-2) ...
Selecting previously unselected package ibus-hangul.
Preparing to unpack .../10-ibus-hangul_1.5.4-1_arm64.deb ...
Unpacking ibus-hangul (1.5.4-1) ...
Selecting previously unselected package im-config.
Preparing to unpack .../11-im-config_0.46-1+deb11u1_all.deb ...
Unpacking im-config (0.46-1+deb11u1) ...
Setting up dconf-cli (0.38.0-2) ...
Setting up libibus-1.0-5:arm64 (1.5.23-2) ...
Setting up ibus-data (1.5.23-2) ...
Setting up libhangul-data (0.1.0+git20191003-2) ...
Setting up libhangul1:arm64 (0.1.0+git20191003-2) ...
Setting up im-config (0.46-1+deb11u1) ...
Setting up ibus-gtk:arm64 (1.5.23-2) ...
Setting up ibus-gtk3:arm64 (1.5.23-2) ...
Setting up gir1.2-ibus-1.0:arm64 (1.5.23-2) ...
Setting up python3-ibus-1.0 (1.5.23-2) ...
Processing triggers for mailcap (3.69) ...
Processing triggers for desktop-file-utils (0.26-1) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for gnome-menus (3.36.0-1) ...
Processing triggers for libglib2.0-0:arm64 (2.66.8-1) ...
Processing triggers for libgtk-3-0:arm64 (3.24.24-4+rpt12+deb11u2) ...
Processing triggers for libgtk2.0-0:arm64 (2.24.33-2+rpt1) ...
Processing triggers for libc-bin (2.31-13+rpt2+rpi1+deb11u5) ...
Processing triggers for man-db (2.9.4-2) ...
Setting up ibus (1.5.23-2) ...
Setting up ibus-hangul (1.5.4-1) ...

 

3. Reboot (재부팅)

(Menu) Logout > Reboot

 

4. Raspberry Pi Locale 설정 변경

(Menu) Preferences > Raspberry Pi Configuration

(Tab) Localisation
Locale: Set Locale...
- Language: ko (Korean)
- Country: KR (South Korea)
- Character Set: UTF-8

 

5. 안되는 경우 유저 홈 디렉토리에서 .bashrc 파일에 아래 내용 추가 후 저장

$ vi ~/.bashrc

export GTK_IM_MODULE=ibus
export XMODIFIERS=@im=ibus
export QT_IM_MODULE=ibus

6. Reboot

(Menu) Logout > Reboot

 

728x90
반응형

'OS > Raspberry Pi' 카테고리의 다른 글

Raspberry Pi firefox install  (0) 2023.04.21
Raspberry Pi double commander install  (0) 2023.04.21
Raspberry Pi OpenJDK 11 install  (0) 2023.04.20
Raspberry Pi Java JDK Install  (0) 2020.10.04
Raspberry pi ibus install  (0) 2020.10.04