Skip to content

allow user to rename devices and select a preferred name source

Harald Sitter requested to merge work/sitter/rename into master

Needs libraries/pulseaudio-qt!39 (merged)

Name Source

Allows choosing the name out of a set number of sources. Names have been unified across applet and kcm now. Changes here are instantly applied throughout the stack.

Overrides

Additionally, overrides may be set. These override all supported name fields so it doesn't matter which name source is chosen at the time the change is made. The override installs a wireplumber json file and restarts the stack to apply the change.

Misc Notes

based on wireplumber's rule system https://pipewire.pages.freedesktop.org/wireplumber/daemon/configuration/modifying_configuration.html#working-with-rules

makes use of the fact that SPA-JSON is a superset of JSON so we can just read and write JSON and not bother with SPA directly

config file in ~/.config/wireplumber/wireplumber.conf.d/00-plasma-pa.conf

Screenshots

Screenshot_20240731_091247

Screenshot_20240731_091300

Edited by Harald Sitter

Merge request reports

Loading