Hi everybody,
I have headphones (2.1) and speakers (SPDIF) both permanently connected to my PC. I set up this mint system 3 days ago and everything worked out of the box. But yesterday I wanted to install a tool to easily switch between those two devices and thus I installed the "indicator-sound-switcher" package. The program didn't work though (it just wouldn't start when I clicked on it) so I uninstalled it a few minutes later.
And ever since that, all of a sudden, I get the following stupid behavior:
When I switch from speaker device to headphone device in the sound settings, the output profile ALWAYS defaults to "analog stereo output" which results in a non working headset. When I change the profile to "Analog surround 2.1" the headphone works again, but when I change devices back to my speakers and then back to my headset the output profile is again defaulted back to the non working "analog stero output" profile.
What can I do? The indicator-sound-switcher thing seems to have destroyed my sound settings.
I wanted to use timeshift to use old config files for my sound settings but I couldn't find where they are located.
Thanks in advance.
SOLUTION:
1. Find out <cardname>. Type:
Code: Select all
pacmd list-cards | grep 'name: <'
2. Find out <profilename>. Type:
Code: Select all
pacmd list-cards | grep 'active profile'
3. Add
Code: Select all
set-card-profile <cardname> <profilename>
4. Type
Code: Select all
pulseaudio -k
Code: Select all
pulseaudio --start
To switch between sound outputs (headphones and speakers in my case) using keyboard shortcuts I've just used the Cinnamon Keyboard -> Shortcuts application with these commands:
Code: Select all
pacmd set-card-profile alsa_card.pci-0000_00_1b.0 output:analog-surround-40+input:analog-stereo
Code: Select all
pacmd set-card-profile alsa_card.pci-0000_00_1b.0 output:iec958-stereo+input:analog-stereo