Skip to content

Instantly share code, notes, and snippets.

@rainly
Forked from diyism/armbian DE.txt
Created June 21, 2020 02:40
Show Gist options
  • Save rainly/8bea92506ca330d51b6d99db3132bd99 to your computer and use it in GitHub Desktop.
Save rainly/8bea92506ca330d51b6d99db3132bd99 to your computer and use it in GitHub Desktop.
armbian DE
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)
sudo apt install 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
#让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
但是 发音居然会把 每个字的声调多发音成一个数字, 在/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