Preserve Pulseaudio "Default Sink" setting on reboot?

Dave Markus davem at mich.com
Tue Nov 16 01:49:15 UTC 2010


At 11:45 AM 11/12/2010, you wrote:
>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

Here is what I finally did to get it to work on my Ubuntu 9.04 system:

Edit ~/.profile

And add:

export PULSE_SERVER=tcp:ubuntu-DGTM.gateway.2wire.net:4713

Reboot and the remote server is now the default sink.

Dave





More information about the ubuntu-users mailing list