C
C
CheGevara2014-08-18 21:15:49
PulseAudio
CheGevara, 2014-08-18 21:15:49

How to change the sound playback device in Ubuntu from the console?

There is Ubuntu 14.04.
Two audio devices: built-in audio and hdmi video cards.
From the standard menu, everything is fine, you can change where to send all the sound.
I want to switch from the command line (for a script, I want to switch both the screen (I found it how) and the sound receiver with one click).
UPD
pacmd set-default-sink '1' make the output default and the sound will go to it only for those applications that start after, but you need everything that is and what will be after

Answer the question

In order to leave comments, you need to log in

2 answer(s)
J
jidckii, 2014-08-19
@jidckii

pavucontrol, alsamixer.

S
SilentFl, 2014-08-19
@SilentFl

I would dig towards this

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question