11

I am using Ubuntu 22.04 LTS version (Jammy Jellyfish). I was facing a slight glitch while using my bluetooth headset mic. So, I tried to switch to pipewire to check if it solves my problem. But after switching I see my inbuilt speakers also doesnot work. I need to go back to default configuration of Ubuntu 22.04. The exact steps that I followed to go the pipewire were this:

sudo add-apt-repository ppa:pipewire-debian/pipewire-upstream
sudo apt update
sudo apt install pipewire
sudo apt install libspa-0.2-bluetooth
sudo apt install pipewire-audio-client-libraries
systemctl --user daemon-reload
systemctl --user --now disable pulseaudio.service pulseaudio.socket
systemctl --user --now enable pipewire pipewire-pulse
systemctl --user mask pulseaudio
systemctl --user --now enable pipewire-media-session.service

Now every time I start the computer I need to run these commands to get things working again:

systemctl --user unmask pulseaudio
systemctl --user --now enable pulseaudio.service pulseaudio.socket

I do not want to do this again and again how can I go roll back all these changes

2 Answers2

7

The following commands helped me:

systemctl --user unmask pulseaudio
systemctl --user --now disable pipewire-media-session.service
systemctl --user --now disable pipewire pipewire-pulse
systemctl --user --now enable pulseaudio.service pulseaudio.socket
sudo apt remove pipewire-audio-client-libraries pipewire
Andrew
  • 71
  • 1
  • 2
  • This actually helped me because when I tried these commands, I realized I never had pipewire-pulse installed. Installing that fixed it for me – Eliezer Miron Nov 23 '22 at 22:58
  • 1
    Running `sudo apt remove pipewire` also attempted to remove `ubuntu-desktop` and other core functionality in Ubuntu 22.04, causing the login screen not to come up. – mofojed Aug 03 '23 at 14:19
  • @mofojed aren’t you on 23.04 instead? Pipewire is the default since 22.10, you can’t remove it. – Didier L Aug 04 '23 at 13:56
  • @DidierL Nope, I'm on 22.04. Not sure why it removes `ubuntu-desktop` as well. – mofojed Aug 04 '23 at 17:00
3

At least on Ubuntu 22.04, you can't auto start PulseAudio without disabling PipeWire-Pulse, I fixed the PulseAudio autostart by just running this one below.

systemctl --user mask pipewire-pulse.service pipewire-pulse.socket
skyred
  • 81
  • 1
  • 5