Last active
June 30, 2020 16:05
-
-
Save diyism/890b915c4cfa02a270a962a1159ddb98 to your computer and use it in GitHub Desktop.
armbian DE
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://www.armbian.com/pine64/ | |
download Bionic server 5.4 : https://dl.armbian.com/pine64/Bionic_current | |
对应ubuntu bionic是ubuntu 18.04(cat /etc/os-release), 对应debian buster是debian 10(cat /etc/debian_version) | |
use etcher to burn image into sd card, boot pine64 | |
login with root:1234, and modify root password and create a normal user | |
sudo apt install xserver-xorg lightdm lightdm-gtk-greeter xfce4 #sudo apt install lightdm lightdm-gtk-greeter lxde | |
sudo vi /etc/lightdm/lightdm.conf | |
#[Seat:*] | |
#allow-guest=false | |
#user-session=xfce #user-session=LXDE 对应/usr/share/xsessions/里xfce.desktop和LXDE.desktop | |
sudo reboot # or startxfce4 | |
#audio support: | |
sudo apt install firefox xfce4-terminal pulseaudio pulseaudio-utils pavucontrol | |
#https://github.com/OurGI-com/slaxr/releases/tag/test | |
sudo apt install zlib1g libxtst6 libxss1 | |
wget https://github.com/OurGI-com/slaxr/releases/download/test/zyplayer-arm64.AppImage | |
chmod 744 zyplayer-arm64.AppImage | |
./zyplayer-arm64.AppImage | |
#让firefox里5行代码发音中文 | |
sudo apt install speech-dispatcher-espeak-ng | |
sudo apt install --no-install-recommends fonts-wqy-microhei #xfce4-terminal不是改Edit/Preferences/Appearance/Font而是要改Edit/Preferences/Advanced/Encoding为Unicode/UTF-8, 再重启xfce4-terminal | |
sudo update-locale LC_ALL=en_US.UTF-8 #现象是字体装了fonts-wqy-microhei并且xfce4-terminal里Encoding是UTF-8能显示中文了(但是半角), 所以要搞这LC_ALL(不只LANG), 再重启xfce4-terminal | |
sudo apt-get install fcitx fcitx-googlepinyin fcitx-frontend-gtk2 fcitx-frontend-gtk3 fcitx-configtool | |
但是 发音居然会把 每个字的声调多发音成一个数字, 在/etc/apt/sources.list里加"deb http://ports.ubuntu.com/ focal main", 然后 | |
sudo apt update | |
sudo apt install --no-install-recommends speech-dispatcher speech-dispatcher-espeak-ng | |
把speech-dispatcher升级到0.9.1-4发音才正常 | |
并列于espeak-ng还有一个ekho可以替换: https://www.eguidedog.net/doc/doc_install_ekho.php, 编译配置时加上"configure --enable-speechd" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment