1
0
mirror of https://github.com/tommytran732/QubesOS-Scripts synced 2024-11-22 09:51:32 -05:00

Using preset does not work

Signed-off-by: Tommy <contact@tommytran.io>
This commit is contained in:
Tommy 2024-05-11 23:53:16 -07:00
parent ee3879d4e8
commit 13cc033885
Signed by: Tomster
GPG Key ID: 555C902A34EC968F

View File

@ -46,10 +46,9 @@ ExecStart=/usr/bin/pactl info
[Install] [Install]
WantedBy=default.target' | sudo tee /etc/systemd/user/pactl.service WantedBy=default.target' | sudo tee /etc/systemd/user/pactl.service
mkdir -p /etc/systemd/user-preset/
echo 'enable pactl.service' | sudo tee /etc/systemd/user-preset/10-pactl.preset
# For some uncomprehensible reason, manually enabling pipewire-pulse.service will not work for Edge audio.
# We are using preset as `/rw/home/user` is broken: https://forum.qubes-os.org/t/how-does-rw-home-user-directory-work/15602
umask 077 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.
# /rw/home/user is broken: https://forum.qubes-os.org/t/how-does-rw-home-user-directory-work/15602
# Using preset doesn't actually work either