How do you set a default audio output device in Ubuntu 18.04?
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgO9GURib1T8z7lCwjOGLQaGtrueEthgQ8LO42ZX8cOfTqDK4jvDDpKkLFwf2J49kYCMNW7d4ABih_XCb_2UXdq5fPJDkoyg7-8g_YfRUot-XnaXkNYycsNp7lA5_TW9td0FFpLQ2APzKcZ/s1600/1.jpg)
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYQ0N5W1qAOxLP7t7iOM6O6AzbZnkXUy16s7P_CWfOb5UbTQY_aDsc727chyphenhyphen5W4IppVNernMMQeaUFTB_rFzAd95_CDt-tnwN-nBx6JyUp2duGjPaL5-VgNO41AVsA_vu30EJcipdDG409/s400/Clash+Royale+CLAN+TAG%2523URR8PPP.png)
up vote
4
down vote
favorite
Every time I boot up I have to switch my audio output device to my "Line Out" headphones because for some reason my microphone defaults as a speaker.
See this screenshot.
sound
add a comment |Â
up vote
4
down vote
favorite
Every time I boot up I have to switch my audio output device to my "Line Out" headphones because for some reason my microphone defaults as a speaker.
See this screenshot.
sound
add a comment |Â
up vote
4
down vote
favorite
up vote
4
down vote
favorite
Every time I boot up I have to switch my audio output device to my "Line Out" headphones because for some reason my microphone defaults as a speaker.
See this screenshot.
sound
Every time I boot up I have to switch my audio output device to my "Line Out" headphones because for some reason my microphone defaults as a speaker.
See this screenshot.
sound
edited May 21 at 4:37
![](https://i.stack.imgur.com/WwSSv.jpg?s=32&g=1)
![](https://i.stack.imgur.com/WwSSv.jpg?s=32&g=1)
ubashu
2,23221736
2,23221736
asked May 20 at 21:20
tiddlesticks
213
213
add a comment |Â
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
5
down vote
accepted
Here is a well explained tutorial to set a default audio input/output: Link
First: List the audio output devices using
pactl list short sinks
Example of the output:
pactl list short sources
0 alsa_output.pci-0000_02_00.1.hdmi-stereo.monitor module-alsa-card.c s16le 2ch 44100Hz SUSPENDED
1 alsa_input.usb-AVerMedia_Technologies__Inc._Live_Gamer_Portable_2_5202050100060-03.analog-stereo module-alsa-card.c
2 alsa_output.usb-Blue_Microphones_Yeti_Stereo_Microphone_REV8-00.analog-stereo.monitor module-alsa-card.c s16le 2ch 44100Hz SUSPENDED
3 alsa_input.usb-Blue_Microphones_Yeti_Stereo_Microphone_REV8-00.analog-stereo module-alsa-card.c s16le 2ch 44100Hz RUNNING
Second: To set a default output device run the command
set-default-sink <'output device name'>
Example: pactl set-default-sink 'alsa_output.pci-0000_00_1f.3.analog-stereo'
Now, to make this work at every restart, follow this :
First, open the file /etc/pulse/default.pa using :
sudo gedit /etc/pulse/default.pa
Then scroll to the bottom of the file, where two lines starting with set-
will be commented out.
Now, uncomment these lines and replace the words input and output with the number of the sink (for output) / source (for input) that you want to be the default.
Example:
### Make some devices default
set-default-sink 3
set-default-source 3
After doing this, save and exit. Then, delete the ~/.config/pulse directory by running sudo rm -r ~/.config/pulse
, and then reboot the system. Once the system reboots, the appropriate devices should now be set as the defaults.
Thank you so much, you have made my os much more pleasurable to use!
â tiddlesticks
May 21 at 1:44
The user owns the home directory, sosudo
isn't required when runningsudo rm -r ~/.config/pulse
â BenR
yesterday
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
5
down vote
accepted
Here is a well explained tutorial to set a default audio input/output: Link
First: List the audio output devices using
pactl list short sinks
Example of the output:
pactl list short sources
0 alsa_output.pci-0000_02_00.1.hdmi-stereo.monitor module-alsa-card.c s16le 2ch 44100Hz SUSPENDED
1 alsa_input.usb-AVerMedia_Technologies__Inc._Live_Gamer_Portable_2_5202050100060-03.analog-stereo module-alsa-card.c
2 alsa_output.usb-Blue_Microphones_Yeti_Stereo_Microphone_REV8-00.analog-stereo.monitor module-alsa-card.c s16le 2ch 44100Hz SUSPENDED
3 alsa_input.usb-Blue_Microphones_Yeti_Stereo_Microphone_REV8-00.analog-stereo module-alsa-card.c s16le 2ch 44100Hz RUNNING
Second: To set a default output device run the command
set-default-sink <'output device name'>
Example: pactl set-default-sink 'alsa_output.pci-0000_00_1f.3.analog-stereo'
Now, to make this work at every restart, follow this :
First, open the file /etc/pulse/default.pa using :
sudo gedit /etc/pulse/default.pa
Then scroll to the bottom of the file, where two lines starting with set-
will be commented out.
Now, uncomment these lines and replace the words input and output with the number of the sink (for output) / source (for input) that you want to be the default.
Example:
### Make some devices default
set-default-sink 3
set-default-source 3
After doing this, save and exit. Then, delete the ~/.config/pulse directory by running sudo rm -r ~/.config/pulse
, and then reboot the system. Once the system reboots, the appropriate devices should now be set as the defaults.
Thank you so much, you have made my os much more pleasurable to use!
â tiddlesticks
May 21 at 1:44
The user owns the home directory, sosudo
isn't required when runningsudo rm -r ~/.config/pulse
â BenR
yesterday
add a comment |Â
up vote
5
down vote
accepted
Here is a well explained tutorial to set a default audio input/output: Link
First: List the audio output devices using
pactl list short sinks
Example of the output:
pactl list short sources
0 alsa_output.pci-0000_02_00.1.hdmi-stereo.monitor module-alsa-card.c s16le 2ch 44100Hz SUSPENDED
1 alsa_input.usb-AVerMedia_Technologies__Inc._Live_Gamer_Portable_2_5202050100060-03.analog-stereo module-alsa-card.c
2 alsa_output.usb-Blue_Microphones_Yeti_Stereo_Microphone_REV8-00.analog-stereo.monitor module-alsa-card.c s16le 2ch 44100Hz SUSPENDED
3 alsa_input.usb-Blue_Microphones_Yeti_Stereo_Microphone_REV8-00.analog-stereo module-alsa-card.c s16le 2ch 44100Hz RUNNING
Second: To set a default output device run the command
set-default-sink <'output device name'>
Example: pactl set-default-sink 'alsa_output.pci-0000_00_1f.3.analog-stereo'
Now, to make this work at every restart, follow this :
First, open the file /etc/pulse/default.pa using :
sudo gedit /etc/pulse/default.pa
Then scroll to the bottom of the file, where two lines starting with set-
will be commented out.
Now, uncomment these lines and replace the words input and output with the number of the sink (for output) / source (for input) that you want to be the default.
Example:
### Make some devices default
set-default-sink 3
set-default-source 3
After doing this, save and exit. Then, delete the ~/.config/pulse directory by running sudo rm -r ~/.config/pulse
, and then reboot the system. Once the system reboots, the appropriate devices should now be set as the defaults.
Thank you so much, you have made my os much more pleasurable to use!
â tiddlesticks
May 21 at 1:44
The user owns the home directory, sosudo
isn't required when runningsudo rm -r ~/.config/pulse
â BenR
yesterday
add a comment |Â
up vote
5
down vote
accepted
up vote
5
down vote
accepted
Here is a well explained tutorial to set a default audio input/output: Link
First: List the audio output devices using
pactl list short sinks
Example of the output:
pactl list short sources
0 alsa_output.pci-0000_02_00.1.hdmi-stereo.monitor module-alsa-card.c s16le 2ch 44100Hz SUSPENDED
1 alsa_input.usb-AVerMedia_Technologies__Inc._Live_Gamer_Portable_2_5202050100060-03.analog-stereo module-alsa-card.c
2 alsa_output.usb-Blue_Microphones_Yeti_Stereo_Microphone_REV8-00.analog-stereo.monitor module-alsa-card.c s16le 2ch 44100Hz SUSPENDED
3 alsa_input.usb-Blue_Microphones_Yeti_Stereo_Microphone_REV8-00.analog-stereo module-alsa-card.c s16le 2ch 44100Hz RUNNING
Second: To set a default output device run the command
set-default-sink <'output device name'>
Example: pactl set-default-sink 'alsa_output.pci-0000_00_1f.3.analog-stereo'
Now, to make this work at every restart, follow this :
First, open the file /etc/pulse/default.pa using :
sudo gedit /etc/pulse/default.pa
Then scroll to the bottom of the file, where two lines starting with set-
will be commented out.
Now, uncomment these lines and replace the words input and output with the number of the sink (for output) / source (for input) that you want to be the default.
Example:
### Make some devices default
set-default-sink 3
set-default-source 3
After doing this, save and exit. Then, delete the ~/.config/pulse directory by running sudo rm -r ~/.config/pulse
, and then reboot the system. Once the system reboots, the appropriate devices should now be set as the defaults.
Here is a well explained tutorial to set a default audio input/output: Link
First: List the audio output devices using
pactl list short sinks
Example of the output:
pactl list short sources
0 alsa_output.pci-0000_02_00.1.hdmi-stereo.monitor module-alsa-card.c s16le 2ch 44100Hz SUSPENDED
1 alsa_input.usb-AVerMedia_Technologies__Inc._Live_Gamer_Portable_2_5202050100060-03.analog-stereo module-alsa-card.c
2 alsa_output.usb-Blue_Microphones_Yeti_Stereo_Microphone_REV8-00.analog-stereo.monitor module-alsa-card.c s16le 2ch 44100Hz SUSPENDED
3 alsa_input.usb-Blue_Microphones_Yeti_Stereo_Microphone_REV8-00.analog-stereo module-alsa-card.c s16le 2ch 44100Hz RUNNING
Second: To set a default output device run the command
set-default-sink <'output device name'>
Example: pactl set-default-sink 'alsa_output.pci-0000_00_1f.3.analog-stereo'
Now, to make this work at every restart, follow this :
First, open the file /etc/pulse/default.pa using :
sudo gedit /etc/pulse/default.pa
Then scroll to the bottom of the file, where two lines starting with set-
will be commented out.
Now, uncomment these lines and replace the words input and output with the number of the sink (for output) / source (for input) that you want to be the default.
Example:
### Make some devices default
set-default-sink 3
set-default-source 3
After doing this, save and exit. Then, delete the ~/.config/pulse directory by running sudo rm -r ~/.config/pulse
, and then reboot the system. Once the system reboots, the appropriate devices should now be set as the defaults.
edited May 20 at 21:49
answered May 20 at 21:28
singrium
614113
614113
Thank you so much, you have made my os much more pleasurable to use!
â tiddlesticks
May 21 at 1:44
The user owns the home directory, sosudo
isn't required when runningsudo rm -r ~/.config/pulse
â BenR
yesterday
add a comment |Â
Thank you so much, you have made my os much more pleasurable to use!
â tiddlesticks
May 21 at 1:44
The user owns the home directory, sosudo
isn't required when runningsudo rm -r ~/.config/pulse
â BenR
yesterday
Thank you so much, you have made my os much more pleasurable to use!
â tiddlesticks
May 21 at 1:44
Thank you so much, you have made my os much more pleasurable to use!
â tiddlesticks
May 21 at 1:44
The user owns the home directory, so
sudo
isn't required when running sudo rm -r ~/.config/pulse
â BenR
yesterday
The user owns the home directory, so
sudo
isn't required when running sudo rm -r ~/.config/pulse
â BenR
yesterday
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1038490%2fhow-do-you-set-a-default-audio-output-device-in-ubuntu-18-04%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password