You are not logged in.

#1 2021-02-11 21:09:44

oxygen_wobble
Member
Registered: 2012-05-20
Posts: 71

How to start PulseAudio on demand ?

Hi!

Now, usually I'm a happy JACK user and haven't had PulseAudio installed in a decade, but I need it now for a streaming config involving Discord and some additional sources.

The thing is, there's always a pulseaudio process running ... I tried to disable socket and service, disable respawn in client.conf, but to no avail ...

So, what would be the recommended way to use PulseAudio when I actually need it, instead of running it all the time ? Other than uninstalling it every time after you need it, which wouldn't be very convenient ...

Best,
N

Offline

#2 2021-02-11 21:13:35

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 12,237

Re: How to start PulseAudio on demand ?

mask the socket and start the service on it's own.

Offline

#3 2021-02-11 21:16:31

oxygen_wobble
Member
Registered: 2012-05-20
Posts: 71

Re: How to start PulseAudio on demand ?

So, the service has to be running after all ? I masked the socket and tried to stop and disable the service but the process still popped up everytime I started a browser, etc ...

Edit: Sorry, I guess you mean that I should start the service when I need PA ... but still, masking the socket didn't really help ..

Last edited by oxygen_wobble (2021-02-11 21:42:55)

Offline

#4 2021-02-12 16:15:46

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 8,908

Re: How to start PulseAudio on demand ?

preventing pulseaudio from getting started can be tricky .

Try renaming/moving /etc/xdg/autostart/pulseaudio.desktop  (see https://wiki.archlinux.org/index.php/PulseAudio#Running ) .

If that is still not enough, verify if the troublesome program is satisifed when apulse provides pulseaudio support on alsa .
https://aur.archlinux.org/packages/apulse/


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#5 2021-02-16 19:35:00

oxygen_wobble
Member
Registered: 2012-05-20
Posts: 71

Re: How to start PulseAudio on demand ?

Ok, I now deleted the autostart file, disabled the socket and just about anything else, and that seemed to have worked ... thanks !

Offline

#6 2021-02-17 09:30:42

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 8,908

Re: How to start PulseAudio on demand ?

Keep in mind the autostart file will be put back whenever pulseaudio is updated / re-installed .

Incase you want to prevent that, look up NoExtract option in pacman.conf manpage.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

Board footer

Powered by FluxBB