Unable to modify `device.icon_name` with WirePlumber after v0.3.54
- PipeWire version: 0.3.57
- Distribution and distribution version: Arch Linux
- Desktop Environment: GNOME 42.4
- Kernel version: 5.19.8-arch1-1
Description of Problem:
After commit a31989b4, any WirePlumber rule that tries to modify the device.icon_name
property (and maybe a few others?) is not applied anymore. I first reported this on the WirePlumber repository, thinking it was a regression because this used to work previously. However, after further investigation, I was able to determine the real culprit.
How Reproducible:
100%
Steps to Reproduce:
- Create the following WirePlumber rule in
~/.config/wireplumber/main.lua.d/99-change-device-icon.lua
:custom_icon = { matches = { { { "node.name", "matches", "alsa_output.*"} } }, apply_properties = { ["device.icon_name"] = "audio-headset" } } table.insert(alsa_monitor.rules, custom_icon)
- Restart WirePlumber to apply the rule
Actual Results:
Notice that the device icon in Pavucontrol is set to audio-card-analog-pci
instead of audio-headset
:
$ pactl list sinks | grep device.icon_name
device.icon_name = "audio-card-analog-pci"
Expected Results:
The device icon should've been set to audio-headset
, like this:
$ pactl list sinks | grep device.icon_name
device.icon_name = "audio-headset"
Additional Info (as attachments):
-
pw-dump > pw-dump.log
: pw-dump.log