From bede9ebffe128d20a513f20b18b59f663e47390e Mon Sep 17 00:00:00 2001 From: wj25czxj47bu6q <96372288+wj25czxj47bu6q@users.noreply.github.com> Date: Sat, 11 May 2024 23:08:47 -0700 Subject: [PATCH] Make edge.sh less jackwagon (#2) Signed-off-by: wj25czxj47bu6q <96372288+wj25czxj47bu6q@users.noreply.github.com> --- fedora/edge.sh | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/fedora/edge.sh b/fedora/edge.sh index 7e4ba1d..80e2454 100644 --- a/fedora/edge.sh +++ b/fedora/edge.sh @@ -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 \ No newline at end of file +# /rw/home/user is broken: https://forum.qubes-os.org/t/how-does-rw-home-user-directory-work/15602