All Questions
1 question
4
votes
2
answers
2k
views
How to change between speakers and USB headset using a script on Ubuntu?
I am trying to write a script to change between speakers and headset. I want to be able to change the output and the input with a shortcut.
I used these commands to see my audio devices :
$ pacmd ...