linux mint cinnamon 20 no sound until plugging headphone

Questions about hardware,drivers and peripherals
Forum rules
Before you post please read how to get help
Post Reply
majed17
Level 2
Level 2
Posts: 52
Joined: Tue Jul 30, 2019 2:44 am

linux mint cinnamon 20 no sound until plugging headphone

Post by majed17 »

Peace, sound only works if plugging a head phone and also if you unplug it or simply play some audio until sound bursts through latter... i installed an ugreen external sound card and that alleviates the problem.. and it is causing me shame with wifey that she is booting vaccindows instead...
knock and it shall be opened, ask and you shall receive, believe in order for it to happen, cry and you shall be comforted!
User avatar
MrEen
Level 22
Level 22
Posts: 16528
Joined: Mon Jun 12, 2017 8:39 pm

Re: linux mint cinnamon 20 no sound until plugging headphone

Post by MrEen »

Hi majed17,

Some users needs to run alsamixer in the terminal and increase the volume of the Headphones to get sound from the speakers. When you unplug the headphones, they end up muted with no volume and this sounds like you are in the same situation.

If that works for you, I can give you an edit to make to automate this so you don't have to do it manually each time.
majed17
Level 2
Level 2
Posts: 52
Joined: Tue Jul 30, 2019 2:44 am

Re: linux mint cinnamon 20 no sound until plugging headphone

Post by majed17 »

yes, on startup, the headphones bar in the command are at zero, i increase them and music plays, so this is the mentioned case!
time to donate..
thanks..
knock and it shall be opened, ask and you shall receive, believe in order for it to happen, cry and you shall be comforted!
User avatar
MrEen
Level 22
Level 22
Posts: 16528
Joined: Mon Jun 12, 2017 8:39 pm

Re: linux mint cinnamon 20 no sound until plugging headphone

Post by MrEen »

Okay, to automate this so you don't have to fiddle with it every time you reboot do this:

In the terminal run this:

Code: Select all

xed admin:///usr/share/pulseaudio/alsa-mixer/paths/analog-output-speaker.conf
When the file opens, find this section:

Code: Select all

[Element Headphone]
switch = off
volume = off
Change it to this:

Code: Select all

[Element Headphone]
switch = off
volume = merge
Save and close the file, ignore the warnings in the terminal, then reboot to test that it worked.

Be aware that future updates might overwrite your changes. So keep this page bookmarked, or add the instructions to any notes you keep about config changes.
majed17
Level 2
Level 2
Posts: 52
Joined: Tue Jul 30, 2019 2:44 am

Re: linux mint cinnamon 20 no sound until plugging headphone

Post by majed17 »

thanks man it worked!
knock and it shall be opened, ask and you shall receive, believe in order for it to happen, cry and you shall be comforted!
User avatar
MrEen
Level 22
Level 22
Posts: 16528
Joined: Mon Jun 12, 2017 8:39 pm

Re: linux mint cinnamon 20 no sound until plugging headphone

Post by MrEen »

You're welcome. :D
majed17
Level 2
Level 2
Posts: 52
Joined: Tue Jul 30, 2019 2:44 am

Re: linux mint cinnamon 20 no sound until plugging headphone

Post by majed17 »

except now, both the headphone and the speaker disappear after waking up from hibernation..only the usb speaker remains of the mentioned..
knock and it shall be opened, ask and you shall receive, believe in order for it to happen, cry and you shall be comforted!
User avatar
MrEen
Level 22
Level 22
Posts: 16528
Joined: Mon Jun 12, 2017 8:39 pm

Re: linux mint cinnamon 20 no sound until plugging headphone

Post by MrEen »

Try running pulseaudio -k in the terminal when that happens.

You may need to also restart sound playing applications after that.
Post Reply

Return to “Hardware Support”