Annoyed that your audio devices on Linux have weird names like "Family 17h/19h HD Audio Controller Analog Stereo"? Want to see "Laptop" or "Bluetooth headset" instead?
Here's how to rename them (given that you're using PipeWire and WirePlumber 0.5):
Step 1: Find the ID of the sink or source you want to rename using `wpctl status`.
Step 2: Find the "node.name" of that device using `wpctl inspect <id>`. You should find something like "alsa_output.pci-0000_c1_00.6.analog-stereo".
Piko hat dies geteilt.
blinry
Als Antwort auf blinry • • •Step 3: Create the file ~/.config/wireplumber/wireplumber.conf.d/51-rename-devices.conf with this content:
monitor.alsa.rules = [
{
matches = [
{
node.name = "alsa_input.pci-0000_c1_00.6.analog-stereo"
}
]
actions = {
update-props = {
node.description = "Your new name"
}
}
}
]
(If you're renaming a Bluetooth device, use "monitor.bluez.rules" instead.)
Step 4: Restart Pipewire using `systemctl restart --user pipewire`. You're done! :)
Ernie Smith
Als Antwort auf blinry • • •blinry
Als Antwort auf Ernie Smith • • •Ernie Smith
Als Antwort auf blinry • • •Olivier Berger
Als Antwort auf blinry • • •Excellent tips.
FWIW, I've spotted a GUI tool tha should allow doing the same, github.com/dyegoaurelio/simple… but which doesn't work on my laptop currently, though.
But a GUI would be great for sure. I guess it wouldn't be much work to adjust its way of doing things (lua config files) another way.
See github.com/dyegoaurelio/simple… for more details
GitHub - dyegoaurelio/simple-wireplumber-gui: A simple GTK4 GUI for PipeWire
GitHubJonathan Hartley's old account
Als Antwort auf blinry • • •blinry
Als Antwort auf Jonathan Hartley's old account • • •Jonathan Hartley's old account
Als Antwort auf blinry • • •Santiago Lema
Als Antwort auf blinry • • •Jure Repinc
Als Antwort auf blinry • • •Rainer Müller
Als Antwort auf blinry • • •Interesting technique! I have been doing it differently with pulseaudio before and this also still works with pipewire.
1) Add `load-module module-device-manager` to /etc/pulse/default.pa
2) Rename devices in the pavucontrol GUI by right clicking the mute button next to the Output/Input Device
I think this info is saved in the ~/.config/pulse/ database along with the current volume settings. It is definitely persistent.
Claudius
Als Antwort auf blinry • • •