Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Jul 2021 15:58:09 +0200
From:      Tomasz CEDRO <tomek@cedro.info>
To:        Roderick <hruodr@gmail.com>
Cc:        FreeBSD Questions Mailing List <freebsd-questions@freebsd.org>
Subject:   Re: What the hell starts pulseaudio?!
Message-ID:  <CAM8r67AHsYYCuu8_tAiX5a4KtbtkRaU4H4OotCjB4A6j%2BOPbMg@mail.gmail.com>
In-Reply-To: <CAM8r67BZPJiWtxY75DRw9R1pZgOgE1PvYQ_g6_BgEtHmWCandg@mail.gmail.com>
References:  <5b18f5de-7aae-a226-88cd-a210507d5c5@gmail.com> <CAM8r67CB5wye72e_FCVx8QaxyW1U=9eFSP4tJopSVYnaEwW2LQ@mail.gmail.com> <72194e9f-261c-c3da-996-f8e1bcad2164@gmail.com> <CAM8r67BZPJiWtxY75DRw9R1pZgOgE1PvYQ_g6_BgEtHmWCandg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Another, user level, trick to prevent applications spawning PulseAudio
is ~/.config/pulse/client.conf:
autospawn = no



On Tue, Jul 13, 2021 at 3:53 PM Tomasz CEDRO <tomek@cedro.info> wrote:
>
> On Tue, Jul 13, 2021 at 1:42 PM Roderick wrote:
> > On Tue, 13 Jul 2021, Tomasz CEDRO wrote:
> > > What Window Manager do you use? Maybe this guy.. or its audio mixer? :-)
> > It is written in my original mail.
>
> Sorry, TWM does not start it, its the Firefox, or any other
> application linked against libpulse* will spawn local user service
> with stream/dgram socket communication (not TCP!) :-)
>
> sockstat | grep pulse
> XXX       pulseaudio 99706 5  stream /home/XXX/.xdg/pulse/native
> XXX       pulseaudio 99706 8  stream -> /tmp/dbus-URrI0C27hY
> XXX       pulseaudio 99706 9  stream /home/XXX/.xdg/pulse/native
> XXX       pulseaudio 99706 11 dgram  -> /var/run/log
> XXX       pulseaudio 99706 41 stream -> /var/run/dbus/system_bus_socket
> XXX       enlightenm 98712 73 stream -> /home/XXX/.xdg/pulse/native
>
> At first I though htop and ps auxd could show process tree with
> parent, but in my case there was no parent, what seems reasonable
> because it should work even after its spawning process terminates.
>
> Then I found this. Looks like exactly your question and the answer:
> https://unix.stackexchange.com/questions/204522/how-does-pulseaudio-start
>
> Personally I like PulseAudio. It gives you lots of felxibility and
> control over audio per application on the fly.
>
> If you do not like it you may want to try remove / lock the package
> and/or put a link to /use/bin/true in place of the binary?
>
> --
> CeDeROM, SQ7MHZ, http://www.tomek.cedro.info



-- 
CeDeROM, SQ7MHZ, http://www.tomek.cedro.info



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAM8r67AHsYYCuu8_tAiX5a4KtbtkRaU4H4OotCjB4A6j%2BOPbMg>