pacmd list-sinks | grep name:
pacmd list-sources | grep name:
pacmd update-sink-proplist alsa_output.usb-0c76_USB_Headphone_Set-00.analog-stereo device.product.name=USB_Headphones
pacmd update-source-proplist alsa_output.usb-0c76_USB_Headphone_Set-00.analog-stereo.monitor device.description=USB_Headphones
Add to:
~/.config/pulse/default.pa
without the pacmd
https://unix.stackexchange.com/questi...change-what-pulseaudio-calls-a-device
Voting 0
The idea is that the first user creates an UNIX socket, the rest are connected to that.
== /etc/pulse/default.pa: ==
load-module module-native-protocol-unix auth-anonymous=1 socket=/tmp/pulseaudio-socket
== /etc/pulse/client.conf ==
default-server = unix:/tmp/pulseaudio-socket
pulseaudio -k
pulseaudio -D
https://bbs.archlinux.org/viewtopic.php?id=221719
Voting 0
Yes - there is a better solution. I had the same problem - I am running iceweasel as a different user than the user I am logged in as for additional security.
As the main user, I copied /etc/pulse/default.pa to ~/.pulse/default.pa.
I added:
load-module module-native-protocol-tcp auth-ip-acl=127.0.0.1
As the second user, I created ~/.pulse/client.conf and added
default-server = 127.0.0.1
With this configuration, when the second user launches an application that uses pulseaudio, it will connect to the first user's pulseaudio instance.
http://forums.fedoraforum.org/showthread.php?t=190954
Voting 0