Cleaning up

pull/1/head
beech 2 years ago
parent 9f91c6e8ab
commit a0800e6e6b
  1. 37
      README.md
  2. 17
      VM/50-alsa-config.conf
  3. 4
      VM/setup-vmgnome.sh
  4. 2
      VM/setup-vmkde.sh
  5. 8
      install1-ex.sh
  6. 3
      install2-ex.sh

@ -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 curl https://git.merlinslair.net/beech/ArchScripts/raw/branch/main/install1.sh -o install1.sh
sh install1.sh sh install1.sh
# Enter Arch root directory
arch-chroot /mnt
# Installer 2 # Installer 2
curl https://git.merlinslair.net/beech/ArchScripts/raw/branch/main/install2.sh -o install2.sh curl https://git.merlinslair.net/beech/ArchScripts/raw/branch/main/install2.sh -o install2.sh
sh preinstall2.sh sh preinstall2.sh
@ -42,45 +39,11 @@ reboot
sudo pacman -S --noconfirm pacman-contrib sudo pacman -S --noconfirm pacman-contrib
sudo git clone https://git.merlinslair.net/beech/ArchScripts sudo git clone https://git.merlinslair.net/beech/ArchScripts
cd ArchScripts cd ArchScripts
chmod +x install3.sh
sh install3.sh sh install3.sh
reboot 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 ### System Description
GNOME or KDE Desktop Environment GNOME or KDE Desktop Environment

@ -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
}
}
}
]

@ -69,7 +69,9 @@ sudo systemctl enable gdm.service
sudo systemctl enable vmtoolsd.service sudo systemctl enable vmtoolsd.service
sudo systemctl enable vmware-vmblock-fuse.service sudo systemctl enable vmware-vmblock-fuse.service
cp /usr/share/pipewire/pipewire.conf /etc/pipewire/ 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
echo "Done! Please Reboot & Run software.sh. View wiki for VM audio fix." echo "Done! Please Reboot."
echo echo

@ -69,6 +69,8 @@ sudo systemctl enable sddm.service
sudo systemctl enable vmtoolsd.service sudo systemctl enable vmtoolsd.service
sudo systemctl enable vmware-vmblock-fuse.service sudo systemctl enable vmware-vmblock-fuse.service
cp /usr/share/pipewire/pipewire.conf /etc/pipewire/ 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
echo "Done! Please Reboot & Run software.sh. View wiki for VM audio fix." echo "Done! Please Reboot & Run software.sh. View wiki for VM audio fix."

@ -81,10 +81,10 @@ echo "-------------------------------------------------"
genfstab -U -p /mnt >> /mnt/etc/fstab genfstab -U -p /mnt >> /mnt/etc/fstab
echo "-------------------------------------------------"
echo "Finished install script 1. Run install2.sh"
echo "-------------------------------------------------"
# chroot # chroot
arch-chroot /mnt 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 "-------------------------------------------------"

@ -1,8 +1,5 @@
#!/usr/bin/env bash #!/usr/bin/env bash
# Create your user account following the README instructions before running this.
# Edit hostname on line 26 if desired
lsblk lsblk
echo "Specify drive name that you entered in the first script." echo "Specify drive name that you entered in the first script."