Skip to content

Commit

Permalink
Add workaround for broken audio with hardened-chromium
Browse files Browse the repository at this point in the history
  • Loading branch information
TommyTran732 authored Nov 12, 2024
1 parent bf4a426 commit 03b5249
Showing 1 changed file with 22 additions and 1 deletion.
23 changes: 22 additions & 1 deletion fedora-gnome/hardened-chromium.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,25 @@ download() {
}

sudo https_proxy=127.0.0.1:8082 dnf copr enable secureblue/hardened-chromium -y
sudo dnf install -y hardened-chromium
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 :/

0 comments on commit 03b5249

Please sign in to comment.