sudo /zxedu/bin/libexec/install-x11.py sudo /zxedu/bin/libexec/install-facefeature.sh sudo cp /zxedu/bin/libexec/data/xapp.ini /zxedu/data/config/x11/
vim /etc/xorg.cong Section "Monitor" Identifier "HDMI-1" Option "PreferredMode" "1600x900" EndSection Section "Screen" Identifier "HDMI-1" Monitor "Monitor" DefaultDepth 24 Option "TwinView Orientation" "RightOf" SubSection "Display" Depth 24 EndSubSection EndSection
aplay -l 得到设备信息(0是声卡编号,7是设备编号);aplay -D plughw:0,3 /usr/share/sounds/alsa/Front_Center.wav 测试是否正常运行(耳机音响也可以)
alsamixer
注意:MM代表关闭 00是代表开启 M切换状态 上下键更改声音大小
alsactl store && cp /var/lib/alsa/asound.state /zxedu/data/config/x11/backup/ #保存配置
vim /zxedu/data/config/x11/xapp.ini enable = true env = "ALSAPCM=plughw:0,7" ##1.2中aplay -l得到的设备编号 xinit = "/usr/bin/chromium" "--no-sandbox" "--user-data-dir=/zxedu/data/chromium" "--start-fullscreen" "--window-size=1920,1080" "--app=http://127.0.0.1/webui/#/gate-tunnel"