diff --git a/README.md b/README.md index f98c3a7..e47414d 100644 --- a/README.md +++ b/README.md @@ -15,9 +15,6 @@ Boot into your Arch ISO & run commands: curl https://git.merlinslair.net/beech/ArchScripts/raw/branch/main/install1.sh -o install1.sh sh install1.sh -# Enter Arch root directory -arch-chroot /mnt - # Installer 2 curl https://git.merlinslair.net/beech/ArchScripts/raw/branch/main/install2.sh -o install2.sh sh preinstall2.sh @@ -42,45 +39,11 @@ reboot sudo pacman -S --noconfirm pacman-contrib sudo git clone https://git.merlinslair.net/beech/ArchScripts cd ArchScripts -chmod +x install3.sh sh install3.sh reboot ``` -# Audio Fix for VMs -```bash -mkdir -p ~/.config/wireplumber/wireplumber.conf.d/ - -cd ~/.config/wireplumber/wireplumber.conf.d - -nano 50-alsa-config.conf -``` - -Add the following lines: - -```bash -monitor.alsa.rules = [ - { - matches = [ - # This matches the value of the 'node.name' property of the node. - { - node.name = "~alsa_output.*" - } - ] - actions = { - # Apply all the desired node specific settings here. - update-props = { - api.alsa.period-size = 1024 - api.alsa.headroom = 8192 - } - } - } -] -``` - -Reboot Machine - ### System Description GNOME or KDE Desktop Environment diff --git a/VM/50-alsa-config.conf b/VM/50-alsa-config.conf new file mode 100644 index 0000000..45355ba --- /dev/null +++ b/VM/50-alsa-config.conf @@ -0,0 +1,17 @@ +monitor.alsa.rules = [ + { + matches = [ + # This matches the value of the 'node.name' property of the node. + { + node.name = "~alsa_output.*" + } + ] + actions = { + # Apply all the desired node specific settings here. + update-props = { + api.alsa.period-size = 1024 + api.alsa.headroom = 8192 + } + } + } +] diff --git a/setup-vmgnome.sh b/VM/setup-vmgnome.sh similarity index 93% rename from setup-vmgnome.sh rename to VM/setup-vmgnome.sh index b5d2e84..c68ba88 100644 --- a/setup-vmgnome.sh +++ b/VM/setup-vmgnome.sh @@ -69,7 +69,9 @@ sudo systemctl enable gdm.service sudo systemctl enable vmtoolsd.service sudo systemctl enable vmware-vmblock-fuse.service cp /usr/share/pipewire/pipewire.conf /etc/pipewire/ +mkdir -p ~/.config/wireplumber/wireplumber.conf.d/ +cp ~/ArchScripts/VM/50-alsa-config.conf ~/.config/wireplumber/wireplumber.conf.d/50-alsa-config.conf echo -echo "Done! Please Reboot & Run software.sh. View wiki for VM audio fix." +echo "Done! Please Reboot." echo diff --git a/setup-vmkde.sh b/VM/setup-vmkde.sh similarity index 94% rename from setup-vmkde.sh rename to VM/setup-vmkde.sh index 41e34ad..2003bd8 100644 --- a/setup-vmkde.sh +++ b/VM/setup-vmkde.sh @@ -69,6 +69,8 @@ sudo systemctl enable sddm.service sudo systemctl enable vmtoolsd.service sudo systemctl enable vmware-vmblock-fuse.service cp /usr/share/pipewire/pipewire.conf /etc/pipewire/ +mkdir -p ~/.config/wireplumber/wireplumber.conf.d/ +cp ~/ArchScripts/VM/50-alsa-config.conf ~/.config/wireplumber/wireplumber.conf.d/50-alsa-config.conf echo echo "Done! Please Reboot & Run software.sh. View wiki for VM audio fix." diff --git a/install1-ex.sh b/install1-ex.sh index cc19103..3061299 100644 --- a/install1-ex.sh +++ b/install1-ex.sh @@ -81,10 +81,10 @@ echo "-------------------------------------------------" genfstab -U -p /mnt >> /mnt/etc/fstab +echo "-------------------------------------------------" +echo "Finished install script 1. Run install2.sh" +echo "-------------------------------------------------" + # chroot arch-chroot /mnt -curl https://git.merlinslair.net/beech/ArchScripts/raw/branch/experimental/install2-ex.sh -o install2.sh -echo "-------------------------------------------------" -echo "Finished install script 1. Please run install2.sh" -echo "-------------------------------------------------" diff --git a/install2-ex.sh b/install2-ex.sh index 327a41f..05ab5d0 100644 --- a/install2-ex.sh +++ b/install2-ex.sh @@ -1,8 +1,5 @@ #!/usr/bin/env bash -# Create your user account following the README instructions before running this. -# Edit hostname on line 26 if desired - lsblk echo "Specify drive name that you entered in the first script."