Raspberry Pi 4 : 한글 입력기 설치 (fcitx)

OS/Raspberry Pi 2020. 12. 27. 18:37 Posted by 파란크리스마스

출처

fcitx-hangul 설치

pi@raspberrypi:~$ sudo apt-get install fcitx-hangul im-config

한글 입력기 부팅시 시작하기

pi@raspberrypi:~$ im-config -n fcitx

한글 입력기 설정 확인

pi@raspberrypi:~$ cat ~/.xinputrc
# im-config(8) generated on Sun, 27 Dec 2020 17:49:05 +0900
run_im fcitx
# im-config signature: c519abadb35fd4cbda207562ebdc4690  -

한글폰트 설치

pi@raspberrypi:~$ sudo apt install fonts-nanum fonts-nanum-extra

한글 ????? 출력 해결

로케일 관련 패키지가 설치

pi@raspberrypi:~$ sudo apt install locales

로케일 설정

pi@raspberrypi:~$ sudo dpkg-reconfigure locales

Package configuration

 +-----------------------+ Configuring locales +-----------------------+
 | Locales are a framework to switch between multiple languages and    |
 | allow users to use their language, country, characters, collation   |
 | order, etc.                                                         |
 |                                                                     |
 | Please choose which locales to generate. UTF-8 locales should be    |
 | chosen by default, particularly for new installations. Other        |
 | character sets may be useful for backwards compatibility with       |
 | older systems and software.                                         |
 |                                                                     |
 | Locales to be generated:                                            |
 |                                                                     |
 |    [ ] en_NG UTF-8                                                  |
 |    [ ] en_NZ ISO-8859-1                                         a   |
 |    [ ] en_NZ.UTF-8 UTF-8                                        a   |
 |    [ ] en_ZA ISO-8859-1                                         a   |
 |    [*] en_US.UTF-8 UTF-8                                        a   |
 |    [*] ko_KR.UTF-8 UTF-8                                        a   |
 |                                                                     |
 |                                                                     |
 |                  <ok>                      <cancel>                 |
 |                                                                     |
 +---------------------------------------------------------------------+
 +-----------------------+ Configuring locales +-----------------------+
 | Many packages in Debian use locales to display text in the correct  |
 | language for the user. You can choose a default locale for the      |
 | system from the generated locales.                                  |
 |                                                                     |
 | This will select the default language for the entire system. If     |
 | this system is a multi-user system where not all users are able to  |
 | speak the default language, they will experience difficulties.      |
 |                                                                     |
 | Default locale for the system environment:                          |
 |                                                                     |
 |                             None                                    |
 |                           [ C.UTF-8     ]                           |
 |                             en_ZA.UTF-8                             |
 |                             ko_KR.UTF-8                             |
 |                                                                     |
 |                                                                     |
 |                  <ok>                      <cancel>                 |
 |                                                                     |
 +---------------------------------------------------------------------+	

한글 입력기 추가

댓글을 달아 주세요

Raspberry Pi 4 : CodeTyphon 설치

OS/Raspberry Pi 2020. 12. 27. 18:37 Posted by 파란크리스마스

출처

"sudo" 루트 권한 부여

pi@raspberrypi:~$ sudo vi /etc/sudoers

orangepi ALL=(ALL) NOPASSWD: ALL

CodeTyphon 압축 해제

pi@raspberrypi:~$ cd Downloads/
pi@raspberrypi:~/Downloads$ unzip CodeTyphonIns.zip

Qt 버전 확인

pi@raspberrypi:~$ qtchooser -print-env
QT_SELECT="default"
QTTOOLDIR="/usr/lib/arm-linux-gnueabihf/qt4/bin"
QTLIBDIR="/usr/lib/arm-linux-gnueabihf"
pi@raspberrypi:~$ qmake --version
QMake version 2.01a
Using Qt version 4.8.7 in /usr/lib/arm-linux-gnueabihf

Qt4pas 라이브러리 설치 (Option : CodeTyphon 설치시 11) -- Platform (widget) Setup 에서 실행)

qt4-qmake 설치

pi@raspberrypi:~$ sudo apt install qt4-qmake qt4-dev-tools libqtwebkit-dev

ln_Typhon1_QT4pas_Build.sh 수정

pi@raspberrypi:~/Downloads/CodeTyphonIns/installbin/ScriptsLin$ vi ln_Typhon1_QT4pas_Build.sh

i386-linux-gnu를 arm-linux-gnueabihf 수정

# ---- these settings are for Ubuntu Linux -------
      if [ $vBits = 32 ] ;
       then
        vQMake=/usr/lib/i386-linux-gnu/qt4/bin/qmake
       else
        vQMake=/usr/lib/x86_64-linux-gnu/qt4/bin/qmake
       fi

qt4pas.7z 압축을 풀어서 i386-linux 폴더를 arm-linux 복사하고 다시 압축

수동 컴파일 및 설치

pi@raspberrypi:~/Downloads/CodeTyphonIns/installbin/ScriptsLin$ ./ln_Typhon1_QT4pas_Build.sh
 
 ... 생략 ...
 
ln -s libQt4Pas.so.5.2.8 libQt4Pas.so
ln -s libQt4Pas.so.5.2.8 libQt4Pas.so.5
ln -s libQt4Pas.so.5.2.8 libQt4Pas.so.5.2
install -m 755 -p "libQt4Pas.so.5.2.8" "/usr/lib/arm-linux-gnueabihf/libQt4Pas.so.5.2.8"
strip --strip-unneeded "/usr/lib/arm-linux-gnueabihf/libQt4Pas.so.5.2.8"
ln -f -s "libQt4Pas.so.5.2.8" "/usr/lib/arm-linux-gnueabihf/libQt4Pas.so"
ln -f -s "libQt4Pas.so.5.2.8" "/usr/lib/arm-linux-gnueabihf/libQt4Pas.so.5"
ln -f -s "libQt4Pas.so.5.2.8" "/usr/lib/arm-linux-gnueabihf/libQt4Pas.so.5.2"
   
---------------------------------------
[INFO]: QT4pas Libraries finish Build OK for arm-linux
   
   
---------------------------------------------------------
    Make QT4Pas Libraries Links
---------------------------------------------------------
   
[INFO] Make QT4pas links to /usr/lib/arm-linux-gnueabihf/ for arm-linux finish OK

CodeTyphon 설치 스크립트 실행

pi@raspberrypi:~/Downloads$ cd CodeTyphonIns/
pi@raspberrypi:~/Downloads/CodeTyphonIns$ ./install.sh

11번 선택

====================================================
  CodeTyphon Studio 7.20 Setup for Linux32
   Settings: Platform=qt4  Multiarch Mode=0
====================================================
   
   0) Install System Libraries
   1) Run CodeTyphon Center (CTC)
   
     11) -- Platform (widget) Setup
     12) -- Multi-Architecture Setup
   
   3) Remove FreePascal
   4) Remove and Build FreePascal
   
   5) Remove Typhon IDE
   6) Remove and Build Typhon IDE
   
   7) Remove ALL
   8) Remove and Build ALL
   
   9) EXIT
   
>>> Select an action (press 0..9 key): 11

2번 QT4 선택

====================================================
     CodeTyphon Studio Unix Platform (widget) Setup
        Current Platform: qt4
====================================================
   
Warning: Install System Libraries after every Platform change
   
   1) GTK2           (Default)
   2) QT4
   3) QT5
   4) GTK3           (Experimental)
   5) FpGUI          (Experimental)
   6) CustomDrawn    (Experimental)
   
   9) Back to Main Setup
   
>>> Select a platform (press 0..9 key): 2

12번 선택

====================================================
  CodeTyphon Studio 7.20 Setup for Linux32
   Settings: Platform=qt4  Multiarch Mode=0
====================================================
   
   0) Install System Libraries
   1) Run CodeTyphon Center (CTC)
   
     11) -- Platform (widget) Setup
     12) -- Multi-Architecture Setup
   
   3) Remove FreePascal
   4) Remove and Build FreePascal
   
   5) Remove Typhon IDE
   6) Remove and Build Typhon IDE
   
   7) Remove ALL
   8) Remove and Build ALL
   
   9) EXIT
   
>>> Select an action (press 0..9 key): 12

1번 선택

====================================================
    CodeTyphon Studio Multi-Architecture Setup
      Current Multiarch Mode: 0
====================================================
   
   0) NO  Multi-Architecture Mode (Multiarch=0)
   
   1) Use Multi-Architecture Mode (Multiarch=1)
   
   
   9) Back to Main Setup
   
>>> Select Mode (press 0..9 key): 1

0번 선택 ( 0) Install System Libraries )

====================================================
  CodeTyphon Studio 7.20 Setup for Linux32
   Settings: Platform=qt4  Multiarch Mode=0
====================================================
   
   0) Install System Libraries
   1) Run CodeTyphon Center (CTC)
   
     11) -- Platform (widget) Setup
     12) -- Multi-Architecture Setup
   
   3) Remove FreePascal
   4) Remove and Build FreePascal
   
   5) Remove Typhon IDE
   6) Remove and Build Typhon IDE
   
   7) Remove ALL
   8) Remove and Build ALL
   
   9) EXIT
   
>>> Select an action (press 0..9 key): 0

8번 선택 ( 8) Remove and Build ALL )

====================================================
  CodeTyphon Studio 7.20 Setup for Linux32
   Settings: Platform=qt4  Multiarch Mode=0
====================================================
   
   0) Install System Libraries
   1) Run CodeTyphon Center (CTC)
   
     11) -- Platform (widget) Setup
     12) -- Multi-Architecture Setup
   
   3) Remove FreePascal
   4) Remove and Build FreePascal
   
   5) Remove Typhon IDE
   6) Remove and Build Typhon IDE
   
   7) Remove ALL
   8) Remove and Build ALL
   
   9) EXIT
   
>>> Select an action (press 0..9 key): 8

9번 선택 ( 9) EXIT )

====================================================
  CodeTyphon Studio 6.70 Setup for Linux64
   Settings: Platform=gtk2  Multiarch Mode=0
====================================================
   
   0) Install System Libraries
   1) Run CodeTyphon Center (CTC)
   
     11) -- Platform (widget) Setup
     12) -- Multi-Architecture Setup
   
   3) Remove FreePascal
   4) Remove and Build FreePascal
   
   5) Remove Typhon IDE
   6) Remove and Build Typhon IDE
   
   7) Remove ALL
   8) Remove and Build ALL
   
   9) EXIT
   
>>> Select an action (press 0..9 key): 9

실행

런타임라이브러리 설치 (개발환경이 없는 곳에서 실행)

qt4pas_aarch64-linux.tar.gz

pi@raspberrypi:~$ ./project1 
./project1: error while loading shared libraries: libQt4Pas.so.5: cannot open shared object file: No such file or directory
pi@raspberrypi:~$ sudo install -m 755 -p "libQt4Pas.so" "/usr/lib/arm-linux-gnueabihf/libQt4Pas.so.5"
pi@raspberrypi:~$ ./project1 
./project1: error while loading shared libraries: libQtWebKit.so.4: cannot open shared object file: No such file or directory
pi@raspberrypi:~$ sudo apt install libqtwebkit4

댓글을 달아 주세요

TTGO TWatch : Arduino 개발 환경 만들기(개발툴 설치)

OS/Arduino 2020. 12. 27. 18:37 Posted by 파란크리스마스

출처

Arduino IDE 설치

다운로드 주소 : https://www.arduino.cc/en/Main/Software

Arduino IDE에 M5Stack 보드 추가

arduino-esp32 다운로드

Github 저장소(espressif / arduino-esp32)에서 arduino-esp32-1.0.1.zip 파일 다운로드

arduino-esp32 설치

다운로드 받은 파일 arduino-esp32-1.0.1.zip을 [Arduino IDE 설치경로]/hardware/espressif/esp32에 압축 해제

get.exe 실행 파일을 관리자 권한으로 실행

[Arduino IDE 설치경로]/hardware/espressif/esp32/tools 디렉토리에서 get.exe 실행 파일을 관리자 권한으로 실행 실행

Arduino IDE를 실행하고, 메뉴[툴] > [보드] > [M5Stack-Core-ESP32] 선택

메뉴[툴] > [포트] > [COM13] 포트선택

M5Stack 라이브러리 설치

메뉴[툴] > [라이브러리 관리] 선택

M5Stack 라이브러리 설치

[HelloWorld] 예제 선택

예제 실행

예제 실행 결과




https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_dev_index.json
https://github.com/Xinyuan-LilyGO/TTGO_TWatch_Library


댓글을 달아 주세요

Orange Pi 4B : CodeTyphon 설치

OS/Orange PI 2020. 12. 23. 00:59 Posted by 파란크리스마스

출처

"sudo" 루트 권한 부여

$ sudo vi /etc/sudoers

orangepi ALL=(ALL) NOPASSWD: ALL

CodeTyphon 압축 해제

orangepi@orangepi4:~$ cd Downloads/
orangepi@orangepi4:~/Downloads$ unzip CodeTyphonIns.zip

Qt 버전 확인

orangepi@orangepi4:~$ qtchooser -print-env
QT_SELECT="default"
QTTOOLDIR="/usr/lib/aarch64-linux-gnu/qt4/bin"
QTLIBDIR="/usr/lib/aarch64-linux-gnu"
orangepi@orangepi4:~$ qmake --version
QMake version 2.01a
Using Qt version 4.8.7 in /usr/lib/aarch64-linux-gnu

Qt4pas 라이브러리 설치 (Option : CodeTyphon 설치시 11) -- Platform (widget) Setup 에서 실행)

qt4-qmake 설치

orangepi@orangepi4:~$ sudo apt install qt4-qmake qt4-dev-tools libqtwebkit-dev

ln_Typhon1_QT4pas_Build.sh 수정

orangepi@orangepi4:~/Downloads/CodeTyphonIns/installbin/ScriptsLin$ vi ln_Typhon1_QT4pas_Build.sh

x86_64-linux를 aarch64-linux로 수정

# ---- these settings are for Ubuntu Linux -------
      if [ $vBits = 32 ] ;
       then
        vQMake=/usr/lib/i386-linux-gnu/qt4/bin/qmake
       else
        vQMake=/usr/lib/aarch64-linux-gnu/qt4/bin/qmake
       fi

qt4pas.7z 압축을 풀어서 x86_64-linux 폴더를 aarch64-linux 복사하고 다시 압축

수동 컴파일 및 설치

orangepi@orangepi4:~/Downloads/CodeTyphonIns/installbin/ScriptsLin$ ./ln_Typhon1_QT4pas_Build.sh
 
... 생략 ...
 
ln -s libQt4Pas.so.5.2.8 libQt4Pas.so
ln -s libQt4Pas.so.5.2.8 libQt4Pas.so.5
ln -s libQt4Pas.so.5.2.8 libQt4Pas.so.5.2
install -m 755 -p "libQt4Pas.so.5.2.8" "/usr/lib/aarch64-linux-gnu/libQt4Pas.so.5.2.8"
strip --strip-unneeded "/usr/lib/aarch64-linux-gnu/libQt4Pas.so.5.2.8"
ln -f -s "libQt4Pas.so.5.2.8" "/usr/lib/aarch64-linux-gnu/libQt4Pas.so"
ln -f -s "libQt4Pas.so.5.2.8" "/usr/lib/aarch64-linux-gnu/libQt4Pas.so.5"
ln -f -s "libQt4Pas.so.5.2.8" "/usr/lib/aarch64-linux-gnu/libQt4Pas.so.5.2"
   
---------------------------------------
[INFO]: QT4pas Libraries finish Build OK for aarch64-linux
   
   
---------------------------------------------------------
    Make QT4Pas Libraries Links
---------------------------------------------------------
   
[INFO] Make QT4pas links to /usr/lib/aarch64-linux-gnu/ for aarch64-linux finish OK

CodeTyphon 설치 스크립트 실행

0번 선택 ( 0) Install System Libraries )

orangepi@orangepi4:~/Downloads$ cd CodeTyphonIns/
orangepi@orangepi4:~/Downloads/CodeTyphonIns$ ./install.sh
 
====================================================
             CodeTyphon Studio 
            Version 7.20 (GEN 7)
  Installation for Linux-Solaris-Openindiana-MacOS
          FreeBSD-NetBSD-OpenBSD-DragonFly
====================================================
 
   0) Install CodeTyphon Studio
 
   9) Exit
 
>>> Select an action (press 0..9 key): 0

11번 선택

====================================================
  CodeTyphon Studio 7.20 Setup for Linux64
   Settings: Platform=gtk2  Multiarch Mode=0
====================================================
   
   0) Install System Libraries
   1) Run CodeTyphon Center (CTC)
   
     11) -- Platform (widget) Setup
     12) -- Multi-Architecture Setup
   
   3) Remove FreePascal
   4) Remove and Build FreePascal
   
   5) Remove Typhon IDE
   6) Remove and Build Typhon IDE
   
   7) Remove ALL
   8) Remove and Build ALL
   
   9) EXIT
   
>>> Select an action (press 0..9 key): 11

2번 QT4 선택

====================================================
     CodeTyphon Studio Unix Platform (widget) Setup
        Current Platform: gtk2
====================================================
   
Warning: Install System Libraries after every Platform change
   
   1) GTK2           (Default)
   2) QT4
   3) QT5
   4) GTK3           (Experimental)
   5) FpGUI          (Experimental)
   6) CustomDrawn    (Experimental)
   
   9) Back to Main Setup
   
>>> Select a platform (press 0..9 key): 2

12번 선택

====================================================
  CodeTyphon Studio 7.20 Setup for Linux64
   Settings: Platform=qt4  Multiarch Mode=0
====================================================
   
   0) Install System Libraries
   1) Run CodeTyphon Center (CTC)
   
     11) -- Platform (widget) Setup
     12) -- Multi-Architecture Setup
   
   3) Remove FreePascal
   4) Remove and Build FreePascal
   
   5) Remove Typhon IDE
   6) Remove and Build Typhon IDE
   
   7) Remove ALL
   8) Remove and Build ALL
   
   9) EXIT
   
>>> Select an action (press 0..9 key): 12

1번 선택

====================================================
    CodeTyphon Studio Multi-Architecture Setup
      Current Multiarch Mode: 0
====================================================
   
   0) NO  Multi-Architecture Mode (Multiarch=0)
   
   1) Use Multi-Architecture Mode (Multiarch=1)
   
   
   9) Back to Main Setup
   
>>> Select Mode (press 0..9 key): 1

8번 선택 ( 8) Remove and Build ALL )

====================================================
  CodeTyphon Studio 7.20 Setup for Linux64
   Settings: Platform=qt4  Multiarch Mode=1
====================================================
   
   0) Install System Libraries
   1) Run CodeTyphon Center (CTC)
   
     11) -- Platform (widget) Setup
     12) -- Multi-Architecture Setup
   
   3) Remove FreePascal
   4) Remove and Build FreePascal
   
   5) Remove Typhon IDE
   6) Remove and Build Typhon IDE
   
   7) Remove ALL
   8) Remove and Build ALL
   
   9) EXIT
   
>>> Select an action (press 0..9 key): 8

9번 선택 ( 9) EXIT )

====================================================
  CodeTyphon Studio 6.70 Setup for Linux64
   Settings: Platform=gtk2  Multiarch Mode=0
====================================================
   
   0) Install System Libraries
   1) Run CodeTyphon Center (CTC)
   
     11) -- Platform (widget) Setup
     12) -- Multi-Architecture Setup
   
   3) Remove FreePascal
   4) Remove and Build FreePascal
   
   5) Remove Typhon IDE
   6) Remove and Build Typhon IDE
   
   7) Remove ALL
   8) Remove and Build ALL
   
   9) EXIT
   
>>> Select an action (press 0..9 key): 9

실행

런타임라이브러리 설치 (개발환경이 없는 곳에서 실행)

qt4pas_aarch64-linux.tar.gz

project1.tar.gz

pi@NanoPi-M4v2:~/Downloads$ ./project1 
./project1: error while loading shared libraries: libQt4Pas.so.5: cannot open shared object file: No such file or directory
pi@NanoPi-M4v2:~/Downloads$ sudo install -m 755 -p "libQt4Pas.so" "/usr/lib/aarch64-linux-gnu/libQt4Pas.so.5"
pi@NanoPi-M4v2:~/Downloads$ ./project1 
./project1: error while loading shared libraries: libQtWebKit.so.4: cannot open shared object file: No such file or directory
pi@NanoPi-M4v2:~$ sudo apt install libqtwebkit4

댓글을 달아 주세요

Orange Pi 4B : 카메라(ov13850) 사용하기

OS/Orange PI 2020. 12. 22. 23:31 Posted by 파란크리스마스

출처

카메라(ov13850) 모듈 확인

orangepi@orangepi4:~$ dmesg | grep ov13850
[    1.357126] ov13850 1-0010: driver version: 00.01.01
[    1.357684] ov13850 1-0010: GPIO lookup for consumer pwr
[    1.357705] ov13850 1-0010: using device tree for GPIO lookup
[    1.357768] of_get_named_gpiod_flags: parsed 'pwr-gpios' property of node '/i2c@ff110000/ov13850@10[0]' - status (0)
[    1.357831] ov13850 1-0010: GPIO lookup for consumer reset
[    1.357849] ov13850 1-0010: using device tree for GPIO lookup
[    1.357907] of_get_named_gpiod_flags: parsed 'reset-gpios' property of node '/i2c@ff110000/ov13850@10[0]' - status (0)
[    1.357957] ov13850 1-0010: GPIO lookup for consumer pwdn
[    1.357974] ov13850 1-0010: using device tree for GPIO lookup
[    1.358055] of_get_named_gpiod_flags: parsed 'pwdn-gpios' property of node '/i2c@ff110000/ov13850@10[0]' - status (0)
[    1.358110] ov13850 1-0010: Looking up avdd-supply from device tree
[    1.358133] ov13850 1-0010: Looking up avdd-supply property in node /i2c@ff110000/ov13850@10 failed
[    1.358820] ov13850 1-0010: Looking up dovdd-supply from device tree
[    1.358843] ov13850 1-0010: Looking up dovdd-supply property in node /i2c@ff110000/ov13850@10 failed
[    1.359558] ov13850 1-0010: Looking up dvdd-supply from device tree
[    1.359581] ov13850 1-0010: Looking up dvdd-supply property in node /i2c@ff110000/ov13850@10 failed
[    1.360380] ov13850 1-0010: could not get sleep pinstate
[    1.364580] ov13850 1-0010: Unexpected sensor id(000000), ret(-5)
[    1.365863] ov13850 2-0010: driver version: 00.01.01
[    1.366502] ov13850 2-0010: GPIO lookup for consumer pwr
[    1.366524] ov13850 2-0010: using device tree for GPIO lookup
[    1.366589] of_get_named_gpiod_flags: parsed 'pwr-gpios' property of node '/i2c@ff120000/ov13850@10[0]' - status (0)
[    1.366651] ov13850 2-0010: GPIO lookup for consumer reset
[    1.366671] ov13850 2-0010: using device tree for GPIO lookup
[    1.366729] of_get_named_gpiod_flags: parsed 'reset-gpios' property of node '/i2c@ff120000/ov13850@10[0]' - status (0)
[    1.366779] ov13850 2-0010: GPIO lookup for consumer pwdn
[    1.366796] ov13850 2-0010: using device tree for GPIO lookup
[    1.366853] of_get_named_gpiod_flags: parsed 'pwdn-gpios' property of node '/i2c@ff120000/ov13850@10[0]' - status (0)
[    1.366904] ov13850 2-0010: Looking up avdd-supply from device tree
[    1.366928] ov13850 2-0010: Looking up avdd-supply property in node /i2c@ff120000/ov13850@10 failed
[    1.367651] ov13850 2-0010: Looking up dovdd-supply from device tree
[    1.367675] ov13850 2-0010: Looking up dovdd-supply property in node /i2c@ff120000/ov13850@10 failed
[    1.368364] ov13850 2-0010: Looking up dvdd-supply from device tree
[    1.368387] ov13850 2-0010: Looking up dvdd-supply property in node /i2c@ff120000/ov13850@10 failed
[    1.369210] ov13850 2-0010: could not get sleep pinstate
[    1.374218] ov13850 2-0010: Detected OV00d850 sensor, REVISION 0xb2

카메라(ov13850) 연결 확인

orangepi@orangepi4:~$ dmesg | grep Async
[    1.376840] rkisp1: Async subdev notifier completed

카메라(ov13850) 열기 - 화면에 카메라 영상이 출력

$ test_camera-gst.sh
Setting pipeline to PAUSED ...
media get entity by name: lens is null
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
[XCORE]:XCAM ERROR rkisp_device.cpp:72: atomisp device(/dev/video0) try subdev format failed

카메라(ov13850) 캡쳐

$ test_camera-capture.sh
Setting pipeline to PAUSED ...
media get entity by name: lens is null
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
[XCORE]:XCAM ERROR rkisp_device.cpp:72: atomisp device(/dev/video0) try subdev format failed
New clock: GstSystemClock
Got EOS from element "pipeline0".
Execution ended after 0:00:01.226523487
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
Freeing pipeline ...

댓글을 달아 주세요

Orange Pi 4B : 한글 입력기 설치 (fcitx)

OS/Orange PI 2020. 12. 22. 23:25 Posted by 파란크리스마스

출처

fcitx-hangul 설치

$ sudo apt-get install fcitx-hangul im-config

한글 입력기 부팅시 시작하기

$ im-config -n fcitx

한글 입력기 설정 확인

orangepi@orangepi4:~$ cat ~/.xinputrc
## im-config(8) generated on Tue, 22 Dec 2020 15:10:32 +0000
run_im fcitx
## im-config signature: ee1963917a48bd5abd39f599678fd5ff  -

한글폰트 설치

pi@orangepi4:~$ sudo apt install fonts-nanum fonts-nanum-extra

한글 ????? 출력 해결

로케일 관련 패키지가 설치

orangepi@orangepi4:~$ sudo apt install locales

로케일 설정

orangepi@orangepi4:~$ sudo dpkg-reconfigure locales

Package configuration

 +-----------------------+ Configuring locales +-----------------------+
 | Locales are a framework to switch between multiple languages and    |
 | allow users to use their language, country, characters, collation   |
 | order, etc.                                                         |
 |                                                                     |
 | Please choose which locales to generate. UTF-8 locales should be    |
 | chosen by default, particularly for new installations. Other        |
 | character sets may be useful for backwards compatibility with       |
 | older systems and software.                                         |
 |                                                                     |
 | Locales to be generated:                                            |
 |                                                                     |
 |    [ ] en_NG UTF-8                                                  |
 |    [ ] en_NZ ISO-8859-1                                         a   |
 |    [ ] en_NZ.UTF-8 UTF-8                                        a   |
 |    [ ] en_ZA ISO-8859-1                                         a   |
 |    [*] en_US.UTF-8 UTF-8                                        a   |
 |    [*] ko_KR.UTF-8 UTF-8                                        a   |
 |                                                                     |
 |                                                                     |
 |                  <ok>                      <cancel>                 |
 |                                                                     |
 +---------------------------------------------------------------------+
 +-----------------------+ Configuring locales +-----------------------+
 | Many packages in Debian use locales to display text in the correct  |
 | language for the user. You can choose a default locale for the      |
 | system from the generated locales.                                  |
 |                                                                     |
 | This will select the default language for the entire system. If     |
 | this system is a multi-user system where not all users are able to  |
 | speak the default language, they will experience difficulties.      |
 |                                                                     |
 | Default locale for the system environment:                          |
 |                                                                     |
 |                             None                                    |
 |                           [ C.UTF-8     ]                           |
 |                             en_ZA.UTF-8                             |
 |                             ko_KR.UTF-8                             |
 |                                                                     |
 |                                                                     |
 |                  <ok>                      <cancel>                 |
 |                                                                     |
 +---------------------------------------------------------------------+	

한글 입력기 추가

댓글을 달아 주세요