tty-clock 이라고 화면 보호기로 쓰면 좋은 프로그램이 있다. 그런데 alpine linux에서는 apk 명령어로 설치가 안된다. 따라서 직접 빌드해 보도록 한다.
alpine linux에서 build-essential 같은 패키지는 alpine-sdk 가 있다. 그리고 tty-clock은 ncurses를 이용한다고 한다. 그래서 관련 패키지를 설치한다.
apk addd alpine-sdk ncurses-dev
git을 이용해서 빌드에 필요한 파일을 다운 받는다.
git clone https://github.com/xorg62/tty-clock.git
폴더로 이동해서 빌드 후 설치한다.
cd tty-clock
make
make install
alpine linux 에서 autologin은 몇 가지 방법을 시도해 보았으나 잘 안된다. 당분간은 그냥 사용해야 할 것 같다. 그보다 FHD 모니터에서 글씨가 작게 보이는 문제가 있다. 폰트 패키지를 설치한다. 고해상도용 폰트 중 하나 설치한다.
apk add fontconfig font-terminus

Fonts – Alpine Linux
Fonts on Alpine Linux covers a wide range of various languages. If you can’t see your language, you need to install the font that has glyphs (little picture) created for it. The square box called a substitute character or “tofu” that acts as a placeholder for missing a glyph usually with a two byte sequence. Tofu is a prepared food that is a traditional part of East Asian and Southeast Asian meals. It is often served in a white rectangular appearance.
위 페이지에 언급된 방법 중에서 1, 3, 4번 대로 실행하니 되기는 한다.
edit /etc/conf.d/consolefont, set it to the font you choose, e.g. consolefont="ter-132n.psf.gz"
enable this using # rc-update add consolefont boot