3

Headphones always on mute after startup PC or killing pulseaudio by pulseaudio -k

It can be unmuted in alsamixer or in terminal amixer set "Headphone" unmute, but do this after each startup is annoying. I created a script and added it to "Startup Applications", but it doesn't work.

#!/bin/bash
amixer set "Headphone" unmute

Also tried this and this guides, same result. Headphones connected to Front Panel by 3.5 jack.

6

To tell pulseaudio that headphones are always plugged in, edit the /usr/share/pulseaudio/alsa-mixer/paths/analog-output-lineout.conf file.

Try to find the following lines in the file:

[Jack Headphone]
state.plugged = no
state.unplugged = unknown

And, if they exist, change state.plugged = no to state.plugged = yes.

Next, try find the following lines:

[Jack Front Headphone]
state.plugged = no
state.unplugged = unknown

Similarly, change state.plugged = no to state.plugged = yes if the lines exist.

Next, find these lines (if they exist):

[Element Headphone]
switch = off
volume = off

Change switch = off to switch = on here.

Also try to find these lines:

[Element Headphone2]
switch = off
volume = off

If they exist, change switch = off to switch = on.

Save the file and, finally, restart pulseaudio:

$ pulseaudio -k
$ pulseaudio --start
  • Thanks! In my case, i only had to change this [Element Headphone] switch = off volume = off – UnitedSalvatore Feb 5 '18 at 23:23
1

Sorry, I don't have enough reputation to comment Zé Bento's post.

What worked for me was changing both Jack Headphone's and Jack Front Headphone's state.plugged to unknown.

I don't know the meaning of that, but that was the default value for all other input types in my files.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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