From 92c0f0d46d2898f5e710aa11292f0c73808bbc55 Mon Sep 17 00:00:00 2001 From: Klesh Wong Date: Fri, 6 May 2022 20:02:15 +0800 Subject: [PATCH] feat: xbps alsa / logging --- gui/sysutils.sh | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/gui/sysutils.sh b/gui/sysutils.sh index 79be5e5..728c9a6 100755 --- a/gui/sysutils.sh +++ b/gui/sysutils.sh @@ -78,10 +78,17 @@ case "$PM" in Thunar gvfs-smb gvfs-mtp thunar-archive-plugin file-roller tumbler \ pipewire pipewire-pulse alsa-pipewire alsa-utils pulseaudio-utils pavucontrol libpulseaudio \ ibus ibus-rime \ - base-devel libX11-devel libXft-devel libXinerama-devel + base-devel libX11-devel libXft-devel libXinerama-devel \ + socklog-void + # config alsa sudo mkdir -p /etc/alsa/conf.d sudo ln -s /usr/share/alsa/alsa.conf.d/50-pipewire.conf /etc/alsa/conf.d sudo ln -s /usr/share/alsa/alsa.conf.d/99-pipewire-default.conf /etc/alsa/conf.d + # enable ntp + sudo ln -sf /etc/sv/chronyd /var/service/ + # enable logging + sudo ln -sf /etc/sv/socklog-unix /var/service/ + sudo ln -sf /etc/sv/nanoklogd /var/service/ echo "Wubi" echo "download rime-data-wubi from http://mirrors.163.com/ubuntu/pool/universe/r/rime-wubi/rime-data-wubi_0.0~git20200908.f1876f0-3_amd64.deb" echo " ar x rime-data-wubi_0.0~git20200908.f1876f0-3_amd64.deb" @@ -118,6 +125,4 @@ if has_cmd systemctl; then echo for amd ryzen laptop add "acpi_backlight=vendor" to /etc/default/grub and then run echo sudo grub-mkconfig -o /boot/grub/grub.cfg -else - sudo ln -sf /etc/sv/chronyd /var/service/ fi