Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have to plugin my USB Audio adapter ( 4300054 Gigawire USB Audio Adapter) for audio input because has a combo-input-output port for voice. After I do this, I have go open Sound Settings and manually select the USB Audio adapter for Input and Output, if I do not, the system default remains selected.

Is there anyway, I can make Ubuntu to automatically select the USB Audio Adapter as the default as soon as I plug-in?

share|improve this question

There is pulseaudio module-switch-on-connect that enables automatic switching of an audio device on connection. To test if this works we may issue the following commmand in a terminal:

pacmd load-module module-switch-on-connect

On success we can add the following line to our /etc/pulse/

load-module module-switch-on-connect

to always load this module on every login, resp. restart of the pulseaudio daemon.

share|improve this answer
I just re-found this answer and wish I could upvote it again. This solves the issue on Ubuntu 14.04. – Lars Nyström Oct 8 '15 at 10:02
such a long time it is out there, and still not set to be loaded automatically in 16.04 :| – Ivan Temchenko Jul 16 at 9:54

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.