You are not logged in.
After installing pipewire as arch-wiki suggested with a wireplumber as a session manager I have run into some problems.
Namely that the default audio output device that is being picked by pipewire is not the one I want. That would not be such a problem if the GUI applications like helvum and qpwgraph actually saved my wiring, but they do not.
So I am currently trying to set the priorities to output devices (sink nodes) using wireplumber.
I created .config/wireplumber/51-RODE-priority.lua, but it does not seem to be executed by the wireplumber because the priorities do not change (the priority still is in 1k+ range). Here is the code:
rule_RODE_sink = {
matches = {
{
{ "node.name", "matches", "alsa_output.usb-R__DE_Microphones*" },
},
},
apply_properties = {
["priority.driver"] = 10,
["priority.session"] = 10,
},
}
table.insert(alsa_monitor.rules,rule_RODE_sink)What should I do in my situation?
Offline
It seems that moving the code to /usr/share/wireplumber/main.lua.d/ solves the issue of executing the script, but how do I make wireplbumber to execute scripts in my home directory as well?
Offline
It seems that moving the code to /usr/share/wireplumber/main.lua.d/ solves the issue of executing the script, but how do I make wireplbumber to execute scripts in my home directory as well?
i have things setup in
~/.config/pipewire
~/.config/wireplumber
eg just copied /usr/share/wireplumber/main.lua.d/ to ~/.config/wireplumber/ (i had to mkdir), then i edit things in there.
default locations:
https://pipewire.pages.freedesktop.org/ … tions.html
for instance, i have managed to disable my usb headphones by putting this in
~/.config/wireplumber/main.lua.d/51-alsa-disable.lua
rule = {
matches = {
{
{ "device.name", "equals", "alsa_card.usb-C-Media_Electronics_Inc._USB_Audio_Device-00" },
},
},
apply_properties = {
["device.disabled"] = false,
},
}as per instructions here:
https://wiki.archlinux.org/title/WirePl … evice/node
in friendship,
prad
Offline