[pulseaudio-discuss] couple with vnc

Brian J. Murrell brian at interlinx.bc.ca
Thu Dec 11 08:15:26 PST 2008


On Thu, 2008-12-11 at 16:12 +0100, Lennart Poettering wrote:
> 
> Simply use pavucontrol.

So that presumes that pavucontrol is in the desktop menu somewhere (for
the common user).  As of Ubuntu Intrepid, that does not appear to be the
case.  Maybe they will follow through with this deprecation and put the
tools that are accessible from padevchooser into the menus.

> Use tunnels and right-click on each stream you
> want to move to a different sink.

This means moving applications/streams on a case by case basis though.
Right now padevchooser has a "Default Server" option that lets me make
this kind of decision wholesale (for new streams).  This is handy for
example if I want to move my work environment to a new machine.

> root *window* properties.

Yes, indeed.  Mind was going faster than fingers.  :-)

> But I wouldn't call that "canonical". There
> are multiple ways to configure the server to use. The X11 root window
> property stuff is just one way, but a very useful one. You can user
> env vars, too...

Right.  I have done that too.  Works well.  i.e. ssh into a remote
machine and set the PULSE_SERVER env. variable to the machine the ssh is
coming from so that any applications started in that shell get their
audio sent to the ssh source.  I have not gone as far, but it would
probably be trivial to tunnel it in the ssh connection too.

> Yes, that's why you should be using pavucontrol. It exposes that
> functionality in the UI. Simply right click on a stream and there you go.

Right.  But I was looking for a programmatic method.  At the shell
level, pactl seems to help me do that.  I could look into pactl to see
how I could write a single executable to do that though.

Thanx!

b.






More information about the pulseaudio-discuss mailing list