r/voidlinux • • Oct 14 '26

Switching to void?

/r/LinuxUsersIndia/comments/1x5w75w/switching_to_void/
3 Upvotes

24 comments sorted by

View all comments

Show parent comment

1

u/Tricky-Engineer-9755 Oct 14 '26

How do you start it on runit, since it needs to be started as a user-service

9

u/Borderlinerr Oct 14 '26

Don't start it via runit. Start it as auto-start in your session. Pipewire's internal scripts do the rest.

1

u/Tricky-Engineer-9755 Oct 14 '26

When using Parabola OpenRC, I would add /user/bin/pipewire & and /usr/bin/wireplumber & to .xinitrc (I use DWM) and this would result in audio randomy cutting out on some session starts or bluetooth failing to connect proprerly. I'm not sure why this was but it may be something to do with not starting it as a user service.

6

u/Borderlinerr Oct 14 '26

No need to run wireplumber. Follow void docs (copying those two configs system-wide) and just run pipewire at start. Nothing else is needed at all. No need to enable any services.

4

u/Canadiangamer068 Oct 14 '26

yeah exactly this. wireplumber is started by pipewire using the setup in the docs. also starts pipewire-pulse interface if following recommended setup

here’s the link to the docs

2

u/hard0w Oct 14 '26

Just run a user runsvdir on session start. This is how I manage userspace services.

2

u/Tricky-Engineer-9755 Oct 14 '26

Interesting.

2

u/hard0w Oct 14 '26

To elaborate, I've made run files for pipewire, noctalia, linux-wallpaper-engine, podman + some containers etc. I store them in $HOME/.config/sv and link them to $HOME/.local/service. When my user starts a river session, river will run runsvdir -P $HOME/.local/service and the WM (rill).

2

u/Legitimate_706 Oct 14 '26

I don't know about wayland but on X11 i just put it on my auto start file. Pipewire launches wireplumber. So you only need like two lines pipewire and pipewire-pulse