Skip to content

Set up your Raspberry Pi

Jihun Ahn edited this page Jul 16, 2018 · 5 revisions

Configure device

  • Raspberry Pi rotate display 90 degree
    • Append display_rotate=1 to /boot/config.txt (0=no-rotation, 1=90, 2=180, 3=270, 0x10000=h-flip, 0x20000=v-flip)
    • Append gpu_mem=128 to /boot/config.txt
    • OpenGL Driver를 사용하는 경우, vc4-kms-v3d driver가 dispay의 rotate를 지원하지 않는다고 한다. 아래와 같이 수정해준다.
tee -a ~/.config/lxsession/LXDE-pi/autostart << __EOF__
@xrandr --output HDMI-1 --rotate right
__EOF__

Setup packages on device

Font

  • Korean
sudo apt-get install fonts-unfonts-core
  • How do I use Emoji font?
# 1. Download the latest version
wget https://github.com/eosrei/emojione-color-font/releases/download/v1.4/EmojiOneColor-SVGinOT-Linux-1.4.tar.gz
# 2. Uncompress the file
tar zxf EmojiOneColor-SVGinOT-Linux-1.4.tar.gz
# 3. install Bitstream Vera font family
sudo apt-get install ttf-bitstream-vera
# 4. Run the installer
cd EmojiOneColor-SVGinOT-Linux-1.4 && ./install.sh
# 5. Clear
rm -rf EmojiOneColor-SVGinOT-Linux-1.4*
Clone this wiki locally