Make edge.sh less jackwagon (#2)
Signed-off-by: wj25czxj47bu6q <96372288+wj25czxj47bu6q@users.noreply.github.com>
This commit is contained in:
		@@ -38,12 +38,14 @@ Requires=pipewire-pulse.socket
 | 
			
		||||
 | 
			
		||||
[Service]
 | 
			
		||||
Type=oneshot
 | 
			
		||||
ExecStart=/usr/bin/pacmd
 | 
			
		||||
ExecStart=-/usr/bin/pacmd
 | 
			
		||||
 | 
			
		||||
[Install]
 | 
			
		||||
WantedBy=default.target' | sudo tee /etc/systemd/user/pacmd.service
 | 
			
		||||
 | 
			
		||||
# Run `systemctl --user enable --now pacmd.service` in your appVM. 
 | 
			
		||||
mkdir -p /etc/systemd/user-preset/
 | 
			
		||||
echo 'enable pacmd.service' | sudo tee /etc/systemd/user-preset/10-pacmd.preset
 | 
			
		||||
 | 
			
		||||
# Ignore the error. It is just pacmd complaining that pulseaudio daemon is not there. But it will somehow magically trigger the pipewire-pulse socket and make audio work.
 | 
			
		||||
# For some uncomprehensible reason, manually enabling pipewire-pulse.service will not work for Edge audio.
 | 
			
		||||
# /rw/home/user is broken: https://forum.qubes-os.org/t/how-does-rw-home-user-directory-work/15602
 | 
			
		||||
# /rw/home/user is broken: https://forum.qubes-os.org/t/how-does-rw-home-user-directory-work/15602
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user