#Configuring pipewire on Gentoo Linux
58 messages · Page 1 of 1 (latest)
alright
#!/bin/bash
#installation
sudo emerge sys-firmware/sof-firmware --autounmask{,-write,-continue}
sudo emerge media-sound/pulseaudio --autounmask{,-write,-continue}
sudo emerge media-libs/libpulse --autounmask{,-write,-continue}
sudo emerge media-video/wireplumber --autounmask{,-write,-continue}
#configuration
sudo mkdir -p /etc/pipewire
sudo cp /usr/share/pipewire/pipewire.conf /etc/pipewire/pipewire.conf
mkdir -p ~/.config/pipewire
cp /usr/share/pipewire/pipewire.conf ~/.config/pipewire/pipewire.conf
echo "Enter your username:"
read -r us
#groupadd
sudo gpasswd -a "$us" audio
sudo gpasswd -a "$us" video
#profile
echo '
# Ensure XDG_RUNTIME_DIR is set
if test -z "$XDG_RUNTIME_DIR"; then
export XDG_RUNTIME_DIR=$(mktemp -d /tmp/$(id -u)-runtime-dir.XXX)
fi
' > ~/.bash_profile
source ~/.bash_profile
this is what I ran to configure pipewire btw
does rc-update add pipewire default work
It does not
[ebuild U ] media-video/pipewire-0.3.75:0/0.4::gentoo [0.3.74:0/0.4::gentoo] USE="X bluetooth dbus readline sound-server ssl -doc -echo-cancel -extra -ffmpeg -flatpak -gsettings -gstreamer -ieee1394 -jack-client -jack-sdk -liblc3 -lv2 -modemmanager -pipewire-alsa (-system-service) -systemd -test -v4l -zeroconf" ABI_X86="(64) -32 (-x32)" 0 KiB
these are the use flags pipewire is using btw
should I use system-service?
this is by default
oh
you have to compile in use flags for gentoo
put in -pulseaudio in if you are going to use pipewire
you can use them in tangent in gentoo
I forget the purpose but it's standard to use both from what I remember
it's like the equivalent of pipewire-pulse on arch
I could be wrong though
should I change it
can you run
dbus-launch --exit-with-session sway
I did
how about run
gentoo-pipewire-launcher
looks like I can stream discord and vscodium but not my terminal
ok
just ran it
can you send a image because I never installed pipewire in gentoo before only pulseaudio
what am I looking at lmao
srry idk which i need to change it to T-T
liike I'm using grimshot
idk how to take screenshots, this is new
oo wait
fixed
can you send a screenshot what gentoo-pipewire-launcher gave you
it's the first line, no errors 😄
do you have the audio group on your account
yeah you're in the audio group
can you send this thread to #tech-general
for more help
@rich egret also https://wiki.gentoo.org/wiki/PipeWire
hm
... solved
#9742 📣 If there is nothing else that we can do for you, please close this thread by adding "[SOLVED]" to the title.
- You can do this on desktop by clicking the three dots on the top right of the page, and pressing "Edit Post".
- You can also do this on Android / iOS by long tapping your post in the text channel list, and tapping "Edit Post".
Your title should be like so: https://cdn.discordapp.com/attachments/503224329191030787/1039841700417384498/image.png
Thank you
no problem
@rich egret btw can you do this