[pulseaudio-discuss] how to change the zeroconf published sink name ?

Colin Guthrie gmane at colin.guthr.ie
Wed Dec 22 10:42:56 PST 2010

'Twas brillig, and nico at 22/12/10 18:10 did gyre and gimble:
>> So you should be able to adjust that fairly easily.
>> (see update-sink-proplist in pacmd - you will likely have to unload and
>> reload the avahi-publish module to see the change tho')
> Great !
> Something like:
> update-sink-proplist 0 device.description="my-very-own-pulseaudio-setup"
> unload-module module-zeroconf-publish
> load-module module-zeroconf-publish
> it worked nicely.
> But now that I know how to do that interactively, what would be the
> best solution for a permanent setup?
> Obviously putting those lines in default.pa was a stupid move...

Well here is a sneaky trick you can do. I assume you are NOT using KDE
here. If you are you don't really need to make any customisations as the
module I'll suggest is already loaded under KDE (it does routing also in
this case).

Add the following to you default.pa (or even better create a
~/.pulse/default.pa and put the first like ".include
/etc/pulse/default.pa" so as to include the system one then make your
own customisations).

load-module module-device-manager

Once you've done this, restart PA or your system.

Then simply run:
pacmd update-sink-proplist 0

This will change will be recorded by module-device-manager and it should
then restore it for you on next boot so the change should last across

In actual fact pavucontrol has support for a "Rename dialog" (just right
click on a device) but it's only present in git master. I include the
patches in Mandriva, but I'm not sure any other distro carries the
patches. I'll try and push out a new pavucontrol soonish.

Hope that works for you.



Colin Guthrie

Day Job:
  Tribalogic Limited [http://www.tribalogic.net/]
Open Source:
  Mageia Contributor [http://www.mageia.org/]
  PulseAudio Hacker [http://www.pulseaudio.org/]
  Trac Hacker [http://trac.edgewall.org/]

More information about the pulseaudio-discuss mailing list