Preserve Pulseaudio "Default Sink" setting on reboot?

Dave DaveM at Mich.Com
Fri Nov 12 16:45:02 GMT 2010


At 10:55 PM 11/6/2010, you wrote:
>I use the Pulseaudio Device Chooser to set the default sink (on a
>laptop) to a remote server. This works fine. When i reboot my laptop,
>the default sink reverts back to "default" (the laptop sound card).
>Is there a way to get the laptop to continue to use the remote server
>after a reboot? Is there a command that I can run in a script on
>startup to change the default sink back to the remote server?
>
>I am running Ubuntu 9.04 on this machine.

I am making some progress on this problem. If I add the following:

export PULSE_SERVER=tcp:ipaddressofmyremoteserver:4713

  to ~/.bashrc, when i reboot, pulse will default sink to the sound 
card on the remote server for any program that I launch from a 
command line. But anything that I launch from gnome still uses the 
local sound card.

Where do I need to add this export for it to be avalable to pulse 
when apps are launched from gnome?

I tried the following without success:

~/.bashrc
~/.pulse/client.conf
/etc/pulse/client.conf
/usr/bin/start-pulseaudio-x11

Dave





More information about the ubuntu-users mailing list