Choose whether to output audio from speakers or headphones? The 2019 Stack Overflow Developer Survey Results Are InHow to switch between headphones and speakers without unplugging headphonesUbuntu refuses to output audio via HDMINo sound from USB speakers under Ubuntu (working fine under Windows)HDMI Audio output not working on Ubuntu 14.04Sound not working in Ubuntu 14.04LTSKubuntu switch to headphone when connectedNo sound after a Software Updater routine updateUbuntu 16.04 not detecting when headphones are pluggedAudio issues / driver name impact ? / snd-hda-intel or snd_hda_intelubuntu 14.04, Vostro 3559 Strange audio problemNo Audio in front or rear jack - HDMI Audio working - Ubuntu 18.04

How come people say “Would of”?

Is bread bad for ducks?

Does duplicating a spell with Wish count as casting that spell?

Is there a name of the flying bionic bird?

What do the Banks children have against barley water?

How can I create a character who can assume the widest possible range of creature sizes?

Why could you hear an Amstrad CPC working?

Is domain driven design an anti-SQL pattern?

How to answer pointed "are you quitting" questioning when I don't want them to suspect

How to change the limits of integration

Are USB sockets on wall outlets live all the time, even when the switch is off?

Dual Citizen. Exited the US on Italian passport recently

How to manage monthly salary

Deadlock Graph and Interpretation, solution to avoid

Does light intensity oscillate really fast since it is a wave?

I looked up a future colleague on LinkedIn before I started a job. I told my colleague about it and he seemed surprised. Should I apologize?

Springs with some finite mass

Does a dangling wire really electrocute me if I'm standing in water?

Why did Howard Stark use all the Vibranium they had on a prototype shield?

Why is Grand Jury testimony secret?

In microwave frequencies, do you use a circulator when you need a (near) perfect diode?

How to make payment on the internet without leaving a money trail?

Protecting Dualbooting Windows from dangerous code (like rm -rf)

Patience, young "Padovan"



Choose whether to output audio from speakers or headphones?



The 2019 Stack Overflow Developer Survey Results Are InHow to switch between headphones and speakers without unplugging headphonesUbuntu refuses to output audio via HDMINo sound from USB speakers under Ubuntu (working fine under Windows)HDMI Audio output not working on Ubuntu 14.04Sound not working in Ubuntu 14.04LTSKubuntu switch to headphone when connectedNo sound after a Software Updater routine updateUbuntu 16.04 not detecting when headphones are pluggedAudio issues / driver name impact ? / snd-hda-intel or snd_hda_intelubuntu 14.04, Vostro 3559 Strange audio problemNo Audio in front or rear jack - HDMI Audio working - Ubuntu 18.04



.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








3















I like to keep my headphones plugged in, then depending on the situation just switch the audio output as needed. I'm easily able to do this in Windows - my headphones and speakers show up as different devices, and I'm able to switch.



In Ubuntu (Kubuntu 18.04) I can't seem to get this to work. After some fiddling, I found that I can disable Automute in alsamixer, and that way I can have sound coming from both speakers and headphones, but I still can't find a way to choose between them. Pulse audio and the kde settings only show one device (Built-in Audio Analog Stereo).



Edit: I was thinking I could probably keep the headphones plugged in, and use a script to enable/disable automute depending on whether I want to listen to headphones/speakers. But this doesn't work because with automute disabled the speaker volume is way lower.



Edit: output of aplay -l as requested:



$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC1220 Analog [ALC1220 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 1: ALC1220 Digital [ALC1220 Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: GoMic [Samson GoMic], device 0: USB Audio [USB Audio]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 2: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 2: NVidia [HDA NVidia], device 7: HDMI 1 [HDMI 1]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 2: NVidia [HDA NVidia], device 8: HDMI 2 [HDMI 2]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 2: NVidia [HDA NVidia], device 9: HDMI 3 [HDMI 3]
Subdevices: 1/1
Subdevice #0: subdevice #0









share|improve this question
























  • apt-get install pavucontrol

    – cmak.fr
    May 25 '18 at 8:30












  • This doesn't help. The UI it shows is the same as pulse audio volume control.

    – hoodakaushal
    May 25 '18 at 17:25











  • not the same. with pavucontrol you can switch from an output to another

    – cmak.fr
    May 26 '18 at 8:31











  • Yes, it is the same. Both have an option to switch (they show the option of a port, which has headphones and line out as options), but whenever headphones are plugged in they show line out as plugged out. I tried setting the port as line out anyway, and the result was there was no sound from speakers or headphones.

    – hoodakaushal
    May 26 '18 at 16:10











  • @hoodakaushal you are correct - Pulseaudio Volume Control in main menu is same package as using 'pavucontrol' command in terminal

    – nik gnomic
    May 29 '18 at 17:03

















3















I like to keep my headphones plugged in, then depending on the situation just switch the audio output as needed. I'm easily able to do this in Windows - my headphones and speakers show up as different devices, and I'm able to switch.



In Ubuntu (Kubuntu 18.04) I can't seem to get this to work. After some fiddling, I found that I can disable Automute in alsamixer, and that way I can have sound coming from both speakers and headphones, but I still can't find a way to choose between them. Pulse audio and the kde settings only show one device (Built-in Audio Analog Stereo).



Edit: I was thinking I could probably keep the headphones plugged in, and use a script to enable/disable automute depending on whether I want to listen to headphones/speakers. But this doesn't work because with automute disabled the speaker volume is way lower.



Edit: output of aplay -l as requested:



$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC1220 Analog [ALC1220 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 1: ALC1220 Digital [ALC1220 Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: GoMic [Samson GoMic], device 0: USB Audio [USB Audio]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 2: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 2: NVidia [HDA NVidia], device 7: HDMI 1 [HDMI 1]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 2: NVidia [HDA NVidia], device 8: HDMI 2 [HDMI 2]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 2: NVidia [HDA NVidia], device 9: HDMI 3 [HDMI 3]
Subdevices: 1/1
Subdevice #0: subdevice #0









share|improve this question
























  • apt-get install pavucontrol

    – cmak.fr
    May 25 '18 at 8:30












  • This doesn't help. The UI it shows is the same as pulse audio volume control.

    – hoodakaushal
    May 25 '18 at 17:25











  • not the same. with pavucontrol you can switch from an output to another

    – cmak.fr
    May 26 '18 at 8:31











  • Yes, it is the same. Both have an option to switch (they show the option of a port, which has headphones and line out as options), but whenever headphones are plugged in they show line out as plugged out. I tried setting the port as line out anyway, and the result was there was no sound from speakers or headphones.

    – hoodakaushal
    May 26 '18 at 16:10











  • @hoodakaushal you are correct - Pulseaudio Volume Control in main menu is same package as using 'pavucontrol' command in terminal

    – nik gnomic
    May 29 '18 at 17:03













3












3








3








I like to keep my headphones plugged in, then depending on the situation just switch the audio output as needed. I'm easily able to do this in Windows - my headphones and speakers show up as different devices, and I'm able to switch.



In Ubuntu (Kubuntu 18.04) I can't seem to get this to work. After some fiddling, I found that I can disable Automute in alsamixer, and that way I can have sound coming from both speakers and headphones, but I still can't find a way to choose between them. Pulse audio and the kde settings only show one device (Built-in Audio Analog Stereo).



Edit: I was thinking I could probably keep the headphones plugged in, and use a script to enable/disable automute depending on whether I want to listen to headphones/speakers. But this doesn't work because with automute disabled the speaker volume is way lower.



Edit: output of aplay -l as requested:



$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC1220 Analog [ALC1220 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 1: ALC1220 Digital [ALC1220 Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: GoMic [Samson GoMic], device 0: USB Audio [USB Audio]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 2: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 2: NVidia [HDA NVidia], device 7: HDMI 1 [HDMI 1]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 2: NVidia [HDA NVidia], device 8: HDMI 2 [HDMI 2]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 2: NVidia [HDA NVidia], device 9: HDMI 3 [HDMI 3]
Subdevices: 1/1
Subdevice #0: subdevice #0









share|improve this question
















I like to keep my headphones plugged in, then depending on the situation just switch the audio output as needed. I'm easily able to do this in Windows - my headphones and speakers show up as different devices, and I'm able to switch.



In Ubuntu (Kubuntu 18.04) I can't seem to get this to work. After some fiddling, I found that I can disable Automute in alsamixer, and that way I can have sound coming from both speakers and headphones, but I still can't find a way to choose between them. Pulse audio and the kde settings only show one device (Built-in Audio Analog Stereo).



Edit: I was thinking I could probably keep the headphones plugged in, and use a script to enable/disable automute depending on whether I want to listen to headphones/speakers. But this doesn't work because with automute disabled the speaker volume is way lower.



Edit: output of aplay -l as requested:



$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC1220 Analog [ALC1220 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 1: ALC1220 Digital [ALC1220 Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: GoMic [Samson GoMic], device 0: USB Audio [USB Audio]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 2: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 2: NVidia [HDA NVidia], device 7: HDMI 1 [HDMI 1]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 2: NVidia [HDA NVidia], device 8: HDMI 2 [HDMI 2]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 2: NVidia [HDA NVidia], device 9: HDMI 3 [HDMI 3]
Subdevices: 1/1
Subdevice #0: subdevice #0






sound pulseaudio alsa headphones speakers






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Jun 3 '18 at 8:14







hoodakaushal

















asked May 25 '18 at 5:54









hoodakaushalhoodakaushal

2181216




2181216












  • apt-get install pavucontrol

    – cmak.fr
    May 25 '18 at 8:30












  • This doesn't help. The UI it shows is the same as pulse audio volume control.

    – hoodakaushal
    May 25 '18 at 17:25











  • not the same. with pavucontrol you can switch from an output to another

    – cmak.fr
    May 26 '18 at 8:31











  • Yes, it is the same. Both have an option to switch (they show the option of a port, which has headphones and line out as options), but whenever headphones are plugged in they show line out as plugged out. I tried setting the port as line out anyway, and the result was there was no sound from speakers or headphones.

    – hoodakaushal
    May 26 '18 at 16:10











  • @hoodakaushal you are correct - Pulseaudio Volume Control in main menu is same package as using 'pavucontrol' command in terminal

    – nik gnomic
    May 29 '18 at 17:03

















  • apt-get install pavucontrol

    – cmak.fr
    May 25 '18 at 8:30












  • This doesn't help. The UI it shows is the same as pulse audio volume control.

    – hoodakaushal
    May 25 '18 at 17:25











  • not the same. with pavucontrol you can switch from an output to another

    – cmak.fr
    May 26 '18 at 8:31











  • Yes, it is the same. Both have an option to switch (they show the option of a port, which has headphones and line out as options), but whenever headphones are plugged in they show line out as plugged out. I tried setting the port as line out anyway, and the result was there was no sound from speakers or headphones.

    – hoodakaushal
    May 26 '18 at 16:10











  • @hoodakaushal you are correct - Pulseaudio Volume Control in main menu is same package as using 'pavucontrol' command in terminal

    – nik gnomic
    May 29 '18 at 17:03
















apt-get install pavucontrol

– cmak.fr
May 25 '18 at 8:30






apt-get install pavucontrol

– cmak.fr
May 25 '18 at 8:30














This doesn't help. The UI it shows is the same as pulse audio volume control.

– hoodakaushal
May 25 '18 at 17:25





This doesn't help. The UI it shows is the same as pulse audio volume control.

– hoodakaushal
May 25 '18 at 17:25













not the same. with pavucontrol you can switch from an output to another

– cmak.fr
May 26 '18 at 8:31





not the same. with pavucontrol you can switch from an output to another

– cmak.fr
May 26 '18 at 8:31













Yes, it is the same. Both have an option to switch (they show the option of a port, which has headphones and line out as options), but whenever headphones are plugged in they show line out as plugged out. I tried setting the port as line out anyway, and the result was there was no sound from speakers or headphones.

– hoodakaushal
May 26 '18 at 16:10





Yes, it is the same. Both have an option to switch (they show the option of a port, which has headphones and line out as options), but whenever headphones are plugged in they show line out as plugged out. I tried setting the port as line out anyway, and the result was there was no sound from speakers or headphones.

– hoodakaushal
May 26 '18 at 16:10













@hoodakaushal you are correct - Pulseaudio Volume Control in main menu is same package as using 'pavucontrol' command in terminal

– nik gnomic
May 29 '18 at 17:03





@hoodakaushal you are correct - Pulseaudio Volume Control in main menu is same package as using 'pavucontrol' command in terminal

– nik gnomic
May 29 '18 at 17:03










2 Answers
2






active

oldest

votes


















0














To keep headphones plugged in, set auto-mute option in ALSA to off



preferable initial state is to have both speakers and headphones playing audio



Get exact names of ALSA control elements (Case sensitive) from alsamixer or use terminal command:



amixer -c 0



Create launcher buttons to toggle mute on or off on desktop,panel,dock etc



launcher command is



amixer -c 0 [name] toggle



replace [name] with correct name of ALSA element to mute/unmute






share|improve this answer























  • I've already mentioned why I don't want to do this - if I disable automute, speaker volume is way lower when headphones are connected.

    – hoodakaushal
    Jun 1 '18 at 14:08











  • before you mentioned "with automute the speaker volume is way lower" With automute enabled + jack always plugged in, speakers would always be muted. with those conditions, answer to main question is no, unless you use GoMic output as independent headphone channel

    – nik gnomic
    Jun 2 '18 at 2:52











  • Sorry, I meant with automute disabled.

    – hoodakaushal
    Jun 3 '18 at 8:14


















0














See @WinEunuuchs2Unix's excellent answer here.



Once I followed these instructions, my Line Out and Headphones (mine is actually a headset with mic) started appearing separately in the Ubuntu 16.04 'Sound' app whereas before there was only one or the other displayed. I can swap the output device using by clicking on it in the Sound app.



Ubuntu 16.04 'Sound' app



In brief, you need to edit Pulseaudio mixer's configuration files:




  • /usr/share/pulseaudio/alsa-mixer/paths/analog-output-lineout.conf


  • /usr/share/pulseaudio/alsa-mixer/paths/analog-output-headphones.conf





share|improve this answer























    Your Answer








    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "89"
    ;
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function()
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled)
    StackExchange.using("snippets", function()
    createEditor();
    );

    else
    createEditor();

    );

    function createEditor()
    StackExchange.prepareEditor(
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader:
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    ,
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    );



    );













    draft saved

    draft discarded


















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1040086%2fchoose-whether-to-output-audio-from-speakers-or-headphones%23new-answer', 'question_page');

    );

    Post as a guest















    Required, but never shown

























    2 Answers
    2






    active

    oldest

    votes








    2 Answers
    2






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0














    To keep headphones plugged in, set auto-mute option in ALSA to off



    preferable initial state is to have both speakers and headphones playing audio



    Get exact names of ALSA control elements (Case sensitive) from alsamixer or use terminal command:



    amixer -c 0



    Create launcher buttons to toggle mute on or off on desktop,panel,dock etc



    launcher command is



    amixer -c 0 [name] toggle



    replace [name] with correct name of ALSA element to mute/unmute






    share|improve this answer























    • I've already mentioned why I don't want to do this - if I disable automute, speaker volume is way lower when headphones are connected.

      – hoodakaushal
      Jun 1 '18 at 14:08











    • before you mentioned "with automute the speaker volume is way lower" With automute enabled + jack always plugged in, speakers would always be muted. with those conditions, answer to main question is no, unless you use GoMic output as independent headphone channel

      – nik gnomic
      Jun 2 '18 at 2:52











    • Sorry, I meant with automute disabled.

      – hoodakaushal
      Jun 3 '18 at 8:14















    0














    To keep headphones plugged in, set auto-mute option in ALSA to off



    preferable initial state is to have both speakers and headphones playing audio



    Get exact names of ALSA control elements (Case sensitive) from alsamixer or use terminal command:



    amixer -c 0



    Create launcher buttons to toggle mute on or off on desktop,panel,dock etc



    launcher command is



    amixer -c 0 [name] toggle



    replace [name] with correct name of ALSA element to mute/unmute






    share|improve this answer























    • I've already mentioned why I don't want to do this - if I disable automute, speaker volume is way lower when headphones are connected.

      – hoodakaushal
      Jun 1 '18 at 14:08











    • before you mentioned "with automute the speaker volume is way lower" With automute enabled + jack always plugged in, speakers would always be muted. with those conditions, answer to main question is no, unless you use GoMic output as independent headphone channel

      – nik gnomic
      Jun 2 '18 at 2:52











    • Sorry, I meant with automute disabled.

      – hoodakaushal
      Jun 3 '18 at 8:14













    0












    0








    0







    To keep headphones plugged in, set auto-mute option in ALSA to off



    preferable initial state is to have both speakers and headphones playing audio



    Get exact names of ALSA control elements (Case sensitive) from alsamixer or use terminal command:



    amixer -c 0



    Create launcher buttons to toggle mute on or off on desktop,panel,dock etc



    launcher command is



    amixer -c 0 [name] toggle



    replace [name] with correct name of ALSA element to mute/unmute






    share|improve this answer













    To keep headphones plugged in, set auto-mute option in ALSA to off



    preferable initial state is to have both speakers and headphones playing audio



    Get exact names of ALSA control elements (Case sensitive) from alsamixer or use terminal command:



    amixer -c 0



    Create launcher buttons to toggle mute on or off on desktop,panel,dock etc



    launcher command is



    amixer -c 0 [name] toggle



    replace [name] with correct name of ALSA element to mute/unmute







    share|improve this answer












    share|improve this answer



    share|improve this answer










    answered Jun 1 '18 at 0:01









    nik gnomicnik gnomic

    32629




    32629












    • I've already mentioned why I don't want to do this - if I disable automute, speaker volume is way lower when headphones are connected.

      – hoodakaushal
      Jun 1 '18 at 14:08











    • before you mentioned "with automute the speaker volume is way lower" With automute enabled + jack always plugged in, speakers would always be muted. with those conditions, answer to main question is no, unless you use GoMic output as independent headphone channel

      – nik gnomic
      Jun 2 '18 at 2:52











    • Sorry, I meant with automute disabled.

      – hoodakaushal
      Jun 3 '18 at 8:14

















    • I've already mentioned why I don't want to do this - if I disable automute, speaker volume is way lower when headphones are connected.

      – hoodakaushal
      Jun 1 '18 at 14:08











    • before you mentioned "with automute the speaker volume is way lower" With automute enabled + jack always plugged in, speakers would always be muted. with those conditions, answer to main question is no, unless you use GoMic output as independent headphone channel

      – nik gnomic
      Jun 2 '18 at 2:52











    • Sorry, I meant with automute disabled.

      – hoodakaushal
      Jun 3 '18 at 8:14
















    I've already mentioned why I don't want to do this - if I disable automute, speaker volume is way lower when headphones are connected.

    – hoodakaushal
    Jun 1 '18 at 14:08





    I've already mentioned why I don't want to do this - if I disable automute, speaker volume is way lower when headphones are connected.

    – hoodakaushal
    Jun 1 '18 at 14:08













    before you mentioned "with automute the speaker volume is way lower" With automute enabled + jack always plugged in, speakers would always be muted. with those conditions, answer to main question is no, unless you use GoMic output as independent headphone channel

    – nik gnomic
    Jun 2 '18 at 2:52





    before you mentioned "with automute the speaker volume is way lower" With automute enabled + jack always plugged in, speakers would always be muted. with those conditions, answer to main question is no, unless you use GoMic output as independent headphone channel

    – nik gnomic
    Jun 2 '18 at 2:52













    Sorry, I meant with automute disabled.

    – hoodakaushal
    Jun 3 '18 at 8:14





    Sorry, I meant with automute disabled.

    – hoodakaushal
    Jun 3 '18 at 8:14













    0














    See @WinEunuuchs2Unix's excellent answer here.



    Once I followed these instructions, my Line Out and Headphones (mine is actually a headset with mic) started appearing separately in the Ubuntu 16.04 'Sound' app whereas before there was only one or the other displayed. I can swap the output device using by clicking on it in the Sound app.



    Ubuntu 16.04 'Sound' app



    In brief, you need to edit Pulseaudio mixer's configuration files:




    • /usr/share/pulseaudio/alsa-mixer/paths/analog-output-lineout.conf


    • /usr/share/pulseaudio/alsa-mixer/paths/analog-output-headphones.conf





    share|improve this answer



























      0














      See @WinEunuuchs2Unix's excellent answer here.



      Once I followed these instructions, my Line Out and Headphones (mine is actually a headset with mic) started appearing separately in the Ubuntu 16.04 'Sound' app whereas before there was only one or the other displayed. I can swap the output device using by clicking on it in the Sound app.



      Ubuntu 16.04 'Sound' app



      In brief, you need to edit Pulseaudio mixer's configuration files:




      • /usr/share/pulseaudio/alsa-mixer/paths/analog-output-lineout.conf


      • /usr/share/pulseaudio/alsa-mixer/paths/analog-output-headphones.conf





      share|improve this answer

























        0












        0








        0







        See @WinEunuuchs2Unix's excellent answer here.



        Once I followed these instructions, my Line Out and Headphones (mine is actually a headset with mic) started appearing separately in the Ubuntu 16.04 'Sound' app whereas before there was only one or the other displayed. I can swap the output device using by clicking on it in the Sound app.



        Ubuntu 16.04 'Sound' app



        In brief, you need to edit Pulseaudio mixer's configuration files:




        • /usr/share/pulseaudio/alsa-mixer/paths/analog-output-lineout.conf


        • /usr/share/pulseaudio/alsa-mixer/paths/analog-output-headphones.conf





        share|improve this answer













        See @WinEunuuchs2Unix's excellent answer here.



        Once I followed these instructions, my Line Out and Headphones (mine is actually a headset with mic) started appearing separately in the Ubuntu 16.04 'Sound' app whereas before there was only one or the other displayed. I can swap the output device using by clicking on it in the Sound app.



        Ubuntu 16.04 'Sound' app



        In brief, you need to edit Pulseaudio mixer's configuration files:




        • /usr/share/pulseaudio/alsa-mixer/paths/analog-output-lineout.conf


        • /usr/share/pulseaudio/alsa-mixer/paths/analog-output-headphones.conf






        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered 36 mins ago









        JayDinJayDin

        138113




        138113



























            draft saved

            draft discarded
















































            Thanks for contributing an answer to Ask Ubuntu!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid


            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.

            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1040086%2fchoose-whether-to-output-audio-from-speakers-or-headphones%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            Möglingen Índice Localización Historia Demografía Referencias Enlaces externos Menú de navegación48°53′18″N 9°07′45″E / 48.888333333333, 9.129166666666748°53′18″N 9°07′45″E / 48.888333333333, 9.1291666666667Sitio web oficial Mapa de Möglingen«Gemeinden in Deutschland nach Fläche, Bevölkerung und Postleitzahl am 30.09.2016»Möglingen

            Virtualbox - Configuration error: Querying “UUID” failed (VERR_CFGM_VALUE_NOT_FOUND)“VERR_SUPLIB_WORLD_WRITABLE” error when trying to installing OS in virtualboxVirtual Box Kernel errorFailed to open a seesion for the virtual machineFailed to open a session for the virtual machineUbuntu 14.04 LTS Virtualbox errorcan't use VM VirtualBoxusing virtualboxI can't run Linux-64 Bit on VirtualBoxUnable to insert the virtual optical disk (VBoxguestaddition) in virtual machine for ubuntu server in win 10VirtuaBox in Ubuntu 18.04 Issues with Win10.ISO Installation

            Antonio De Lisio Carrera Referencias Menú de navegación«Caracas: evolución relacional multipleja»«Cuando los gobiernos subestiman a las localidades: L a Iniciativa para la Integración de la Infraestructura Regional Suramericana (IIRSA) en la frontera Colombo-Venezolana»«Maestría en Planificación Integral del Ambiente»«La Metrópoli Caraqueña: Expansión Simplificadora o Articulación Diversificante»«La Metrópoli Caraqueña: Expansión Simplificadora o Articulación Diversificante»«Conózcanos»«Caracas: evolución relacional multipleja»«La Metrópoli Caraqueña: Expansión Simplificadora o Articulación Diversificante»