I have connected speakers to the back panel of my computer at work and I would like to have them always enabled (I can switch them off on the speaker casing). However when I connect headphones on the front panel system automatically says that the rear output is unplugged.
I found a solution to disable auto detection with Alsamixer and it works almost ok except the fact that after system restart I need to reconfigure the settings again... How can I set this once and forget about it?
aplay -l
card 0: HDMI [HDA Intel HDMI]
,card 1: PCH [HDA Intel PCH]
andcard 2: NVidia [HDA NVidia]
but I need to adjust only volume ofPCH
in fact.alsamixer
works fine. The issue I am experiencing is that the system forgets my changes on reboot so I need adjust speaker volume every morning... Maybe not much time but still: would prefer to keep these settings on restart. :)~/.config/pulse/*device-volumes.tdb
You could backup that file in another directory after you have set your volume levels. Then restore that file at login. It probably wouldn't hurt to back up all the files in~/.config/pulse/
~/.config/pulse/
you will need to runkillall pulseaudio
for the changes to take affect. Pulseaudio will repawn.