Stop sound from speakers when connecting headphones












49















I guess this question already had the answer here but I can't find it. I'm using 12.04.



Update:



The problem is that I can hear the sound from my laptop's speakers even if I plugged in my headphones. Headphones is just standard stereo headphones. And the most interesting thing is that all was working just a week ago.



I tried to play with pulseaudio and alsamixer settings - no results.










share|improve this question

























  • What machine do you use? Netbook? Laptop? Desktop? Tell us the model and specification too, please.

    – Drie
    Jun 14 '12 at 16:52













  • Also, if what you mean is that you get sound from both headphones and speakers at once when headphones are plugged in, I recommend editing your post to clarify that this is what you are saying. Also please let us know about whatever you've tried so far (if anything) to fix this problem. Also, is this the question you were thinking of?

    – Eliah Kagan
    Jun 14 '12 at 16:53













  • Look to the 'Related' questions, located to the right on this page. Some of the answers may help.

    – loklaan
    Jun 14 '12 at 16:55











  • Did you install any sound or video editing tools? Similar problem happened to me. I think it was Audacity (it changed some sound port settings by default). Solution was to run that program and change some settings.

    – Ljiljan Veselinovic
    Jun 1 '15 at 5:55


















49















I guess this question already had the answer here but I can't find it. I'm using 12.04.



Update:



The problem is that I can hear the sound from my laptop's speakers even if I plugged in my headphones. Headphones is just standard stereo headphones. And the most interesting thing is that all was working just a week ago.



I tried to play with pulseaudio and alsamixer settings - no results.










share|improve this question

























  • What machine do you use? Netbook? Laptop? Desktop? Tell us the model and specification too, please.

    – Drie
    Jun 14 '12 at 16:52













  • Also, if what you mean is that you get sound from both headphones and speakers at once when headphones are plugged in, I recommend editing your post to clarify that this is what you are saying. Also please let us know about whatever you've tried so far (if anything) to fix this problem. Also, is this the question you were thinking of?

    – Eliah Kagan
    Jun 14 '12 at 16:53













  • Look to the 'Related' questions, located to the right on this page. Some of the answers may help.

    – loklaan
    Jun 14 '12 at 16:55











  • Did you install any sound or video editing tools? Similar problem happened to me. I think it was Audacity (it changed some sound port settings by default). Solution was to run that program and change some settings.

    – Ljiljan Veselinovic
    Jun 1 '15 at 5:55
















49












49








49


20






I guess this question already had the answer here but I can't find it. I'm using 12.04.



Update:



The problem is that I can hear the sound from my laptop's speakers even if I plugged in my headphones. Headphones is just standard stereo headphones. And the most interesting thing is that all was working just a week ago.



I tried to play with pulseaudio and alsamixer settings - no results.










share|improve this question
















I guess this question already had the answer here but I can't find it. I'm using 12.04.



Update:



The problem is that I can hear the sound from my laptop's speakers even if I plugged in my headphones. Headphones is just standard stereo headphones. And the most interesting thing is that all was working just a week ago.



I tried to play with pulseaudio and alsamixer settings - no results.







sound laptop pulseaudio headphones speakers






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited 3 hours ago









cipricus

10.2k47172342




10.2k47172342










asked Jun 14 '12 at 16:26









IlayIlay

440158




440158













  • What machine do you use? Netbook? Laptop? Desktop? Tell us the model and specification too, please.

    – Drie
    Jun 14 '12 at 16:52













  • Also, if what you mean is that you get sound from both headphones and speakers at once when headphones are plugged in, I recommend editing your post to clarify that this is what you are saying. Also please let us know about whatever you've tried so far (if anything) to fix this problem. Also, is this the question you were thinking of?

    – Eliah Kagan
    Jun 14 '12 at 16:53













  • Look to the 'Related' questions, located to the right on this page. Some of the answers may help.

    – loklaan
    Jun 14 '12 at 16:55











  • Did you install any sound or video editing tools? Similar problem happened to me. I think it was Audacity (it changed some sound port settings by default). Solution was to run that program and change some settings.

    – Ljiljan Veselinovic
    Jun 1 '15 at 5:55





















  • What machine do you use? Netbook? Laptop? Desktop? Tell us the model and specification too, please.

    – Drie
    Jun 14 '12 at 16:52













  • Also, if what you mean is that you get sound from both headphones and speakers at once when headphones are plugged in, I recommend editing your post to clarify that this is what you are saying. Also please let us know about whatever you've tried so far (if anything) to fix this problem. Also, is this the question you were thinking of?

    – Eliah Kagan
    Jun 14 '12 at 16:53













  • Look to the 'Related' questions, located to the right on this page. Some of the answers may help.

    – loklaan
    Jun 14 '12 at 16:55











  • Did you install any sound or video editing tools? Similar problem happened to me. I think it was Audacity (it changed some sound port settings by default). Solution was to run that program and change some settings.

    – Ljiljan Veselinovic
    Jun 1 '15 at 5:55



















What machine do you use? Netbook? Laptop? Desktop? Tell us the model and specification too, please.

– Drie
Jun 14 '12 at 16:52







What machine do you use? Netbook? Laptop? Desktop? Tell us the model and specification too, please.

– Drie
Jun 14 '12 at 16:52















Also, if what you mean is that you get sound from both headphones and speakers at once when headphones are plugged in, I recommend editing your post to clarify that this is what you are saying. Also please let us know about whatever you've tried so far (if anything) to fix this problem. Also, is this the question you were thinking of?

– Eliah Kagan
Jun 14 '12 at 16:53







Also, if what you mean is that you get sound from both headphones and speakers at once when headphones are plugged in, I recommend editing your post to clarify that this is what you are saying. Also please let us know about whatever you've tried so far (if anything) to fix this problem. Also, is this the question you were thinking of?

– Eliah Kagan
Jun 14 '12 at 16:53















Look to the 'Related' questions, located to the right on this page. Some of the answers may help.

– loklaan
Jun 14 '12 at 16:55





Look to the 'Related' questions, located to the right on this page. Some of the answers may help.

– loklaan
Jun 14 '12 at 16:55













Did you install any sound or video editing tools? Similar problem happened to me. I think it was Audacity (it changed some sound port settings by default). Solution was to run that program and change some settings.

– Ljiljan Veselinovic
Jun 1 '15 at 5:55







Did you install any sound or video editing tools? Similar problem happened to me. I think it was Audacity (it changed some sound port settings by default). Solution was to run that program and change some settings.

– Ljiljan Veselinovic
Jun 1 '15 at 5:55












16 Answers
16






active

oldest

votes


















23














Original Solution




  1. Go to Realtek official site, accept the disclaimer, then download the audio driver for linux/unix. You need to select version 3 for Kernel 3 or later.



  2. Setup necessary tools to compile this driver.



    sudo apt-get install build-essential gcc make



  3. Extract the downloaded file, run sudo ./install file from a terminal after going to the extracted folder to compile the driver.


  4. Read the Readme.txt file for more information.



  5. Install gnome-alsamixer by this command.



    sudo apt-get install gnome-alsamixer


  6. Open the gnome-alsamixer by typing alsamixer in the dash.


  7. Select the "Auto mute mode" in the new window.



Reboot and see whether it fixed now. (Step 6 and 7 might not necessary). Automute will automatically enabled upon restart





Solution 2:



I have just found another solution:



(It worked for me with Only S/PDIF profile, Sound from both headphone and speaker and not being able to switch profile)





  1. Add this ppa by the command



     sudo apt-add-repository ppa:ubuntu-audio-dev/alsa-daily



  2. Update packages list. by



    sudo apt-get update



  3. Then install "alsa-hda-dkms" package:



     sudo apt-get install alsa-hda-dkms



Reboot, And See the result!






share|improve this answer


























  • I had exactly this problem. but it now fixed. you can install gnome-alsa-mixer to gain more control over your sound. Note that after compilation the sound will be muted.

    – Anwar
    Jun 14 '12 at 20:09











  • apt-get install alsa-hda-dkms has worked for me, thank you very much.

    – Dmytro Sirenko
    Oct 13 '12 at 22:09






  • 1





    Hey! I tried to install alsa-hda-dkms. First two steps worked but when ever I execute third step sudo apt-get install alsa-hda-dkms it gives this error: E: Unable to locate package alsa-hda-dkms. Is this package removed from the repository? Reply!!

    – Saurav Kumar
    Sep 3 '13 at 19:48











  • @SauravKumar Are you using 12.04? It seems the package has now been removed, Anyway, the problem also got solved in the later updates of 12.04, So, you may want to update your Ubuntu

    – Anwar
    Sep 4 '13 at 13:21













  • Just enabling auto mute in alsamixer worked for me. Thanks. (Ubuntu 14.04)

    – rodrigo-silveira
    Aug 17 '15 at 13:17



















33














Follow these steps to automatically mute your speakers when plugging in headphones:




  1. Open Terminal (Ctrl+Alt+T)

  2. Type: alsamixer and press Enter/Return

  3. Select the correct sound device by pressing F6

  4. Navigate to the right with (Right Arrow key) until you highlight Auto-Mute

  5. Press (Up Arrow key) and select Enabled (or Line Out)

  6. Press Esc to exit






share|improve this answer


























  • Great, this worked perfectly without the need to add repos and/or packages, or edit a config file!

    – stragu
    Jun 1 '15 at 5:30








  • 6





    For those that were lost like me, there's a step missing. After #2, press F6 to select your audio device. Then you'll see the option mentioned in #3.

    – Nick Zinger
    Oct 6 '15 at 13:20






  • 1





    People have been telling me I have a problem with my audio driver. You just saved me from a bunch of troubleshooting.

    – Marcel
    Nov 4 '16 at 15:04











  • after struggling for months, you saved me ;-)

    – senseiwu
    May 17 '17 at 21:53






  • 3





    I actually wanted to play audio on both speakers and headphones at the same time. I "Disable"d it and it works perfectly!

    – emisilva
    Jun 12 '17 at 16:48



















6














I also had this problem on my HP laptop. I found a post and take one of the advice, which suggests adding two lines to the bottom of the file /etc/modprobe.d/alsa-base.conf:



options snd-hda-intel model=laptop
options snd-hda-intel position_fix=1 enable=yes


save it and reboot. It works for me!






share|improve this answer

































    4














    Had this issue on XUbuntu 12.04, reviewed this page, installed the gnome-alsamixer package, ran gnome-alsamixer, checked the "Headphone Jack Sense" option in the gnome-alsamixer GUI screen that came up, verified the problem is resolved. Thanks!






    share|improve this answer

































      2














      The command sudo apt-get install gnome-alsa-mixer did the trick for me on my Compaq nw8000.



      I could enable the Headphone Jack Sense option and now it switches the audio to the headphone when I plug-in my head phones.






      share|improve this answer





















      • 1





        The package is gnome-alsamixer as of 14.04

        – Attila Fulop
        Oct 27 '15 at 6:44



















      2














      I had the same problem on 13.04 with an Asus X201E, and tried the gnome-alsamixer solution but it failed as the gnome-alsamixer crashed with "No idea what to do for mixer element "Auto-Mute Mode"!". So I opened the command line alsamixer and navigated to the Auto-Mute Mode using the arrows (only Auto-Mut is visible in the terminal window) and set it from Disabled to Enabled. Now connecting the headphones mutes the internal speakers.






      share|improve this answer































        2














        What worked for me was to run alsamixer and enable the auto-mute option. I did this while the headphones were connected and everything started working perfectly.






        share|improve this answer































          1














          after upgrading from 15.04 -> 15.10 and now on 16.10 (where problem started)



          the only resolution that worked for me was to do a full reinstall



          dpkg -l | grep 'alsa-'
          apt-get install --reinstall alsa-base alsa-utils





          share|improve this answer
























          • reinstallation of alsa did not work for me.

            – a coder
            Feb 26 '18 at 20:42





















          1














          This one worked for me perfectly.





          1. Edit /etc/modprobe.d/alsa-base.conf as super-user with you favourite text editor, e. g.:



            sudo gedit /etc/modprobe.d/alsa-base.conf



          2. At the end of the file paste the following:



            alias snd-card-0 snd-hda-intel
            options snd-hda-intel model=dell-m4-1 enable_msi=1


          3. Save and Reboot.



          If this does not work, change in the second line the part about model=dell-m4-1 to model=hp-m4.






          share|improve this answer

































            0














            Try plugging in your headphones properly. This happened to me once and then after fixing that pin of the headphones correctly it worked properly.






            share|improve this answer
























            • thanks for answer, but this is not the same problem.

              – Ilay
              Jun 14 '12 at 16:46



















            0














            I had the same exact problem with a fresh install of Xubuntu. I tried a buch of things including typing alsamixer in terminal. The option was not there for me to turn on the Headphone Jack Sense. I installed gnome-alsamixer and found the Headphone Jack Sense option, checked it and alas no audio from the pc speakers while headphones are plugged in. This worked for me.






            share|improve this answer































              0














              Running alsamixer in terminal worked for me, set it to Auto Mute and you should find your machine will play sound through one or the other rather than both






              share|improve this answer

































                0














                in alsamixer, try using arrow key Up, then turn everything up to 100% and you will see the right bar turns up. After that turn down arrow key to % you like. Now it should be down together and your right speaker will work on both sides.






                share|improve this answer

































                  0














                  On an Asus X551MA I was having this problem as soon as I replaced Windows with Ubuntu 14.04. Even if I muted the speakers in aslamixer, they would come back on unexpectedly.



                  When I got to step three in this troubleshooting procedure, that seems to have fixed everything. It's a long complicated command which installed various packages, so I'm not sure which part(s) were really necessary:



                  sudo apt-get update;sudo apt-get dist-upgrade; sudo apt-get install pavucontrol linux-sound-base alsa-base alsa-utils lightdm ubuntu-desktop linux-image-`uname -r` libasound2; sudo apt-get -y --reinstall install linux- sound-base alsa-base alsa-utils lightdm ubuntu-desktop linux-image-`uname -r` libasound2; killall pulseaudio; rm -r ~/.pulse*; ubuntu-support-status; sudo usermod -aG `cat /etc/group | grep -e '^pulse:' -e '^audio:' -e '^pulse- access:' -e '^pulse-rt:' -e '^video:' | awk -F: '{print $1}' | tr 'n' ',' | sed 's:,$::g'` `whoami`





                  share|improve this answer































                    0














                    Simply just go to the alsamixer (alsamixer in terminal) and use the right/left arrow keys to navigate to the speakers setting and click M. This will disable the speakers but not the headphones.






                    share|improve this answer































                      0














                      This worked for me (Ubuntu 14.04 LTS running on Compaq NC6120 laptop):





                      1. Ctrl+Alt+T (to open terminal)

                      2. Type alsamixer

                      3. Press until you get to the "Headphone Jack Sense" option

                      4. Press m to enable (automatically mute the speakers when headphone is plugged in)






                      share|improve this answer
























                        protected by Anwar Nov 29 '16 at 13:28



                        Thank you for your interest in this question.
                        Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).



                        Would you like to answer one of these unanswered questions instead?














                        16 Answers
                        16






                        active

                        oldest

                        votes








                        16 Answers
                        16






                        active

                        oldest

                        votes









                        active

                        oldest

                        votes






                        active

                        oldest

                        votes









                        23














                        Original Solution




                        1. Go to Realtek official site, accept the disclaimer, then download the audio driver for linux/unix. You need to select version 3 for Kernel 3 or later.



                        2. Setup necessary tools to compile this driver.



                          sudo apt-get install build-essential gcc make



                        3. Extract the downloaded file, run sudo ./install file from a terminal after going to the extracted folder to compile the driver.


                        4. Read the Readme.txt file for more information.



                        5. Install gnome-alsamixer by this command.



                          sudo apt-get install gnome-alsamixer


                        6. Open the gnome-alsamixer by typing alsamixer in the dash.


                        7. Select the "Auto mute mode" in the new window.



                        Reboot and see whether it fixed now. (Step 6 and 7 might not necessary). Automute will automatically enabled upon restart





                        Solution 2:



                        I have just found another solution:



                        (It worked for me with Only S/PDIF profile, Sound from both headphone and speaker and not being able to switch profile)





                        1. Add this ppa by the command



                           sudo apt-add-repository ppa:ubuntu-audio-dev/alsa-daily



                        2. Update packages list. by



                          sudo apt-get update



                        3. Then install "alsa-hda-dkms" package:



                           sudo apt-get install alsa-hda-dkms



                        Reboot, And See the result!






                        share|improve this answer


























                        • I had exactly this problem. but it now fixed. you can install gnome-alsa-mixer to gain more control over your sound. Note that after compilation the sound will be muted.

                          – Anwar
                          Jun 14 '12 at 20:09











                        • apt-get install alsa-hda-dkms has worked for me, thank you very much.

                          – Dmytro Sirenko
                          Oct 13 '12 at 22:09






                        • 1





                          Hey! I tried to install alsa-hda-dkms. First two steps worked but when ever I execute third step sudo apt-get install alsa-hda-dkms it gives this error: E: Unable to locate package alsa-hda-dkms. Is this package removed from the repository? Reply!!

                          – Saurav Kumar
                          Sep 3 '13 at 19:48











                        • @SauravKumar Are you using 12.04? It seems the package has now been removed, Anyway, the problem also got solved in the later updates of 12.04, So, you may want to update your Ubuntu

                          – Anwar
                          Sep 4 '13 at 13:21













                        • Just enabling auto mute in alsamixer worked for me. Thanks. (Ubuntu 14.04)

                          – rodrigo-silveira
                          Aug 17 '15 at 13:17
















                        23














                        Original Solution




                        1. Go to Realtek official site, accept the disclaimer, then download the audio driver for linux/unix. You need to select version 3 for Kernel 3 or later.



                        2. Setup necessary tools to compile this driver.



                          sudo apt-get install build-essential gcc make



                        3. Extract the downloaded file, run sudo ./install file from a terminal after going to the extracted folder to compile the driver.


                        4. Read the Readme.txt file for more information.



                        5. Install gnome-alsamixer by this command.



                          sudo apt-get install gnome-alsamixer


                        6. Open the gnome-alsamixer by typing alsamixer in the dash.


                        7. Select the "Auto mute mode" in the new window.



                        Reboot and see whether it fixed now. (Step 6 and 7 might not necessary). Automute will automatically enabled upon restart





                        Solution 2:



                        I have just found another solution:



                        (It worked for me with Only S/PDIF profile, Sound from both headphone and speaker and not being able to switch profile)





                        1. Add this ppa by the command



                           sudo apt-add-repository ppa:ubuntu-audio-dev/alsa-daily



                        2. Update packages list. by



                          sudo apt-get update



                        3. Then install "alsa-hda-dkms" package:



                           sudo apt-get install alsa-hda-dkms



                        Reboot, And See the result!






                        share|improve this answer


























                        • I had exactly this problem. but it now fixed. you can install gnome-alsa-mixer to gain more control over your sound. Note that after compilation the sound will be muted.

                          – Anwar
                          Jun 14 '12 at 20:09











                        • apt-get install alsa-hda-dkms has worked for me, thank you very much.

                          – Dmytro Sirenko
                          Oct 13 '12 at 22:09






                        • 1





                          Hey! I tried to install alsa-hda-dkms. First two steps worked but when ever I execute third step sudo apt-get install alsa-hda-dkms it gives this error: E: Unable to locate package alsa-hda-dkms. Is this package removed from the repository? Reply!!

                          – Saurav Kumar
                          Sep 3 '13 at 19:48











                        • @SauravKumar Are you using 12.04? It seems the package has now been removed, Anyway, the problem also got solved in the later updates of 12.04, So, you may want to update your Ubuntu

                          – Anwar
                          Sep 4 '13 at 13:21













                        • Just enabling auto mute in alsamixer worked for me. Thanks. (Ubuntu 14.04)

                          – rodrigo-silveira
                          Aug 17 '15 at 13:17














                        23












                        23








                        23







                        Original Solution




                        1. Go to Realtek official site, accept the disclaimer, then download the audio driver for linux/unix. You need to select version 3 for Kernel 3 or later.



                        2. Setup necessary tools to compile this driver.



                          sudo apt-get install build-essential gcc make



                        3. Extract the downloaded file, run sudo ./install file from a terminal after going to the extracted folder to compile the driver.


                        4. Read the Readme.txt file for more information.



                        5. Install gnome-alsamixer by this command.



                          sudo apt-get install gnome-alsamixer


                        6. Open the gnome-alsamixer by typing alsamixer in the dash.


                        7. Select the "Auto mute mode" in the new window.



                        Reboot and see whether it fixed now. (Step 6 and 7 might not necessary). Automute will automatically enabled upon restart





                        Solution 2:



                        I have just found another solution:



                        (It worked for me with Only S/PDIF profile, Sound from both headphone and speaker and not being able to switch profile)





                        1. Add this ppa by the command



                           sudo apt-add-repository ppa:ubuntu-audio-dev/alsa-daily



                        2. Update packages list. by



                          sudo apt-get update



                        3. Then install "alsa-hda-dkms" package:



                           sudo apt-get install alsa-hda-dkms



                        Reboot, And See the result!






                        share|improve this answer















                        Original Solution




                        1. Go to Realtek official site, accept the disclaimer, then download the audio driver for linux/unix. You need to select version 3 for Kernel 3 or later.



                        2. Setup necessary tools to compile this driver.



                          sudo apt-get install build-essential gcc make



                        3. Extract the downloaded file, run sudo ./install file from a terminal after going to the extracted folder to compile the driver.


                        4. Read the Readme.txt file for more information.



                        5. Install gnome-alsamixer by this command.



                          sudo apt-get install gnome-alsamixer


                        6. Open the gnome-alsamixer by typing alsamixer in the dash.


                        7. Select the "Auto mute mode" in the new window.



                        Reboot and see whether it fixed now. (Step 6 and 7 might not necessary). Automute will automatically enabled upon restart





                        Solution 2:



                        I have just found another solution:



                        (It worked for me with Only S/PDIF profile, Sound from both headphone and speaker and not being able to switch profile)





                        1. Add this ppa by the command



                           sudo apt-add-repository ppa:ubuntu-audio-dev/alsa-daily



                        2. Update packages list. by



                          sudo apt-get update



                        3. Then install "alsa-hda-dkms" package:



                           sudo apt-get install alsa-hda-dkms



                        Reboot, And See the result!







                        share|improve this answer














                        share|improve this answer



                        share|improve this answer








                        edited Jul 3 '13 at 9:22









                        Braiam

                        51.6k20136220




                        51.6k20136220










                        answered Jun 14 '12 at 20:07









                        AnwarAnwar

                        56.1k22145253




                        56.1k22145253













                        • I had exactly this problem. but it now fixed. you can install gnome-alsa-mixer to gain more control over your sound. Note that after compilation the sound will be muted.

                          – Anwar
                          Jun 14 '12 at 20:09











                        • apt-get install alsa-hda-dkms has worked for me, thank you very much.

                          – Dmytro Sirenko
                          Oct 13 '12 at 22:09






                        • 1





                          Hey! I tried to install alsa-hda-dkms. First two steps worked but when ever I execute third step sudo apt-get install alsa-hda-dkms it gives this error: E: Unable to locate package alsa-hda-dkms. Is this package removed from the repository? Reply!!

                          – Saurav Kumar
                          Sep 3 '13 at 19:48











                        • @SauravKumar Are you using 12.04? It seems the package has now been removed, Anyway, the problem also got solved in the later updates of 12.04, So, you may want to update your Ubuntu

                          – Anwar
                          Sep 4 '13 at 13:21













                        • Just enabling auto mute in alsamixer worked for me. Thanks. (Ubuntu 14.04)

                          – rodrigo-silveira
                          Aug 17 '15 at 13:17



















                        • I had exactly this problem. but it now fixed. you can install gnome-alsa-mixer to gain more control over your sound. Note that after compilation the sound will be muted.

                          – Anwar
                          Jun 14 '12 at 20:09











                        • apt-get install alsa-hda-dkms has worked for me, thank you very much.

                          – Dmytro Sirenko
                          Oct 13 '12 at 22:09






                        • 1





                          Hey! I tried to install alsa-hda-dkms. First two steps worked but when ever I execute third step sudo apt-get install alsa-hda-dkms it gives this error: E: Unable to locate package alsa-hda-dkms. Is this package removed from the repository? Reply!!

                          – Saurav Kumar
                          Sep 3 '13 at 19:48











                        • @SauravKumar Are you using 12.04? It seems the package has now been removed, Anyway, the problem also got solved in the later updates of 12.04, So, you may want to update your Ubuntu

                          – Anwar
                          Sep 4 '13 at 13:21













                        • Just enabling auto mute in alsamixer worked for me. Thanks. (Ubuntu 14.04)

                          – rodrigo-silveira
                          Aug 17 '15 at 13:17

















                        I had exactly this problem. but it now fixed. you can install gnome-alsa-mixer to gain more control over your sound. Note that after compilation the sound will be muted.

                        – Anwar
                        Jun 14 '12 at 20:09





                        I had exactly this problem. but it now fixed. you can install gnome-alsa-mixer to gain more control over your sound. Note that after compilation the sound will be muted.

                        – Anwar
                        Jun 14 '12 at 20:09













                        apt-get install alsa-hda-dkms has worked for me, thank you very much.

                        – Dmytro Sirenko
                        Oct 13 '12 at 22:09





                        apt-get install alsa-hda-dkms has worked for me, thank you very much.

                        – Dmytro Sirenko
                        Oct 13 '12 at 22:09




                        1




                        1





                        Hey! I tried to install alsa-hda-dkms. First two steps worked but when ever I execute third step sudo apt-get install alsa-hda-dkms it gives this error: E: Unable to locate package alsa-hda-dkms. Is this package removed from the repository? Reply!!

                        – Saurav Kumar
                        Sep 3 '13 at 19:48





                        Hey! I tried to install alsa-hda-dkms. First two steps worked but when ever I execute third step sudo apt-get install alsa-hda-dkms it gives this error: E: Unable to locate package alsa-hda-dkms. Is this package removed from the repository? Reply!!

                        – Saurav Kumar
                        Sep 3 '13 at 19:48













                        @SauravKumar Are you using 12.04? It seems the package has now been removed, Anyway, the problem also got solved in the later updates of 12.04, So, you may want to update your Ubuntu

                        – Anwar
                        Sep 4 '13 at 13:21







                        @SauravKumar Are you using 12.04? It seems the package has now been removed, Anyway, the problem also got solved in the later updates of 12.04, So, you may want to update your Ubuntu

                        – Anwar
                        Sep 4 '13 at 13:21















                        Just enabling auto mute in alsamixer worked for me. Thanks. (Ubuntu 14.04)

                        – rodrigo-silveira
                        Aug 17 '15 at 13:17





                        Just enabling auto mute in alsamixer worked for me. Thanks. (Ubuntu 14.04)

                        – rodrigo-silveira
                        Aug 17 '15 at 13:17













                        33














                        Follow these steps to automatically mute your speakers when plugging in headphones:




                        1. Open Terminal (Ctrl+Alt+T)

                        2. Type: alsamixer and press Enter/Return

                        3. Select the correct sound device by pressing F6

                        4. Navigate to the right with (Right Arrow key) until you highlight Auto-Mute

                        5. Press (Up Arrow key) and select Enabled (or Line Out)

                        6. Press Esc to exit






                        share|improve this answer


























                        • Great, this worked perfectly without the need to add repos and/or packages, or edit a config file!

                          – stragu
                          Jun 1 '15 at 5:30








                        • 6





                          For those that were lost like me, there's a step missing. After #2, press F6 to select your audio device. Then you'll see the option mentioned in #3.

                          – Nick Zinger
                          Oct 6 '15 at 13:20






                        • 1





                          People have been telling me I have a problem with my audio driver. You just saved me from a bunch of troubleshooting.

                          – Marcel
                          Nov 4 '16 at 15:04











                        • after struggling for months, you saved me ;-)

                          – senseiwu
                          May 17 '17 at 21:53






                        • 3





                          I actually wanted to play audio on both speakers and headphones at the same time. I "Disable"d it and it works perfectly!

                          – emisilva
                          Jun 12 '17 at 16:48
















                        33














                        Follow these steps to automatically mute your speakers when plugging in headphones:




                        1. Open Terminal (Ctrl+Alt+T)

                        2. Type: alsamixer and press Enter/Return

                        3. Select the correct sound device by pressing F6

                        4. Navigate to the right with (Right Arrow key) until you highlight Auto-Mute

                        5. Press (Up Arrow key) and select Enabled (or Line Out)

                        6. Press Esc to exit






                        share|improve this answer


























                        • Great, this worked perfectly without the need to add repos and/or packages, or edit a config file!

                          – stragu
                          Jun 1 '15 at 5:30








                        • 6





                          For those that were lost like me, there's a step missing. After #2, press F6 to select your audio device. Then you'll see the option mentioned in #3.

                          – Nick Zinger
                          Oct 6 '15 at 13:20






                        • 1





                          People have been telling me I have a problem with my audio driver. You just saved me from a bunch of troubleshooting.

                          – Marcel
                          Nov 4 '16 at 15:04











                        • after struggling for months, you saved me ;-)

                          – senseiwu
                          May 17 '17 at 21:53






                        • 3





                          I actually wanted to play audio on both speakers and headphones at the same time. I "Disable"d it and it works perfectly!

                          – emisilva
                          Jun 12 '17 at 16:48














                        33












                        33








                        33







                        Follow these steps to automatically mute your speakers when plugging in headphones:




                        1. Open Terminal (Ctrl+Alt+T)

                        2. Type: alsamixer and press Enter/Return

                        3. Select the correct sound device by pressing F6

                        4. Navigate to the right with (Right Arrow key) until you highlight Auto-Mute

                        5. Press (Up Arrow key) and select Enabled (or Line Out)

                        6. Press Esc to exit






                        share|improve this answer















                        Follow these steps to automatically mute your speakers when plugging in headphones:




                        1. Open Terminal (Ctrl+Alt+T)

                        2. Type: alsamixer and press Enter/Return

                        3. Select the correct sound device by pressing F6

                        4. Navigate to the right with (Right Arrow key) until you highlight Auto-Mute

                        5. Press (Up Arrow key) and select Enabled (or Line Out)

                        6. Press Esc to exit







                        share|improve this answer














                        share|improve this answer



                        share|improve this answer








                        edited Aug 7 '18 at 6:14









                        kleinfreund

                        273316




                        273316










                        answered Feb 11 '14 at 15:18









                        user247077user247077

                        43142




                        43142













                        • Great, this worked perfectly without the need to add repos and/or packages, or edit a config file!

                          – stragu
                          Jun 1 '15 at 5:30








                        • 6





                          For those that were lost like me, there's a step missing. After #2, press F6 to select your audio device. Then you'll see the option mentioned in #3.

                          – Nick Zinger
                          Oct 6 '15 at 13:20






                        • 1





                          People have been telling me I have a problem with my audio driver. You just saved me from a bunch of troubleshooting.

                          – Marcel
                          Nov 4 '16 at 15:04











                        • after struggling for months, you saved me ;-)

                          – senseiwu
                          May 17 '17 at 21:53






                        • 3





                          I actually wanted to play audio on both speakers and headphones at the same time. I "Disable"d it and it works perfectly!

                          – emisilva
                          Jun 12 '17 at 16:48



















                        • Great, this worked perfectly without the need to add repos and/or packages, or edit a config file!

                          – stragu
                          Jun 1 '15 at 5:30








                        • 6





                          For those that were lost like me, there's a step missing. After #2, press F6 to select your audio device. Then you'll see the option mentioned in #3.

                          – Nick Zinger
                          Oct 6 '15 at 13:20






                        • 1





                          People have been telling me I have a problem with my audio driver. You just saved me from a bunch of troubleshooting.

                          – Marcel
                          Nov 4 '16 at 15:04











                        • after struggling for months, you saved me ;-)

                          – senseiwu
                          May 17 '17 at 21:53






                        • 3





                          I actually wanted to play audio on both speakers and headphones at the same time. I "Disable"d it and it works perfectly!

                          – emisilva
                          Jun 12 '17 at 16:48

















                        Great, this worked perfectly without the need to add repos and/or packages, or edit a config file!

                        – stragu
                        Jun 1 '15 at 5:30







                        Great, this worked perfectly without the need to add repos and/or packages, or edit a config file!

                        – stragu
                        Jun 1 '15 at 5:30






                        6




                        6





                        For those that were lost like me, there's a step missing. After #2, press F6 to select your audio device. Then you'll see the option mentioned in #3.

                        – Nick Zinger
                        Oct 6 '15 at 13:20





                        For those that were lost like me, there's a step missing. After #2, press F6 to select your audio device. Then you'll see the option mentioned in #3.

                        – Nick Zinger
                        Oct 6 '15 at 13:20




                        1




                        1





                        People have been telling me I have a problem with my audio driver. You just saved me from a bunch of troubleshooting.

                        – Marcel
                        Nov 4 '16 at 15:04





                        People have been telling me I have a problem with my audio driver. You just saved me from a bunch of troubleshooting.

                        – Marcel
                        Nov 4 '16 at 15:04













                        after struggling for months, you saved me ;-)

                        – senseiwu
                        May 17 '17 at 21:53





                        after struggling for months, you saved me ;-)

                        – senseiwu
                        May 17 '17 at 21:53




                        3




                        3





                        I actually wanted to play audio on both speakers and headphones at the same time. I "Disable"d it and it works perfectly!

                        – emisilva
                        Jun 12 '17 at 16:48





                        I actually wanted to play audio on both speakers and headphones at the same time. I "Disable"d it and it works perfectly!

                        – emisilva
                        Jun 12 '17 at 16:48











                        6














                        I also had this problem on my HP laptop. I found a post and take one of the advice, which suggests adding two lines to the bottom of the file /etc/modprobe.d/alsa-base.conf:



                        options snd-hda-intel model=laptop
                        options snd-hda-intel position_fix=1 enable=yes


                        save it and reboot. It works for me!






                        share|improve this answer






























                          6














                          I also had this problem on my HP laptop. I found a post and take one of the advice, which suggests adding two lines to the bottom of the file /etc/modprobe.d/alsa-base.conf:



                          options snd-hda-intel model=laptop
                          options snd-hda-intel position_fix=1 enable=yes


                          save it and reboot. It works for me!






                          share|improve this answer




























                            6












                            6








                            6







                            I also had this problem on my HP laptop. I found a post and take one of the advice, which suggests adding two lines to the bottom of the file /etc/modprobe.d/alsa-base.conf:



                            options snd-hda-intel model=laptop
                            options snd-hda-intel position_fix=1 enable=yes


                            save it and reboot. It works for me!






                            share|improve this answer















                            I also had this problem on my HP laptop. I found a post and take one of the advice, which suggests adding two lines to the bottom of the file /etc/modprobe.d/alsa-base.conf:



                            options snd-hda-intel model=laptop
                            options snd-hda-intel position_fix=1 enable=yes


                            save it and reboot. It works for me!







                            share|improve this answer














                            share|improve this answer



                            share|improve this answer








                            edited May 9 '17 at 17:58









                            David Foerster

                            27.9k1364110




                            27.9k1364110










                            answered Jan 7 '13 at 7:55









                            hiqhanhiqhan

                            6914




                            6914























                                4














                                Had this issue on XUbuntu 12.04, reviewed this page, installed the gnome-alsamixer package, ran gnome-alsamixer, checked the "Headphone Jack Sense" option in the gnome-alsamixer GUI screen that came up, verified the problem is resolved. Thanks!






                                share|improve this answer






























                                  4














                                  Had this issue on XUbuntu 12.04, reviewed this page, installed the gnome-alsamixer package, ran gnome-alsamixer, checked the "Headphone Jack Sense" option in the gnome-alsamixer GUI screen that came up, verified the problem is resolved. Thanks!






                                  share|improve this answer




























                                    4












                                    4








                                    4







                                    Had this issue on XUbuntu 12.04, reviewed this page, installed the gnome-alsamixer package, ran gnome-alsamixer, checked the "Headphone Jack Sense" option in the gnome-alsamixer GUI screen that came up, verified the problem is resolved. Thanks!






                                    share|improve this answer















                                    Had this issue on XUbuntu 12.04, reviewed this page, installed the gnome-alsamixer package, ran gnome-alsamixer, checked the "Headphone Jack Sense" option in the gnome-alsamixer GUI screen that came up, verified the problem is resolved. Thanks!







                                    share|improve this answer














                                    share|improve this answer



                                    share|improve this answer








                                    edited Oct 3 '12 at 15:27







                                    user61928

















                                    answered Sep 28 '12 at 18:27









                                    BobBob

                                    411




                                    411























                                        2














                                        The command sudo apt-get install gnome-alsa-mixer did the trick for me on my Compaq nw8000.



                                        I could enable the Headphone Jack Sense option and now it switches the audio to the headphone when I plug-in my head phones.






                                        share|improve this answer





















                                        • 1





                                          The package is gnome-alsamixer as of 14.04

                                          – Attila Fulop
                                          Oct 27 '15 at 6:44
















                                        2














                                        The command sudo apt-get install gnome-alsa-mixer did the trick for me on my Compaq nw8000.



                                        I could enable the Headphone Jack Sense option and now it switches the audio to the headphone when I plug-in my head phones.






                                        share|improve this answer





















                                        • 1





                                          The package is gnome-alsamixer as of 14.04

                                          – Attila Fulop
                                          Oct 27 '15 at 6:44














                                        2












                                        2








                                        2







                                        The command sudo apt-get install gnome-alsa-mixer did the trick for me on my Compaq nw8000.



                                        I could enable the Headphone Jack Sense option and now it switches the audio to the headphone when I plug-in my head phones.






                                        share|improve this answer















                                        The command sudo apt-get install gnome-alsa-mixer did the trick for me on my Compaq nw8000.



                                        I could enable the Headphone Jack Sense option and now it switches the audio to the headphone when I plug-in my head phones.







                                        share|improve this answer














                                        share|improve this answer



                                        share|improve this answer








                                        edited Dec 10 '12 at 2:16









                                        Lucio

                                        12.5k2185159




                                        12.5k2185159










                                        answered Dec 10 '12 at 0:56









                                        crazygodacrazygoda

                                        211




                                        211








                                        • 1





                                          The package is gnome-alsamixer as of 14.04

                                          – Attila Fulop
                                          Oct 27 '15 at 6:44














                                        • 1





                                          The package is gnome-alsamixer as of 14.04

                                          – Attila Fulop
                                          Oct 27 '15 at 6:44








                                        1




                                        1





                                        The package is gnome-alsamixer as of 14.04

                                        – Attila Fulop
                                        Oct 27 '15 at 6:44





                                        The package is gnome-alsamixer as of 14.04

                                        – Attila Fulop
                                        Oct 27 '15 at 6:44











                                        2














                                        I had the same problem on 13.04 with an Asus X201E, and tried the gnome-alsamixer solution but it failed as the gnome-alsamixer crashed with "No idea what to do for mixer element "Auto-Mute Mode"!". So I opened the command line alsamixer and navigated to the Auto-Mute Mode using the arrows (only Auto-Mut is visible in the terminal window) and set it from Disabled to Enabled. Now connecting the headphones mutes the internal speakers.






                                        share|improve this answer




























                                          2














                                          I had the same problem on 13.04 with an Asus X201E, and tried the gnome-alsamixer solution but it failed as the gnome-alsamixer crashed with "No idea what to do for mixer element "Auto-Mute Mode"!". So I opened the command line alsamixer and navigated to the Auto-Mute Mode using the arrows (only Auto-Mut is visible in the terminal window) and set it from Disabled to Enabled. Now connecting the headphones mutes the internal speakers.






                                          share|improve this answer


























                                            2












                                            2








                                            2







                                            I had the same problem on 13.04 with an Asus X201E, and tried the gnome-alsamixer solution but it failed as the gnome-alsamixer crashed with "No idea what to do for mixer element "Auto-Mute Mode"!". So I opened the command line alsamixer and navigated to the Auto-Mute Mode using the arrows (only Auto-Mut is visible in the terminal window) and set it from Disabled to Enabled. Now connecting the headphones mutes the internal speakers.






                                            share|improve this answer













                                            I had the same problem on 13.04 with an Asus X201E, and tried the gnome-alsamixer solution but it failed as the gnome-alsamixer crashed with "No idea what to do for mixer element "Auto-Mute Mode"!". So I opened the command line alsamixer and navigated to the Auto-Mute Mode using the arrows (only Auto-Mut is visible in the terminal window) and set it from Disabled to Enabled. Now connecting the headphones mutes the internal speakers.







                                            share|improve this answer












                                            share|improve this answer



                                            share|improve this answer










                                            answered Aug 27 '13 at 9:18









                                            asterxasterx

                                            211




                                            211























                                                2














                                                What worked for me was to run alsamixer and enable the auto-mute option. I did this while the headphones were connected and everything started working perfectly.






                                                share|improve this answer




























                                                  2














                                                  What worked for me was to run alsamixer and enable the auto-mute option. I did this while the headphones were connected and everything started working perfectly.






                                                  share|improve this answer


























                                                    2












                                                    2








                                                    2







                                                    What worked for me was to run alsamixer and enable the auto-mute option. I did this while the headphones were connected and everything started working perfectly.






                                                    share|improve this answer













                                                    What worked for me was to run alsamixer and enable the auto-mute option. I did this while the headphones were connected and everything started working perfectly.







                                                    share|improve this answer












                                                    share|improve this answer



                                                    share|improve this answer










                                                    answered Oct 4 '13 at 20:09









                                                    VishalVishal

                                                    15613




                                                    15613























                                                        1














                                                        after upgrading from 15.04 -> 15.10 and now on 16.10 (where problem started)



                                                        the only resolution that worked for me was to do a full reinstall



                                                        dpkg -l | grep 'alsa-'
                                                        apt-get install --reinstall alsa-base alsa-utils





                                                        share|improve this answer
























                                                        • reinstallation of alsa did not work for me.

                                                          – a coder
                                                          Feb 26 '18 at 20:42


















                                                        1














                                                        after upgrading from 15.04 -> 15.10 and now on 16.10 (where problem started)



                                                        the only resolution that worked for me was to do a full reinstall



                                                        dpkg -l | grep 'alsa-'
                                                        apt-get install --reinstall alsa-base alsa-utils





                                                        share|improve this answer
























                                                        • reinstallation of alsa did not work for me.

                                                          – a coder
                                                          Feb 26 '18 at 20:42
















                                                        1












                                                        1








                                                        1







                                                        after upgrading from 15.04 -> 15.10 and now on 16.10 (where problem started)



                                                        the only resolution that worked for me was to do a full reinstall



                                                        dpkg -l | grep 'alsa-'
                                                        apt-get install --reinstall alsa-base alsa-utils





                                                        share|improve this answer













                                                        after upgrading from 15.04 -> 15.10 and now on 16.10 (where problem started)



                                                        the only resolution that worked for me was to do a full reinstall



                                                        dpkg -l | grep 'alsa-'
                                                        apt-get install --reinstall alsa-base alsa-utils






                                                        share|improve this answer












                                                        share|improve this answer



                                                        share|improve this answer










                                                        answered Oct 19 '16 at 19:56









                                                        user3258557user3258557

                                                        111




                                                        111













                                                        • reinstallation of alsa did not work for me.

                                                          – a coder
                                                          Feb 26 '18 at 20:42





















                                                        • reinstallation of alsa did not work for me.

                                                          – a coder
                                                          Feb 26 '18 at 20:42



















                                                        reinstallation of alsa did not work for me.

                                                        – a coder
                                                        Feb 26 '18 at 20:42







                                                        reinstallation of alsa did not work for me.

                                                        – a coder
                                                        Feb 26 '18 at 20:42













                                                        1














                                                        This one worked for me perfectly.





                                                        1. Edit /etc/modprobe.d/alsa-base.conf as super-user with you favourite text editor, e. g.:



                                                          sudo gedit /etc/modprobe.d/alsa-base.conf



                                                        2. At the end of the file paste the following:



                                                          alias snd-card-0 snd-hda-intel
                                                          options snd-hda-intel model=dell-m4-1 enable_msi=1


                                                        3. Save and Reboot.



                                                        If this does not work, change in the second line the part about model=dell-m4-1 to model=hp-m4.






                                                        share|improve this answer






























                                                          1














                                                          This one worked for me perfectly.





                                                          1. Edit /etc/modprobe.d/alsa-base.conf as super-user with you favourite text editor, e. g.:



                                                            sudo gedit /etc/modprobe.d/alsa-base.conf



                                                          2. At the end of the file paste the following:



                                                            alias snd-card-0 snd-hda-intel
                                                            options snd-hda-intel model=dell-m4-1 enable_msi=1


                                                          3. Save and Reboot.



                                                          If this does not work, change in the second line the part about model=dell-m4-1 to model=hp-m4.






                                                          share|improve this answer




























                                                            1












                                                            1








                                                            1







                                                            This one worked for me perfectly.





                                                            1. Edit /etc/modprobe.d/alsa-base.conf as super-user with you favourite text editor, e. g.:



                                                              sudo gedit /etc/modprobe.d/alsa-base.conf



                                                            2. At the end of the file paste the following:



                                                              alias snd-card-0 snd-hda-intel
                                                              options snd-hda-intel model=dell-m4-1 enable_msi=1


                                                            3. Save and Reboot.



                                                            If this does not work, change in the second line the part about model=dell-m4-1 to model=hp-m4.






                                                            share|improve this answer















                                                            This one worked for me perfectly.





                                                            1. Edit /etc/modprobe.d/alsa-base.conf as super-user with you favourite text editor, e. g.:



                                                              sudo gedit /etc/modprobe.d/alsa-base.conf



                                                            2. At the end of the file paste the following:



                                                              alias snd-card-0 snd-hda-intel
                                                              options snd-hda-intel model=dell-m4-1 enable_msi=1


                                                            3. Save and Reboot.



                                                            If this does not work, change in the second line the part about model=dell-m4-1 to model=hp-m4.







                                                            share|improve this answer














                                                            share|improve this answer



                                                            share|improve this answer








                                                            edited May 9 '17 at 18:00









                                                            David Foerster

                                                            27.9k1364110




                                                            27.9k1364110










                                                            answered Jul 7 '13 at 15:03









                                                            Ahmed RiadAhmed Riad

                                                            3114




                                                            3114























                                                                0














                                                                Try plugging in your headphones properly. This happened to me once and then after fixing that pin of the headphones correctly it worked properly.






                                                                share|improve this answer
























                                                                • thanks for answer, but this is not the same problem.

                                                                  – Ilay
                                                                  Jun 14 '12 at 16:46
















                                                                0














                                                                Try plugging in your headphones properly. This happened to me once and then after fixing that pin of the headphones correctly it worked properly.






                                                                share|improve this answer
























                                                                • thanks for answer, but this is not the same problem.

                                                                  – Ilay
                                                                  Jun 14 '12 at 16:46














                                                                0












                                                                0








                                                                0







                                                                Try plugging in your headphones properly. This happened to me once and then after fixing that pin of the headphones correctly it worked properly.






                                                                share|improve this answer













                                                                Try plugging in your headphones properly. This happened to me once and then after fixing that pin of the headphones correctly it worked properly.







                                                                share|improve this answer












                                                                share|improve this answer



                                                                share|improve this answer










                                                                answered Jun 14 '12 at 16:41









                                                                Pranit BauvaPranit Bauva

                                                                7811922




                                                                7811922













                                                                • thanks for answer, but this is not the same problem.

                                                                  – Ilay
                                                                  Jun 14 '12 at 16:46



















                                                                • thanks for answer, but this is not the same problem.

                                                                  – Ilay
                                                                  Jun 14 '12 at 16:46

















                                                                thanks for answer, but this is not the same problem.

                                                                – Ilay
                                                                Jun 14 '12 at 16:46





                                                                thanks for answer, but this is not the same problem.

                                                                – Ilay
                                                                Jun 14 '12 at 16:46











                                                                0














                                                                I had the same exact problem with a fresh install of Xubuntu. I tried a buch of things including typing alsamixer in terminal. The option was not there for me to turn on the Headphone Jack Sense. I installed gnome-alsamixer and found the Headphone Jack Sense option, checked it and alas no audio from the pc speakers while headphones are plugged in. This worked for me.






                                                                share|improve this answer




























                                                                  0














                                                                  I had the same exact problem with a fresh install of Xubuntu. I tried a buch of things including typing alsamixer in terminal. The option was not there for me to turn on the Headphone Jack Sense. I installed gnome-alsamixer and found the Headphone Jack Sense option, checked it and alas no audio from the pc speakers while headphones are plugged in. This worked for me.






                                                                  share|improve this answer


























                                                                    0












                                                                    0








                                                                    0







                                                                    I had the same exact problem with a fresh install of Xubuntu. I tried a buch of things including typing alsamixer in terminal. The option was not there for me to turn on the Headphone Jack Sense. I installed gnome-alsamixer and found the Headphone Jack Sense option, checked it and alas no audio from the pc speakers while headphones are plugged in. This worked for me.






                                                                    share|improve this answer













                                                                    I had the same exact problem with a fresh install of Xubuntu. I tried a buch of things including typing alsamixer in terminal. The option was not there for me to turn on the Headphone Jack Sense. I installed gnome-alsamixer and found the Headphone Jack Sense option, checked it and alas no audio from the pc speakers while headphones are plugged in. This worked for me.







                                                                    share|improve this answer












                                                                    share|improve this answer



                                                                    share|improve this answer










                                                                    answered Jun 28 '14 at 6:03









                                                                    JasonJason

                                                                    1




                                                                    1























                                                                        0














                                                                        Running alsamixer in terminal worked for me, set it to Auto Mute and you should find your machine will play sound through one or the other rather than both






                                                                        share|improve this answer






























                                                                          0














                                                                          Running alsamixer in terminal worked for me, set it to Auto Mute and you should find your machine will play sound through one or the other rather than both






                                                                          share|improve this answer




























                                                                            0












                                                                            0








                                                                            0







                                                                            Running alsamixer in terminal worked for me, set it to Auto Mute and you should find your machine will play sound through one or the other rather than both






                                                                            share|improve this answer















                                                                            Running alsamixer in terminal worked for me, set it to Auto Mute and you should find your machine will play sound through one or the other rather than both







                                                                            share|improve this answer














                                                                            share|improve this answer



                                                                            share|improve this answer








                                                                            edited Dec 2 '14 at 1:48









                                                                            David Foerster

                                                                            27.9k1364110




                                                                            27.9k1364110










                                                                            answered Dec 1 '14 at 13:09









                                                                            Gordon QuinnGordon Quinn

                                                                            11




                                                                            11























                                                                                0














                                                                                in alsamixer, try using arrow key Up, then turn everything up to 100% and you will see the right bar turns up. After that turn down arrow key to % you like. Now it should be down together and your right speaker will work on both sides.






                                                                                share|improve this answer






























                                                                                  0














                                                                                  in alsamixer, try using arrow key Up, then turn everything up to 100% and you will see the right bar turns up. After that turn down arrow key to % you like. Now it should be down together and your right speaker will work on both sides.






                                                                                  share|improve this answer




























                                                                                    0












                                                                                    0








                                                                                    0







                                                                                    in alsamixer, try using arrow key Up, then turn everything up to 100% and you will see the right bar turns up. After that turn down arrow key to % you like. Now it should be down together and your right speaker will work on both sides.






                                                                                    share|improve this answer















                                                                                    in alsamixer, try using arrow key Up, then turn everything up to 100% and you will see the right bar turns up. After that turn down arrow key to % you like. Now it should be down together and your right speaker will work on both sides.







                                                                                    share|improve this answer














                                                                                    share|improve this answer



                                                                                    share|improve this answer








                                                                                    edited Jan 10 '15 at 23:51









                                                                                    Jens Erat

                                                                                    4,12972031




                                                                                    4,12972031










                                                                                    answered Jan 10 '15 at 23:08









                                                                                    Lazy LeeLazy Lee

                                                                                    1




                                                                                    1























                                                                                        0














                                                                                        On an Asus X551MA I was having this problem as soon as I replaced Windows with Ubuntu 14.04. Even if I muted the speakers in aslamixer, they would come back on unexpectedly.



                                                                                        When I got to step three in this troubleshooting procedure, that seems to have fixed everything. It's a long complicated command which installed various packages, so I'm not sure which part(s) were really necessary:



                                                                                        sudo apt-get update;sudo apt-get dist-upgrade; sudo apt-get install pavucontrol linux-sound-base alsa-base alsa-utils lightdm ubuntu-desktop linux-image-`uname -r` libasound2; sudo apt-get -y --reinstall install linux- sound-base alsa-base alsa-utils lightdm ubuntu-desktop linux-image-`uname -r` libasound2; killall pulseaudio; rm -r ~/.pulse*; ubuntu-support-status; sudo usermod -aG `cat /etc/group | grep -e '^pulse:' -e '^audio:' -e '^pulse- access:' -e '^pulse-rt:' -e '^video:' | awk -F: '{print $1}' | tr 'n' ',' | sed 's:,$::g'` `whoami`





                                                                                        share|improve this answer




























                                                                                          0














                                                                                          On an Asus X551MA I was having this problem as soon as I replaced Windows with Ubuntu 14.04. Even if I muted the speakers in aslamixer, they would come back on unexpectedly.



                                                                                          When I got to step three in this troubleshooting procedure, that seems to have fixed everything. It's a long complicated command which installed various packages, so I'm not sure which part(s) were really necessary:



                                                                                          sudo apt-get update;sudo apt-get dist-upgrade; sudo apt-get install pavucontrol linux-sound-base alsa-base alsa-utils lightdm ubuntu-desktop linux-image-`uname -r` libasound2; sudo apt-get -y --reinstall install linux- sound-base alsa-base alsa-utils lightdm ubuntu-desktop linux-image-`uname -r` libasound2; killall pulseaudio; rm -r ~/.pulse*; ubuntu-support-status; sudo usermod -aG `cat /etc/group | grep -e '^pulse:' -e '^audio:' -e '^pulse- access:' -e '^pulse-rt:' -e '^video:' | awk -F: '{print $1}' | tr 'n' ',' | sed 's:,$::g'` `whoami`





                                                                                          share|improve this answer


























                                                                                            0












                                                                                            0








                                                                                            0







                                                                                            On an Asus X551MA I was having this problem as soon as I replaced Windows with Ubuntu 14.04. Even if I muted the speakers in aslamixer, they would come back on unexpectedly.



                                                                                            When I got to step three in this troubleshooting procedure, that seems to have fixed everything. It's a long complicated command which installed various packages, so I'm not sure which part(s) were really necessary:



                                                                                            sudo apt-get update;sudo apt-get dist-upgrade; sudo apt-get install pavucontrol linux-sound-base alsa-base alsa-utils lightdm ubuntu-desktop linux-image-`uname -r` libasound2; sudo apt-get -y --reinstall install linux- sound-base alsa-base alsa-utils lightdm ubuntu-desktop linux-image-`uname -r` libasound2; killall pulseaudio; rm -r ~/.pulse*; ubuntu-support-status; sudo usermod -aG `cat /etc/group | grep -e '^pulse:' -e '^audio:' -e '^pulse- access:' -e '^pulse-rt:' -e '^video:' | awk -F: '{print $1}' | tr 'n' ',' | sed 's:,$::g'` `whoami`





                                                                                            share|improve this answer













                                                                                            On an Asus X551MA I was having this problem as soon as I replaced Windows with Ubuntu 14.04. Even if I muted the speakers in aslamixer, they would come back on unexpectedly.



                                                                                            When I got to step three in this troubleshooting procedure, that seems to have fixed everything. It's a long complicated command which installed various packages, so I'm not sure which part(s) were really necessary:



                                                                                            sudo apt-get update;sudo apt-get dist-upgrade; sudo apt-get install pavucontrol linux-sound-base alsa-base alsa-utils lightdm ubuntu-desktop linux-image-`uname -r` libasound2; sudo apt-get -y --reinstall install linux- sound-base alsa-base alsa-utils lightdm ubuntu-desktop linux-image-`uname -r` libasound2; killall pulseaudio; rm -r ~/.pulse*; ubuntu-support-status; sudo usermod -aG `cat /etc/group | grep -e '^pulse:' -e '^audio:' -e '^pulse- access:' -e '^pulse-rt:' -e '^video:' | awk -F: '{print $1}' | tr 'n' ',' | sed 's:,$::g'` `whoami`






                                                                                            share|improve this answer












                                                                                            share|improve this answer



                                                                                            share|improve this answer










                                                                                            answered Jan 12 '16 at 19:48









                                                                                            Brian ZBrian Z

                                                                                            561213




                                                                                            561213























                                                                                                0














                                                                                                Simply just go to the alsamixer (alsamixer in terminal) and use the right/left arrow keys to navigate to the speakers setting and click M. This will disable the speakers but not the headphones.






                                                                                                share|improve this answer




























                                                                                                  0














                                                                                                  Simply just go to the alsamixer (alsamixer in terminal) and use the right/left arrow keys to navigate to the speakers setting and click M. This will disable the speakers but not the headphones.






                                                                                                  share|improve this answer


























                                                                                                    0












                                                                                                    0








                                                                                                    0







                                                                                                    Simply just go to the alsamixer (alsamixer in terminal) and use the right/left arrow keys to navigate to the speakers setting and click M. This will disable the speakers but not the headphones.






                                                                                                    share|improve this answer













                                                                                                    Simply just go to the alsamixer (alsamixer in terminal) and use the right/left arrow keys to navigate to the speakers setting and click M. This will disable the speakers but not the headphones.







                                                                                                    share|improve this answer












                                                                                                    share|improve this answer



                                                                                                    share|improve this answer










                                                                                                    answered Sep 10 '16 at 0:37









                                                                                                    RhysRhys

                                                                                                    1




                                                                                                    1























                                                                                                        0














                                                                                                        This worked for me (Ubuntu 14.04 LTS running on Compaq NC6120 laptop):





                                                                                                        1. Ctrl+Alt+T (to open terminal)

                                                                                                        2. Type alsamixer

                                                                                                        3. Press until you get to the "Headphone Jack Sense" option

                                                                                                        4. Press m to enable (automatically mute the speakers when headphone is plugged in)






                                                                                                        share|improve this answer






























                                                                                                          0














                                                                                                          This worked for me (Ubuntu 14.04 LTS running on Compaq NC6120 laptop):





                                                                                                          1. Ctrl+Alt+T (to open terminal)

                                                                                                          2. Type alsamixer

                                                                                                          3. Press until you get to the "Headphone Jack Sense" option

                                                                                                          4. Press m to enable (automatically mute the speakers when headphone is plugged in)






                                                                                                          share|improve this answer




























                                                                                                            0












                                                                                                            0








                                                                                                            0







                                                                                                            This worked for me (Ubuntu 14.04 LTS running on Compaq NC6120 laptop):





                                                                                                            1. Ctrl+Alt+T (to open terminal)

                                                                                                            2. Type alsamixer

                                                                                                            3. Press until you get to the "Headphone Jack Sense" option

                                                                                                            4. Press m to enable (automatically mute the speakers when headphone is plugged in)






                                                                                                            share|improve this answer















                                                                                                            This worked for me (Ubuntu 14.04 LTS running on Compaq NC6120 laptop):





                                                                                                            1. Ctrl+Alt+T (to open terminal)

                                                                                                            2. Type alsamixer

                                                                                                            3. Press until you get to the "Headphone Jack Sense" option

                                                                                                            4. Press m to enable (automatically mute the speakers when headphone is plugged in)







                                                                                                            share|improve this answer














                                                                                                            share|improve this answer



                                                                                                            share|improve this answer








                                                                                                            edited Oct 9 '16 at 4:40









                                                                                                            Owen Hines

                                                                                                            2,40511034




                                                                                                            2,40511034










                                                                                                            answered Oct 9 '16 at 2:26









                                                                                                            XqRGXqRG

                                                                                                            12




                                                                                                            12

















                                                                                                                protected by Anwar Nov 29 '16 at 13:28



                                                                                                                Thank you for your interest in this question.
                                                                                                                Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).



                                                                                                                Would you like to answer one of these unanswered questions instead?



                                                                                                                Popular posts from this blog

                                                                                                                GameSpot

                                                                                                                connect to host localhost port 22: Connection refused

                                                                                                                Getting a Wifi WPA2 wifi connection