1
0
mirror of https://github.com/tommytran732/QubesOS-Scripts synced 2024-11-23 18:11:35 -05:00

Add workaround for broken audio with hardened-chromium

This commit is contained in:
Tommy 2024-11-12 08:54:02 -07:00 committed by GitHub
parent bf4a426aa8
commit 03b5249c63
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -26,3 +26,24 @@ download() {
sudo https_proxy=127.0.0.1:8082 dnf copr enable secureblue/hardened-chromium -y
sudo dnf install -y hardened-chromium
# Workaround for this problem: https://forum.qubes-os.org/t/upgraded-to-4-2-and-audio-no-longer-works/23130/60
sudo dnf install -y pulseaudio-utils
echo '[Unit]
Description=Run pactl to work around edge audio bug
After=pipewire-pulse.socket
Requires=pipewire-pulse.socket
[Service]
Type=oneshot
ExecStart=/usr/bin/pactl info
[Install]
WantedBy=default.target' | sudo tee /etc/systemd/user/pactl.service
umask 077
# Run `systemctl --user enable --now pactl.service` in your appVM.
# For some uncomprehensible reason, manually enabling pipewire-pulse.service will not work for Edge audio.
# Using preset doesn't actually work :/