wiki https://wiki.artixlinux.org/Site/PipewireInsteadPulseaudio
but this is not in the wiki, so i thought to capture it, but also adding wireplumber and pipewire-pulse to start is not simple.
Artist, how does one add wireplumber and pipewire-pulse to ~/.config/pipewire/pipewire.conf?
The config file might indeed not be trivial to set up. In this case it is better to add the 3 commands from the Pipewire wiki page to your file .e/e/applications/startup/startupcommands as eg.:
/usr/bin/pipewire | \
/usr/bin/pipewire-pulse | \
/usr/bin/wireplumber
artist
This may be off topic, but can it be explained why the init should not start pipewire et. al.?
Would not a service that could be restarted make sense?
because pipewire is started as your user, and the user services support for openrc isn't merged yet
Couldn't you take pipewire-dinit and just change out what needs changing in pipewire.user and pipewire-pulse.user?
Was about to mention it but PW is convoluted here - for instance why isn't pipewire-pulse a plugin but the v4l2 video accessor is, same for wireplumber (you can define paths in pipewire but you need a separate session manager for the automatic stuff which makes little sense). By this weird design a single shipment won't do, what is recommended is a shell directive to execute all three in the background, but i know, it's not elegant. It's the first time i wonder about this, after blindly accepting pipewire as a lazy man's jack client and a better quality resampler.
I do use it with dinit.
LE:
@n00b Line 320 of /usr/share/pipewire/pipewire.conf has the self reexecute directive for pipewire-pulse and the separate one for wireplumber, but from what i've heard it's not recommended to use it like this.
Is it worth it to move away from OpenRC?
Can you point me to where this is discussed?
@Artist can you eliaV this
https://wiki.gentoo.org/wiki/PipeWire#OpenRC
for moksha?
You can do it while using other (system) inits.
You use dinit user services.